-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Is your feature request related to a problem? Please describe.
When using video analyzer there isn't a way to use the video snapshots from Unifi Protect.
Describe the solution you'd like
It would be amazing for more than 14,636 users of Unifi Protect to be able to use the video snapshots from recording events such as motion detections, veichle detections and etc togetter with LLM Vision.
Describe alternatives you've considered
I've tried to do some workaround using the API URL provided by Unifi Integration like /api/unifiprotect/thumbnail/{{ config_entry_id(trigger.entity_id) }}/{{ trigger.from_state.attributes.event_id }}
but seems that some authentication is required and the video snapshot is not accessible for LLM Vision preventing me to use those videos on a Vídeo Analysis automation.
Activity
valentinfrlch commentedon Jan 8, 2025
Sounds like a good idea! I don't have UniFi Protect cameras or use their NVR, so I can't test this. If someone does, PRs are welcome!
It seems like the UniFi Protect Home Assistant Integration would expose events in the media browser (https://www.home-assistant.io/integrations/unifiprotect/#media-source).
Flintr commentedon Jan 16, 2025
I worked around it by capturing the video to the www folder, then passing it to Video Analyzer:
bf8392 commentedon Feb 16, 2025
Is there no way to integrate a unifi protect camera directly? I tried the blueprint with it, but it throws errors in the logs...