Home automation device comprising: - a central unit comprising at least one unit for processing digital data, said central unit being disposed inside a predefined perimeter which has at least one intersection with a zone to be protected comprising at least one peripheral access door (3, 4), - each peripheral access door (3, 4) is equipped with at least one device (1, 2) for detecting displacement and adapted to transmit to said central unit signals, termed displacement signals, representative of a displacement of said access door (3, 4), characterised in that it comprises: - a plurality of badges (12, 13), each badge comprising identification data which are unique to said badge and make it possible to distinguish said badge from other badges, each badge being adapted to emit signals, termed presence signals, to said central unit, via a direct wireless link with said central unit, and in that: - said central unit is adapted to receive said presence signals from each badge uniquely when said badge is present in said predefined perimeter, - for each badge, said central unit is adapted in order to: ° store data, termed presence data, representative of a state of presence chosen from a first state of presence, termed present state, corresponding to the presence of said badge in said predefined perimeter and a second state of presence, termed absent state, corresponding to the absence of said badge in said predefined perimeter, ∘ detect a change in the state of presence of the badge, and ∘ upon detection of a change in the state of presence of the badge and receipt of displacement signals from at least one access door within a time interval less than a predetermined duration, termed departure/arrival duration, to store data, termed active displacement data, representative of a change in the state of presence of said badge and of the displacement of at least one access door within a time interval less than said departure/arrival duration, - said home automation device develops activation data of the home automation device upon detection of two trigger events, one of these trigger events corresponding to a change in the state of presence signalling that all the badges are in the absent state, and the other of these trigger events corresponding to the displacement of an access door. - a central unit comprising at least one unit for processing digital data, said central unit being disposed inside a predefined perimeter which has at least one intersection with a zone to be protected comprising at least one peripheral access door (3, 4), - each peripheral access door (3, 4) is equipped with at least one device (1, 2) for detecting displacement and adapted to transmit to said central unit signals, termed displacement signals, representative of a displacement of said access door (3, 4), - a plurality of badges (12, 13), each badge comprising identification data which are unique to said badge and make it possible to distinguish said badge from other badges, each badge being adapted to emit signals, termed presence signals, to said central unit, via a direct wireless link with said central unit, - said central unit is adapted to receive said presence signals from each badge uniquely when said badge is present in said predefined perimeter, - for each badge, said central unit is adapted in order to: ° store data, termed presence data, representative of a state of presence chosen from a first state of presence, termed present state, corresponding to the presence of said badge in said predefined perimeter and a second state of presence, termed absent state, corresponding to the absence of said badge in said predefined perimeter, ∘ detect a change in the state of presence of the badge, and ∘ upon detection of a change in the state of presence of the badge and receipt of displacement signals from at least one access door within a time interval less than a predetermined duration, termed departure/arrival duration, to store data, termed active displacement data, representative of a change in the state of presence of said badge and of the displacement of at least one access door within a time interval less than said departure/arrival duration, ° store data, termed presence data, representative of a state of presence chosen from a first state of presence, termed present state, corresponding to the presence of said badge in said predefined perimeter and a second state of presence, termed absent state, corresponding to the absence of said badge in said predefined perimeter, ∘ detect a change in the state of presence of the badge, and ∘ upon detection of a change in the state of presence of the badge and receipt of displacement signals from at least one access door within a time interval less than a predetermined duration, termed departure/arrival duration, to store data, termed active displacement data, representative of a change in the state of presence of said badge and of the displacement of at least one access door within a time interval less than said departure/arrival duration, - said home automation device develops activation data of the home automation device upon detection of two trigger events, one of these trigger events corresponding to a change in the state of presence signalling that all the badges are in the absent state, and the other of these trigger events corresponding to the displacement of an access door.