mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-30 11:54:52 +03:00
When mqtt.required_zones is configured, the initial mqtt snapshot on object creation is always blocked because zone evaluation hasn't run yet (entered_zones is empty). Later, the snapshot is only re-sent if a better thumbnail is found, so if the first frame was already the best capture the snapshot is silently lost. Add a new_zone_entered flag to TrackedObject that triggers an mqtt snapshot publish as soon as zone entry is confirmed, closing the gap between object detection and zone evaluation. Closes blakeblackshear/frigate#21027 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| activity_manager.py | ||
| maintainer.py | ||
| state.py | ||