Hi all, I fail to parse "output" .... pls help!
Pic is a screenshot from MQTT explorer. Problem "switch:0" .
Thanks a lot!
Because your params.switch:0 key is unconventional, you probably need to use square bracket notation, for example:
msg.payload.params["switch:0"].output
(I don't know if the screengrab you showed us is msg.payload. It would be better if you had used a debug node and it's "copy value" button to share the data)
If you control the name of the Shelly device, I advise you to get rid of that colon and call it switch0
It works .... thanks a lot !