The automation just uses the built-in service: camera.snapshot.
The path where the snapshots get created is â/config/www/tmp/snapshot_{{ states[camera].object_id }}.jpgâ as you already figured out.
Make sure there is space enough on the filesystem. Maybe try to copy a random file to that location using SAMBA to verify there is enough space.
You can try to call the service manually from the developer tools to see if that works.
Great idea thanks. Itâs a bit of upside down logic that I created a sensor that detects if the alarm_panel is disarmed and this is the blocking entity for the blueprint. Works like a charm! Now if I set my alarm panel and the PIR picks up movement I get sent an immediate photo from the nearest camera and I can press to get live view from my cameras.
Hi Chris,
I have considered that, but without a system of cleaning the files they would endlessly fill up the folder and potentially the filesystem. Therefore I chose not to go that route and let the file overwrite itself.
I have tested and the new blueprint doesnât overwrite previous notification on iOS. Iâm thinking this could be because itâs set as a critical notification?
Update: Iâve added more options, like selecting if you want the notification to be critical/high priority and controlling the channel and group names.
Controlling the names can be handy if you have multiple automations based on this blueprint. You can then group them together by group name and even collapse or overwrite notifications based on group name.
Channel name is used to define the settings for the notification on your device (ringtone, volume, enable/disable).
Yes using my android as a device to notify. Whatâs odd is I still get the notification on my phone, I just donât understand why itâs tripping the error in the logs.
Nice Blueprint! One feature request: My (Chinese) ONVIF camera sends a âmotion detectedâ every second during motion. This results in many notifications. Is it possible to add a âtime-outâ timer so that once the automation is kicked off it wonât do that again for xx seconds?
@Michael3871 Just make a new template-sensor which gets âoffâ when no motion is detected for maybe 30seconds or something.
Timeout could be realised with a wait at the end and a condition that the automation only starts when it is not already running. Automation mode will create a warningâŚ
@StanG nice blueprint, like it. Borrowed me your code for my own automation, because I dont like blueprints.
i cannot get this to work, even after removing âmobile_appâ prerequisites in the code.
Iâm not sure but i think a notification group is not a device, it is a service?
Hoping there is an easy solution to this, I use it with my doorbells and It works like a charm. However I have to run 4 automations to cover all devices to be notified and it would be more elegant if it just could be one