Stop Timer for node-red
Sends the msg
through after the set timer duration. If a new msg
is received before the timer has ended, the timer will be restarted, unless the new msg
has a payload of stop
or STOP
, in which case it will stop the timer.
This is like the built in delay function of node-red, but with the ability to not only restart the timer, but to stop it as well.
0.0.1 - Initial Release
0.0.2 - Fixed an issue with using the timer in a repeating flow which caused it to either send an additional msg after being stopped, or, in some cases, not allowing a new msg to pass through after the node had been previously stopped.
0.0.3 - README.md update
0.0.4 - Updated icon for less confusion with other nodes