ottopaulsen / node-red-contrib-power-saver

A Node-RED node to saver money by turning off when the power is most expensive
Other
71 stars 17 forks source link

Reset Action not firing #207

Open pittbull opened 2 weeks ago

pittbull commented 2 weeks ago

I am experiencing that the "Reduction" node works and that devices are turned off, but the "Reset" node seems not to fire at all any more.

There's no info being logged to actions file (just the reduction actions), and I am also logging to a file from output 3 on both reduction and reset, and nothing is logged from the reset node.

Any suggestions?

ottopaulsen commented 2 weeks ago

Mine is working fine, and I think I am up to date on everything. I suggest you use node.warn to print the actions array and see what it contains. It should contain any active actions. Then start debugging from there. It may require some effort, but in general, seeing what goes in and what comes out, as well as some logging underway, should make it possible to figure out what is wrong. More often then not, the actual problem is some place before where you discover them, so looking at input may give some clue.