Can Home Assistant reliably trigger actions/routines, based on security system contact sensor or motion sensor events/states?
In particular, I am considering both Ring and DSC (PowerG) for alarm systems, and will be going with Lutron Radio RA3 for lighting (and understand there are still a lot of open questions about it’s ability to integrate). For clarity, I want the alarm system to continue to function with all it’s native functionality, just be able to trigger other events.
I have a DSC 1832 and use my door and window sensors. I am connecting to HA with an IT100 with code to make it appear like an Envisalink. I use shelly motion sensor and trigger with them.
Two examples:
alias: Mud Room Light on when Garage Entry Door Opens
description: Turn on the light for 60 seconds when Door Opens
trigger:
- platform: state
entity_id: binary_sensor.garage_entry_door
from: 'off'
to: 'on'
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.mud_room_light
- delay:
seconds: 60
- service: switch.turn_off
target:
entity_id: switch.mud_room_light
mode: single
--------------
alias: Hallway - Turn on Light
description: When motion detected turn on light
trigger:
- platform: state
entity_id: binary_sensor.motion_detector
to: 'on'
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.hallway_cans
- wait_template: ''
timeout: 00:01:00
- service: switch.turn_off
target:
entity_id: switch.hallway_cans
mode: single