# Looking for a countdown timer

**URL:** <https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681>\
**Category:** General\
**Created:** [25 April 2021 04:19 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681 "2021-04-25T04:19:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [25 April 2021 04:19 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/1 "2021-04-25T04:19:08Z")

</div>

Hey guys,

Looking for a countdown timer that is able to be controlled by passing messages to it.

In this particular case - if a temperature exceeds a threshold, i want to send a message to the node to tell it to stop and remind me in 30 minutes. At the end of the countdown it will send out the message which i will interpret.

Anyojne got one of these they can recommend and that they use ?

Craig

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 April 2021 07:01 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/2 "2021-04-25T07:01:16Z")

</div>

Have a look at trigger node.

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [25 April 2021 08:06 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/3 "2021-04-25T08:06:53Z")

</div>

if you want to have one that can tell you how much time is left, that can handle multiple simultaneous countdowns and second accuracy is enough than you could also have a look at this old subflow of mine:

[https://flows.nodered.org/flow/1ea6bc8b3cd3219321bb7e530b15c630](https://flows.nodered.org/flow/1ea6bc8b3cd3219321bb7e530b15c630)

Johannes

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [25 April 2021 18:41 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/4 "2021-04-25T18:41:07Z")

</div>

Thanks Guys,

Will play around with both of these options and also

> **[node-red-contrib-stoptimer-varidelay](https://flows.nodered.org/node/node-red-contrib-stoptimer-varidelay)**
>
> Sends the msg through the 1st output after the timer duration. A new msg received before the timer expires will replace the existing msg and the timer will be restarted, unless the new msg has a payload of 'stop' or 'STOP', which will stop the timer....

And will report back which suits my needs best

Craig

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [25 April 2021 19:42 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/5 "2021-04-25T19:42:51Z")

</div>

There are several nodes that do that. Node-red-contrib-mytimeout is one. I use it as a programmable flip flop.

---

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [25 April 2021 20:04 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/6 "2021-04-25T20:04:40Z")

</div>

OK thanks Gerry - i use that one for other things also - Will have a deeper look

Craig

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [24 June 2021 20:05 UTC](https://discourse.nodered.org/t/looking-for-a-countdown-timer/44681/7 "2021-06-24T20:05:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
