frigate/frigate/camera
Josh Hawkins f002513d36
send MQTT snapshot when object enters required zone (#22690)
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
2026-03-29 12:33:57 -05:00
..
__init__.py Inverse mypy and more mypy fixes (#22645) 2026-03-25 19:30:59 -05:00
activity_manager.py Inverse mypy and more mypy fixes (#22645) 2026-03-25 19:30:59 -05:00
maintainer.py Inverse mypy and more mypy fixes (#22645) 2026-03-25 19:30:59 -05:00
state.py send MQTT snapshot when object enters required zone (#22690) 2026-03-29 12:33:57 -05:00