keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.68k stars 235 forks source link

Support for Frigate zones #85

Closed samuelhautcoeur closed 2 years ago

samuelhautcoeur commented 2 years ago
  1. Allows setting a --frigate-zone parameter to only flag events when an object is within a particular area, e.g. a person in a driveway. When this parameter is set, motion outside of the zone will be flagged as regular motion instead of a person/vehicle event.
  2. Events are now created based on Frigate's start and end times
  3. A new --frigate-host parameter fetches event snapshots from the Frigate API instead of using MQTT. This is much more reliable, in my testing, and the snapshots now match what we see in Frigate.

I'm not a Python developer, and so the code might not all be as elegant as I'd like it to be. The end result however is a marked improvement, at least for my use case.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.