[Bug]: Snapshot for Person in Zone Sporadically Not Sending via MQTT #21064
Replies: 2 comments
-
|
(1), (2), (3), (4), (5), (6), (7), (8), (9), (10) Based on your configuration, the issue appears to be related to how zone requirements interact with MQTT snapshot publishing. Here are several configuration aspects to verify: Zone Configuration IssuesYour zone is properly defined with coordinates and filters(1), but there are some considerations:
MQTT Snapshot ConfigurationYour MQTT configuration has Recommended Fixes
mqtt:
enabled: true
timestamp: false
bounding_box: false
crop: true
height: 1080
quality: 100
# Remove or comment out: required_zones: [front-door-zone]
zones:
front-door-zone:
coordinates: 0.633,0,0.591,0,0.574,0.324,0.275,0.335,0,0.373,0,1,1,1,0.997,0
loitering_time: 0
inertia: 1 # Reduced from 2
Alternative ApproachIf the issue persists, you could remove The sporadic nature of your issue suggests a race condition between zone entry detection and snapshot/MQTT publishing, which the above adjustments should resolve. 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Closing as a duplicate of your original post here: #21027 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
I'm having sporadic issue where a person is successfully detected by Frigate in a zone created for my front door, however the person snapshot is not being sent via MQTT so it appears in HomeAssistant. In the example below, the person was detectedin the front-door-zone and reached the 90% threshold, but the image for the person was never sent via MQTT.
I thought I had fixed this issue by including the zone in both the snapshot and MQTT required_zones settings however it's been sporadic if the person image is sent via MQTT or not. This only started to manifest itself after upgrading to the latest 16 release (was on an older 15 release).
I'm going to try forgoing required_zones and using an object mask to achieve the same results (which I know is not recommended), but I need this to work reliability like it has been for the many years I've been using Frigate.
Steps to reproduce
...
Version
0.16.2
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Home Assistant OS
Install method
Home Assistant Add-on
Network connection
Wired
Camera make and model
DS-2CD2187G2-LSU
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions