@amir-arad/node-red-countdown 0.0.3

Delays a message passing through the node. Much like the built in delay node, but supports one delayed message at a time, and reports progress.

npm install @amir-arad/node-red-countdown

Countdown for node-red

forked from node-red-contrib-stoptimer3

Delays a message passing through the node. Much like the built in delay node, but supports none delayed message at a time, and reports progress.

Sends the msg through the first output after the set timer duration. If a new msg is received before the timer has ended, it will replace the existing msg and the timer will be restarted.

In the second output, it reports the countdown of the timer in percentages, starting with 1 and ending with 0.

This node keeps its state in the node context and supports recovery. so if the default context is localfilesystem or another persisted context, the node will resumes seamlessly after re-deploys and restarts.

Node Info

Version: 0.0.3
Updated 2 years, 9 months ago
License: Apache-2.0
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

22 in the last week

Nodes

  • countdown

Keywords

  • node-red
  • timer
  • delay
  • stoptimer

Maintainers