Après avoir inclu le capteur à son réseau zwave sous Home Assistant, on a accès à plusieurs nouveaux capteurs :
binary_sensor.fibaro_system_fgms001_motion_sensor_sensor_89_0 sensor.fibaro_system_fgms001_motion_sensor_alarm_level_89_1 sensor.fibaro_system_fgms001_motion_sensor_alarm_type_89_0 sensor.fibaro_system_fgms001_motion_sensor_burglar_89_10 sensor.fibaro_system_fgms001_motion_sensor_general_89_0 sensor.fibaro_system_fgms001_motion_sensor_luminance_89_3 sensor.fibaro_system_fgms001_motion_sensor_seismic_intensity_89_25 sensor.fibaro_system_fgms001_motion_sensor_sourcenodeid_89_2 sensor.fibaro_system_fgms001_motion_sensor_temperature_89_1
On peut utiliser le capteur de mouvement de la manière suivante :
- alias: "Fan on" trigger: - platform: state entity_id: binary_sensor.fibaro_system_fgms001zw5_motion_sensor to: 'on'
ou aussi :
alias: Unexpected motion trigger: platform: state entity_id: sensor.fibaro_system_fgms001_motion_sensor_burglar_33 state: '8’ condition: … action: …
automation: - alias: Turn on kitchen light when there is movement trigger: platform: state entity_id: sensor.motion_sensor to: 'on' action: service: homeassistant.turn_on entity_id: light.kitchen_light - alias: Turn off kitchen light 10 minutes after last movement trigger: platform: state entity_id: sensor.motion_sensor to: 'off' for: minutes: 10 action: service: homeassistant.turn_off entity_id: light.kitchen_light