Turn off switch only if triggered by same flow

Hi everyone,

I have the following flow which turns on and off pumps of a hot tub to protect it from freezing.

The circulation pump should only be turned off if it wasn't turned on from a different flow which triggers the pump for filtering.

Does anyone have an idea how I could do that?


When you trigger your filtration pump, add a change node to save the state of the pump in a global variable. With this way you can check if it isn't working and turn off your circulation pump. Between your Turn Off node and Pump Circulation add a switch node which checks if your global variable is off, which transmits the message to turn off the circ pump.