Hi to all,
I am using node-red with a switch output on GPIO on my Raspberry Pi 3B+.
Connection to the websocket is fine. Connection with the GPIOD server on the other side is also fine. In between I have captured the slots.state from the msg object and transformed the off/on to a number value 0/1.
But I’m still a noob with node-red. Why am I stuck? I’ve tried to change msg.slots.state to msg.payload but I still get errors…