How to get UniFi Protect "detections" from the media folder in to a custom dashboard?

The UniFi Protect integration saves “detections” to a media folder. How can I get that inside a Dashboard?

Really looking for almost the exact thing in the screenshot, but just in a grid card inside a custom dashboard.

Not possible. There is a feature request for it though. Media_browser card

1 Like

I am looking at trying to use the gallery-card to display the last “few” detections that are saved (by default) in the Media → Unifi Protect → G4 Pro → Smart Detections → Last 24 Hours “folder”. The card uses media-source and i can’t figure out if it is possible to map this location (maybe via config) to just display the most recent X files? Any ideas if this is possible?

My understanding is that these detections are just being referred to from the NVR or other protect device and nothing is stored locally in HA, can someone confirm? Is there a way to not have this unifi protect folder in media?