From 8edbba2c5d58f86444207d94021b94df11a1ca9e Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 28 Aug 2024 07:24:17 -0500 Subject: [PATCH] Change wording of offline message to account for broker lwt timeout --- docs/docs/integrations/mqtt.md | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/docs/docs/integrations/mqtt.md b/docs/docs/integrations/mqtt.md index 6c9d112fa..4fb53f49a 100644 --- a/docs/docs/integrations/mqtt.md +++ b/docs/docs/integrations/mqtt.md @@ -11,7 +11,7 @@ These are the MQTT messages generated by Frigate. The default topic_prefix is `f Designed to be used as an availability topic with Home Assistant. Possible message are: "online": published when Frigate is running (on startup) -"offline": published right before Frigate stops +"offline": published after Frigate has stopped ### `frigate/restart` @@ -98,24 +98,22 @@ Message published for each changed review item. The first message is published w ```json { - "type": "update", // new, update, end + "type": "update", // new, update, end "before": { - "id": "1718987129.308396-fqk5ka", // review_id + "id": "1718987129.308396-fqk5ka", // review_id "camera": "front_cam", "start_time": 1718987129.308396, "end_time": null, "severity": "detection", "thumb_path": "/media/frigate/clips/review/thumb-front_cam-1718987129.308396-fqk5ka.webp", "data": { - "detections": [ // list of event IDs + "detections": [ + // list of event IDs "1718987128.947436-g92ztx", "1718987148.879516-d7oq7r", "1718987126.934663-q5ywpt" ], - "objects": [ - "person", - "car" - ], + "objects": ["person", "car"], "sub_labels": [], "zones": [], "audio": [] @@ -134,14 +132,9 @@ Message published for each changed review item. The first message is published w "1718987148.879516-d7oq7r", "1718987126.934663-q5ywpt" ], - "objects": [ - "person", - "car" - ], + "objects": ["person", "car"], "sub_labels": ["Bob"], - "zones": [ - "front_yard" - ], + "zones": ["front_yard"], "audio": [] } }