I’m trying to add a camera snapshot to the notify.notify action to send to my iphone.
I have frigate installed in a docker container and the snapshots show up in HA in my media directory. How do I find the location of the snapshots so I can add an entry to the Call Service/notify.notify/data/image: location of snapshot?
the snapshots are not actually stored in HA, they are just shown in the media browser. You need to use the frigate integration api to get the snapshot url
I found this in the documentation in frigate.
GET /api/<camera_name>/<label>/snapshot.jpg
Returns the snapshot image from the latest event for the given camera and label combo. Using any as the label will return the latest thumbnail regardless of type.
Does the api refer to a number?
What is the label?
In the data section should it read
image: /api/camerafrontdoor/<label>/snapshot.jpg
you can’t call the frigate api directly, would need to use the integration api which is not documented AFAIK. if you are looking to do notifications I would suggest just using the blueprint Frigate Mobile App Notifications 2.0