Notify Node-RED hub via MQTT when Home Assistant reboots

This commit is contained in:
2025-03-18 00:25:12 -04:00
parent 774676ae55
commit 3ab86c0a81

View File

@ -1012,11 +1012,12 @@
"75a50e8dac7af692", "75a50e8dac7af692",
"baae5d6f53900594", "baae5d6f53900594",
"619d1474239faf58", "619d1474239faf58",
"ca88f85ba00a6744" "ca88f85ba00a6744",
"1d84f0da59682160"
], ],
"x": 34, "x": 34,
"y": 319, "y": 319,
"w": 472, "w": 532,
"h": 202 "h": 202
}, },
{ {
@ -30964,7 +30965,8 @@
"y": 480, "y": 480,
"wires": [ "wires": [
[ [
"619d1474239faf58" "619d1474239faf58",
"1d84f0da59682160"
] ]
] ]
}, },
@ -31721,6 +31723,25 @@
] ]
] ]
}, },
{
"id": "1d84f0da59682160",
"type": "mqtt out",
"z": "ffa6a885ac41a5ed",
"g": "46275dd0f9461013",
"name": "",
"topic": "services/homeassistant/reboot",
"qos": "0",
"retain": "false",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "fd29421fc00140a8",
"x": 410,
"y": 480,
"wires": []
},
{ {
"id": "e8d2135bb5564a4a", "id": "e8d2135bb5564a4a",
"type": "server-state-changed", "type": "server-state-changed",