[
{
"id": "8cd3a6b74dd73dcb",
"type": "ha-discovery-out",
"z": "f97c15c91ed475df",
"name": "Zimmer",
"server": "3a9b250ba5d6b411",
"dev_id": "zigbee2mqtt_0x00124b0024cb2366",
"uniq_id": "0x00124b0024cb2366_switch_zigbee2mqtt",
"qos": "0",
"retain": "false",
"payload": "payload",
"payload_type": "msg",
"x": 500,
"y": 340,
"wires": []
},
{
"id": "c30268b42210b258",
"type": "inject",
"z": "f97c15c91ed475df",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "ON",
"payloadType": "str",
"x": 270,
"y": 320,
"wires": [
[
"8cd3a6b74dd73dcb"
]
]
},
{
"id": "f2225d4772bee672",
"type": "inject",
"z": "f97c15c91ed475df",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "OFF",
"payloadType": "str",
"x": 270,
"y": 380,
"wires": [
[
"8cd3a6b74dd73dcb"
]
]
},
{
"id": "3a9b250ba5d6b411",
"type": "ha-discovery",
"name": "",
"server": "bff4588a2c004522",
"topic": "homeassistant/#"
},
{
"id": "bff4588a2c004522",
"type": "mqtt-broker",
"name": "local broker",
"broker": "127.0.0.1",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]
The flow can be deployed, but whe triggering one of the Injectors, it sucesfully publishes to mqtt, but crashes node-red as a whole. This is the commad line output:
Help please.