Open TawfikDaim opened 1 month ago
This automation is currently under testing to see if motion triggers will work. Ideally when a motion is detected it should send a whatsapp message.
alias: motion detected at main door by camera/frigate
description: ""
triggers:
- trigger: state
entity_id:
- switch.maindoor_motion
to: "on"
conditions: []
actions:
- data:
message: Motion detected at main door
target: 120363318337012938@g.us
action: notify.greenapi
mode: single
This is better than adding motion mask outside all camera, as each camera will have different region of interest.
N.B. a better option was to use the person count as a trigger for automation but unfortnately this does only work when there is sufficient light conditions so it totally fails at night.