Add zone field to custom_classification MQTT events

Co-authored-by: Teagan42 <2989925+Teagan42@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-16 01:36:05 -07:00
committed by Teagan glenn
co-authored by Teagan42
parent 41b6891fa0
commit a2ad45e357
3 changed files with 198 additions and 24 deletions
+8 -2
View File
@@ -173,7 +173,8 @@ Message published when [object classification](/configuration/custom_classificat
"timestamp": 1607123958.748393,
"model": "person_classifier",
"sub_label": "delivery_person",
"score": 0.87
"score": 0.87,
"zones": ["front_yard", "driveway"]
}
```
@@ -187,10 +188,15 @@ Message published when [object classification](/configuration/custom_classificat
"timestamp": 1607123958.748393,
"model": "helmet_detector",
"attribute": "yes",
"score": 0.92
"score": 0.92,
"zones": ["front_yard"]
}
```
:::note
The `zones` field is only included if the tracked object is currently in one or more zones.
:::
### `frigate/reviews`
Message published for each changed review item. The first message is published when the `detection` or `alert` is initiated.