Getting previous snapshot, how to get current one? #732
Replies: 3 comments 9 replies
-
Found some HA forum links with same issue lol, going to try to send two take snapshot actions and see if is a good workaround. https://community.home-assistant.io/t/camera-snapshot-strange-issue/507448/3 |
Beta Was this translation helpful? Give feedback.
-
Why are you trying to manually take a snapshot instead of using builtin snapshot on motion capability? Are you triggering the automation from some other sensor. |
Beta Was this translation helpful? Give feedback.
-
This is what I ended up implementing if anyone is interested, also added the timestamp to the snapshot. Works pretty good for my requirements. There may or may not be something out there already but I am a lot quicker in python, than yaml files lol. Thanks for this wonderful addon! https://gist.github.com/TheFern2/09fcb9d7d31559d9987c36cb30e28f8d |
Beta Was this translation helpful? Give feedback.
-
I am most likely doing something wrong, I have an automation for motion, and it does work and the whole automation goes through it steps, however when it comes to saving the snapshot, it is saving the previous snapshot.
I posted a question in the HA forum I thought to post it here just in case someone knows. https://community.home-assistant.io/t/ring-mqtt-automation-with-doorbell-trouble-getting-snapshot-on-time/613999
As an example here are the last snapshots taken and saved to disk:
Below screenshot is from file 152317.jpg taken at 15:03:17, not file 150023, so for me clearly the automation is working because the snapshots are being taken but unsure why is grabbing the previous snapshot. Also I waited 5 or 10min and I always get the previous snapshot. Any help would greatly be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions