I have also added a “Switch node” to receive the value in Node-Red (there is only Output state)
When I press On/Off, I received 0 or 1 as a msg.payload.
I’m using a couple of Shelly PWM dimmers with four channels each, running lights controlled via the Node-RED dashboard. Previously, older Shelly firmware would automatically turn the device off when the dim level reached 0. With newer firmware, however, dimming to 0 no longer disables the output—meaning it still draws some current, which isn’t ideal since the system is powered by batteries on a boat.
To work around this, I’ve set up the system so that if a slider reads 0, the corresponding output is switched off. If the slider reads above 0, the output is turned on. This eliminates the need for a separate on/off switch.
The Shellys are managing LED lights, and I’ve noticed a noticeable brightness difference between just 1% and 2%. I’d like to control the lights from both the Node-RED dashboard and the Cerbo display.
One possible solution would be to reprogram the slider so that it sends 0 when it’s set to 1, and scales from there. But ideally, I’d prefer a setup where the slider itself can directly handle the logic—if that’s possible.