主权项 |
1. Home automation device comprising:
at least one movement detector (20) for detecting movement of a wing (30, 31) rotatable about an axis relative to a frame (39) fixed in a terrestrial reference system, said movement detector comprising:
a housing (22) adapted to be securable to the wing,an accelerometer (24) fixed to the housing and adapted to provide signals, named acceleration signals, representative of the acceleration of the housing (22) along at least one fixed direction of the housing (22) relative to the frame (39),a magnetometer (25) fixed to the housing and adapted to provide signals, named orientation signals, representative of the instantaneous orientation of at least one fixed direction of the housing (22) relative to an Earth's local magnetic field, a processing unit (21) for processing the signals provided by the accelerometer (24) and by the magnetometer (25),wherein:
the processing unit (21) comprises at least one memory (23) and is adapted to store therein predetermined data, named reference orientation data, representative of an orientation value, named reference orientation, of the housing (22) relative to the Earth's local magnetic field, the processing unit (21) is adapted to be able to identify a predetermined event, named reference event, at least from the acceleration signals, the processing unit (21) is adapted, on detection of a reference event, to replace the reference orientation data with data representative of the instantaneous orientation of the housing (22). |