- Follow.set stores the value in context storage.
- Flow.get retrieves data from context storage
- each time a function node runs it starts fresh and nows nothing about what happened the last time it ran.
Try adding a
node.warn("Valve30pen="+Valve30pen)
right after the
var Valve30pen - msg. Valve30pen;
statement and see what you get.