Hi, I am familiar with python, and use of variables, but I just can quite get my head around how to use them in Node Red, so would greatly appreciate a working example.
This is the essence of what I am trying to achieve:
- When the flow starts, in the first node, set a flow variable called "ToiletLight" to 1
- In the second node, query "ToiletLight", if it == 1 then set "ToiletLight" to 2 then continue to next node
- The value of "ToiletLight should be visible and usable to this entire flow whilst activated
Thats it, very simple, but couldn't get it working.