Get recording snapshot URL for HA companion app notification (via blueprint) #971
Unanswered
lcwsoft
asked this question in
Support Q&A
Replies: 1 comment 1 reply
-
I have a Ring protect plan already and am just looking to get away from their awful motion alerts (cameras pick up headlights and such as motion, no matter what I try) with Generative AI providing the description of the motion and filtering out such nonsense (already got that part working) with the ring snapshot for only the motion events that I am using. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to figure out how to get the snapshot Ring generated for a motion event and use it as part of a notification to the HA companion app on my phone. I'm modifying the blueprint found at https://community.home-assistant.io/t/generative-ai-camera-snapshot-notification/776296 as the image it sends in the notification is stale it seems. Basically I am trying to get that resolved (by using the snapshot being created by the recording process?)
In the variables, it has:
camera_device: !input camera_device
where camera device is the Snapshot sensor for the camera that the blueprint is being used with as part of an automation. For example, my backyard camera snapshot sensor ends up being "camera.backyard_snapshot".
I tried the following variable (which is later used by the "data" section in the blueprint:
snapshot_access_file_path: '{{ state_attr(camera_device, ''still_image_url'') }}'
However when I trigger the automation, HA reports that snapshot_access_file_path is being set to null:
snapshot_access_file_path: null
Ideally I'd like it to either be an URL that I can access anywhere (such as via my nabu casa URL) or a local image (but then I need to figure out a way to receive the recording snapshot and save it as part of the blueprint).
I would really appreciate any advice on this!
Thanks!
Lawrence
Beta Was this translation helpful? Give feedback.
All reactions