Skip to content

mgiggs/node-red-contrib-countdown

This branch is 2 commits ahead of, 21 commits behind ontje/node-red-contrib-countdown:master.

Repository files navigation

node-red-contrib-countdown

A simple countdown node. Starts countdown on any input. Immediatly ends countdown sending the Countdown stop message on payload "false" or "0". Immediatly ends countdown sending with no Countdown stop message on payload "stop" or "cancel". Sends a configurable payload on start and end of countdown on output 1 and remainining time in seconds on output 2 (while running).

Countdown time can be set dynamically by using a Message with topic set to "control" and a number as payload (number of seconds to count down).

Loosely based on prior work by Neil Cherry: https://github.com/linuxha/node-red-contrib-mytimeout

About

A simple countdown node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.4%
  • HTML 49.6%