I am trying to save video from my Blink cameras when motion is detected. I used the code directly from the HA documentation but no video is ever created. I don’t think I have to, but I also whitelisted the /tmp directory.
Anyone know what I’m doing wrong?
- id: save_blink_video_on_motion
alias: "Save Video - Deck Motion"
trigger:
platform: state
entity_id: binary_sensor.motion_deck
to: "on"
action:
service: blink.save_video
data:
name: "deck"
filename: "/config/www/tmp/videos/blink_video_{{ now().strftime('%Y%m%d_%H%M%S') }}.mp4"