mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Change wording of offline message to account for broker lwt timeout
This commit is contained in:
parent
a7ccabd8f1
commit
8edbba2c5d
@ -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:
|
Designed to be used as an availability topic with Home Assistant. Possible message are:
|
||||||
"online": published when Frigate is running (on startup)
|
"online": published when Frigate is running (on startup)
|
||||||
"offline": published right before Frigate stops
|
"offline": published after Frigate has stopped
|
||||||
|
|
||||||
### `frigate/restart`
|
### `frigate/restart`
|
||||||
|
|
||||||
@ -98,24 +98,22 @@ Message published for each changed review item. The first message is published w
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"type": "update", // new, update, end
|
"type": "update", // new, update, end
|
||||||
"before": {
|
"before": {
|
||||||
"id": "1718987129.308396-fqk5ka", // review_id
|
"id": "1718987129.308396-fqk5ka", // review_id
|
||||||
"camera": "front_cam",
|
"camera": "front_cam",
|
||||||
"start_time": 1718987129.308396,
|
"start_time": 1718987129.308396,
|
||||||
"end_time": null,
|
"end_time": null,
|
||||||
"severity": "detection",
|
"severity": "detection",
|
||||||
"thumb_path": "/media/frigate/clips/review/thumb-front_cam-1718987129.308396-fqk5ka.webp",
|
"thumb_path": "/media/frigate/clips/review/thumb-front_cam-1718987129.308396-fqk5ka.webp",
|
||||||
"data": {
|
"data": {
|
||||||
"detections": [ // list of event IDs
|
"detections": [
|
||||||
|
// list of event IDs
|
||||||
"1718987128.947436-g92ztx",
|
"1718987128.947436-g92ztx",
|
||||||
"1718987148.879516-d7oq7r",
|
"1718987148.879516-d7oq7r",
|
||||||
"1718987126.934663-q5ywpt"
|
"1718987126.934663-q5ywpt"
|
||||||
],
|
],
|
||||||
"objects": [
|
"objects": ["person", "car"],
|
||||||
"person",
|
|
||||||
"car"
|
|
||||||
],
|
|
||||||
"sub_labels": [],
|
"sub_labels": [],
|
||||||
"zones": [],
|
"zones": [],
|
||||||
"audio": []
|
"audio": []
|
||||||
@ -134,14 +132,9 @@ Message published for each changed review item. The first message is published w
|
|||||||
"1718987148.879516-d7oq7r",
|
"1718987148.879516-d7oq7r",
|
||||||
"1718987126.934663-q5ywpt"
|
"1718987126.934663-q5ywpt"
|
||||||
],
|
],
|
||||||
"objects": [
|
"objects": ["person", "car"],
|
||||||
"person",
|
|
||||||
"car"
|
|
||||||
],
|
|
||||||
"sub_labels": ["Bob"],
|
"sub_labels": ["Bob"],
|
||||||
"zones": [
|
"zones": ["front_yard"],
|
||||||
"front_yard"
|
|
||||||
],
|
|
||||||
"audio": []
|
"audio": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user