Hello,
I´m using more shellies first gen in NodeRed with MQTT.
Asking if online, show state of relay and turn on and off relay. That works great.
I bought a new Shelly, but its name is Shellyplus and the commands are different to old ones and I couldn´t read the Relay status
In MQTT Explorer I found the status for the Relay in a string line. See here in the right area with name "output": true and false (Relay active and inactive)
In NodeRed it show so with Relay active and incative:
How I can use the output: false or true?
Thanks in front for your good support for a beginner.
Here the 2 relevant Nodes:
[
{
"id": "11d33bc2981ea199",
"type": "mqtt in",
"z": "04e8334d68490e82",
"g": "f648527053dcebe4",
"name": "",
"topic": "shellyplus-EG-Flur-Fbh/status/switch:0",
"qos": "0",
"datatype": "auto-detect",
"broker": "33ed6bdd892c405a",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 190,
"y": 1800,
"wires": [
[
"d48b2387b3a5326a",
"d63097921d6f1d99"
]
]
},
{
"id": "d48b2387b3a5326a",
"type": "debug",
"z": "04e8334d68490e82",
"g": "f648527053dcebe4",
"name": "Relay on / off ShellyPlus",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 510,
"y": 1800,
"wires": []
},
{
"id": "33ed6bdd892c405a",
"type": "mqtt-broker",
"name": "MQTT von PV Holzkeller",
"broker": "192.168.2.5",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]


