So I’m trying to get HA to send me a camera snapshot from my Ring Stick-Up cam. It works, but the delay in the automation doesn’t seem to be working and I don’t know why.
When I get the notifications they are usually all blown-out white as when the camera is first activated it takes a second or two to normalise to the light conditions, hence the delay.
My automation is below
- id: motion_at_front_door
alias: Motion at Front Door
trigger:
- platform: state
entity_id: binary_sensor.front_door_motion
to: 'on'
action:
- service: camera.snapshot
data_template:
entity_id: camera.front_door
filename: 'www/snapshots/front_door_camera_{{ now().strftime("%d%m%Y-%H%M") }}.jpg'
- delay: '00:00:05'
- service: notify.mobile_app_dans_iphone_7
data_template:
message: 'Motion at Front Door - Video Being Processed {{now().strftime("%H:%M")}} '
data:
attachment:
content-type: jpeg
url: 'https://xxxxxxx/local/snapshots/front_door_camera_{{ now().strftime("%d%m%Y-%H%M") }}.jpg'
- delay: '00:00:10'
Can anyone suggest anything?