I’m running the below script to take a picture from my blink camera but its hit and miss when it works and updates and cant seem to place any logic behind it!!
For example it will take a pic and i can see this update in the www folder live viewing it in the samba share, other times it doesn’t update and uses the old photo.
how ever when i go into the app it then updates with the new photo. so it looks like it’s not updating the app and then downloading the older phtoto which hasn’t refreshed.
any one have any suggestions as to why???
blink_photo_front:
sequence:
- data:
name: Front Door
service: blink.trigger_camera
- delay: 00:00:06
- service: blink.blink_update
- data:
entity_id: camera.blink_front_door
filename: /config/www/my_image_front.jpg
service: camera.snapshot
blink:
username: !secret blink-username
password: !secret blink-password
scan_interval: 5