In several biomedical domains, it would be interesting to monitor subjects over night time using wearable motion sensors and trigger an alarm if a specific movement has been detected by processing the accelerometer readings. In this paper, the authors describe an innovative architecture for such an alarm system in the context of epilepsy monitoring. The main ingredients of the proposed system are wireless motion sensors, a radio-frequency transceiver linked to an Ethernet gateway and an acquisition server that incorporates real-time detection method. This motion analysis system is further integrated in the dataflow of an existing medicalized alarm system and an event is sent to healthcare professionals every time a seizure is detected by the expert system. The EPIMOUV system has been evaluated, during a 6-month period, in a specialized institution with epilepsy pharmaco-resistant residents.