Home-automation device comprising at least one displacement detector for an object, named monitored object, comprising: - a housing, - an accelerometer fixed to the housing and adapted to provide signals, named acceleration signals, representing an acceleration of the housing in at least one fixed direction of the housing, - an orientation sensor fixed to the housing and adapted to provide signals, named orientation signals, representing a instantaneous orientation of at least one fixed direction of the housing, - a memory comprising data representing: • at least one predetermined value, named triggering value, • at least one predetermined value, named scaling value, - a processing unit for the acceleration signals and orientation signals, characterized in that the processing unit is programmed to: - be able to identify a predetermined event, named triggering event, representing a variation in the acceleration of the housing, at least from the acceleration signals and said triggering value, - upon detection of a triggering event: • acquire orientation signals provided by the orientation sensor, representing the instantaneous orientation, called initial orientation, of the housing, • perform, at least from the acceleration signals, a calculation for determining a value, named displacement energy, said calculation comprising at least one sum of accelerations over time, • after a set time, named waiting time, from the acquiring of the initial orientation, acquire orientation signals provided by the orientation sensor representing the instantaneous orientation, named final orientation, of the housing, • compare said displacement energy to said scaling value, • compare said final orientation and said initial orientation, • perform an operation, named correlating operation, comprising at least one comparison of the result of the comparison between the final orientation and the initial orientation, and the result of the comparison between said displacement energy and at least said scaling value. - a housing, - an accelerometer fixed to the housing and adapted to provide signals, named acceleration signals, representing an acceleration of the housing in at least one fixed direction of the housing, - an orientation sensor fixed to the housing and adapted to provide signals, named orientation signals, representing a instantaneous orientation of at least one fixed direction of the housing, - a memory comprising data representing: • at least one predetermined value, named triggering value, • at least one predetermined value, named scaling value, • at least one predetermined value, named triggering value, • at least one predetermined value, named scaling value, - a processing unit for the acceleration signals and orientation signals, - be able to identify a predetermined event, named triggering event, representing a variation in the acceleration of the housing, at least from the acceleration signals and said triggering value, - upon detection of a triggering event: • acquire orientation signals provided by the orientation sensor, representing the instantaneous orientation, called initial orientation, of the housing, • perform, at least from the acceleration signals, a calculation for determining a value, named displacement energy, said calculation comprising at least one sum of accelerations over time, • after a set time, named waiting time, from the acquiring of the initial orientation, acquire orientation signals provided by the orientation sensor representing the instantaneous orientation, named final orientation, of the housing, • compare said displacement energy to said scaling value, • compare said final orientation and said initial orientation, • perform an operation, named correlating operation, comprising at least one comparison of the result of the comparison between the final orientation and the initial orientation, and the result of the comparison between said displacement energy and at least said scaling value. • acquire orientation signals provided by the orientation sensor, representing the instantaneous orientation, called initial orientation, of the housing, • perform, at least from the acceleration signals, a calculation for determining a value, named displacement energy, said calculation comprising at least one sum of accelerations over time, • after a set time, named waiting time, from the acquiring of the initial orientation, acquire orientation signals provided by the orientation sensor representing the instantaneous orientation, named final orientation, of the housing, • compare said displacement energy to said scaling value, • compare said final orientation and said initial orientation, • perform an operation, named correlating operation, comprising at least one comparison of the result of the comparison between the final orientation and the initial orientation, and the result of the comparison between said displacement energy and at least said scaling value.