NodeRed: flow "overrules" remote control settings, how can i fix this?

Hello! Interesting Challenge. Unfortunately, the behaviour you describe is how node red works: it controls de devices according to some input and some logic you program.
As I see, you have two options (until Virtual Switch comes out)…
1 - Use some inject nodes to override the output via Node-Red as sugeste by @Valdson (this implies that you will have to open the node-red page every time you want to override the output).
2 - If you have a relay that is not being used:

  • Configure both relays as manual.
  • Let Relay 1 be the automatic one (the one controlled by node-red).
  • Let relay 2 be the manual override.
  • On the Node logic, use the Relay 2 status to override the output given by the logic that controls the Relay 1 (Something as “if relay 2 is on, then turn on relay 1, and if it is off, consider the output of your logic”).
    In that way, you could use the remote console to turn on and off the relays, but you will be using both relays for only one purpose.
1 Like