Determining Frigate recording filename

Hi!

I have a Frigate installation on a host separate to HA, but have the integration and LoveLace cards all working perfectly.

I’d like to create an automation that backs specific recordings to an external host. In basic:

If all residents are out of the house, and a person is detected in Zonex, copy recording to a cloud provider.

I can handle the majority of this automation, but I don’t know how to identify which file is to be copied.

Does anyone know if this data is available within HA, MQTT or somewhere else?

This page says

https://HA_URL/api/frigate/notifications/<event-id>/clip.mp4
1 Like

Yeah as @nickrout pointed out, you’ll need to use the APIs as the recordings (for both events and 24/7 recordings) are saved in 10 second segments and then recording & event clips are built dynamically for playback.

Using the API will get the files that is needed