From efbc1f836b9c7e0ed38db06ed3d14277538e5f15 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 25 Feb 2025 10:02:34 -0700 Subject: [PATCH] Update mqtt event structure (#16803) --- docs/docs/integrations/mqtt.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/mqtt.md b/docs/docs/integrations/mqtt.md index 194821cbd..8fbe9f209 100644 --- a/docs/docs/integrations/mqtt.md +++ b/docs/docs/integrations/mqtt.md @@ -28,7 +28,14 @@ Message published for each changed tracked object. The first message is publishe "id": "1607123955.475377-mxklsc", "camera": "front_door", "frame_time": 1607123961.837752, - "snapshot_time": 1607123961.837752, + "snapshot": { + "frame_time": 1607123965.975463, + "box": [415, 489, 528, 700], + "area": 12728, + "region": [260, 446, 660, 846], + "score": 0.77546, + "attributes": [], + }, "label": "person", "sub_label": null, "top_score": 0.958984375, @@ -58,7 +65,14 @@ Message published for each changed tracked object. The first message is publishe "id": "1607123955.475377-mxklsc", "camera": "front_door", "frame_time": 1607123962.082975, - "snapshot_time": 1607123961.837752, + "snapshot": { + "frame_time": 1607123965.975463, + "box": [415, 489, 528, 700], + "area": 12728, + "region": [260, 446, 660, 846], + "score": 0.77546, + "attributes": [], + }, "label": "person", "sub_label": ["John Smith", 0.79], "top_score": 0.958984375,