I am trying to create a simple automation that will grab a snapshot each day at the exact time and store them to create a time lapse over the year.
My problem is, when it creates the snapshot, it is a black image, like the camera is not awake.
I did try searching for blueprints, but most of what i see is “on motion” (which wakes the camera) instead of at a set time. Any help would be great.
alias: Daily Camera Snapshot
description: Ensure camera is active before taking a snapshot
trigger:
- platform: time
at: "08:00:00"
action:
- service: camera.play_stream
target:
entity_id: camera.outside
media_player: media_player.dummy
- delay: "00:00:05" # Give the camera 5 seconds to warm up
- service: camera.snapshot
target:
entity_id: camera.outside
data:
filename: "/mnt/DailyCamSnaps/nest_snapshot_{{ now().strftime('%Y_%m_%d_%H-%M-%S') }}.jpg"
mode: single