On/off/blink functionality

flows-4.json (5.1 KB)

Hi. I use node-red on my boat to control a physical LED panel which shows the status of the electrical equipment on board. I use Shelly relays.

When my water heater is turned on I would like my LED light to indicate this by being on all the time. When the water heater is active (heating water) I would like the LED to blink. When the water heater is turned off I would like the LED to be off.

I tried to make this, but have run into trouble. I have attached the flow in the post. Currently the system always will make the LED blink or be turned off because this node overrides the other nodes (see flow).

Thanks
Mathias

I am not familiar with your blink node, but shouldn't your "idle or active" switch be downstream of the "on/off" switch?

(I may have LED on and LED off the wrong way round!)

Ah, perfect. This was the help I needed. Much appreciated.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.