Is it possible to add ttl: 0 and priority: high to the ādata:ā tab? To get the notification quicker to the phone, even when the phone or app is active.
Iām not skilled in the coding, but I was wondering if it could be something like this:
data: >
{% set android_data = {"image": "%s"} | format(snapshot_access_file_path) %}
{% set ios_data = {"attachment": {"url": "%s", "content_type": "JPEG"}} | format(snapshot_access_file_path) %}
{{ ios_data if is_ios else android_data }}
ttl: 0
priority: high
Setting the variable in yaml mode, so that the filenames match.
OF course the folder will get full of snapshot, so a periodic cleanup will be necessary. Theyāre 7kb for me so not a big deal.
I had this working but since letting my subscription cease on my Ring account I now donāt get any snapshots ā¦ do I need a subscription for snapshots to be captured?
Looking at this because I am getting old images sent the same as some others here.
Are we we sure itās a cache issue as I have had success by turning on the preload stream option for the camera.
My theory is it takes a while for the camera to be available/connected and it sends the message with the previous image.
It may also work with a delay between calling the snapshot service and sending the message to give the camera time to connect.
Great blueprint!
I have it running using the the snapshot of my Nest camera but I keep getting the same old snapshot created in the /config/www/tmp folder rather than the current ā¦ any clues why? (note: I have changed the dely and the pre-stream options to see if that helps but make no different)
[update] after a few restarts it seems to be work
I have just set this up seemsn OK, I get the notification with a thumbnail (too small to see), then when I open the notification it just opens my home assistant app, I was expecting to see an image of my cameraā¦ any ideas cheers
I add to my dashboard a card for ālast snapshot pictureā from my cam, but it updates not the picture if it is a ānewā movement/picture there. Maybe somebody know whats the problem? Or is it not possible that the card automatic update the picture if it is a new one there?
notify.* are services. Each device gets a notify service, and the notification group works exactly the same way (the way itās called). Iām not sure what you mean here. Does it work with using the service call for a single device?
It worked perfectly until the 2022.7 upgrade.
Now it creates an image when an event occurs, displays the alert in the thumbnail, but then never opens and the alert disappears.
When I build the URL manually and enter it into the browser, the image opens.
I have no idea yet if itās the CORE upgrade or the app on the mobile.
If anyone knows how to get it working again, Iād be very happy.
I looked into it quite a bit today but didnāt come up with anything.
Here is my automation to record camera instead of snapshot: This automation will send 30 seconds video (mp4) thru gmail. Iām only sending 30 sec video only to minimize the size of the file. You can adjust the camera resolution also to make file size smaller. Also I set the Yolink motion sensor to trigger motion every 15 minutes and I have 45 sec delay before sending the file.
Iām using different trigger like Yolink outside motion sensor, Garage door alarm switch, Eufy Video Door.
Iām using various Amcrest camera.
I setup SMTP integration with Google.
Optional, Iām using Alarmo integration from HACS for āconditionā in case if Iām working in the yard not to trigger the automation.
id: ā1658460748134ā
alias: āNotify: Driveway Camera Recordā
description: Camera Notification thru Gmail
trigger:
platform: state
entity_id:
binary_sensor.driveway_motion_sensor_motion
to: āonā
condition: