# Node-red-contrib-stoptimer replacement?

**URL:** <https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655>\
**Category:** General\
**Created:** [9 June 2022 05:29 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655 "2022-06-09T05:29:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumasage](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sumasage](https://discourse.nodered.org/u/sumasage)\
**Post date:** [9 June 2022 05:29 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/1 "2022-06-09T05:29:42Z")

</div>

Hi all,

I am using NodeRed addon in Home Assistant. With the latest update (v12.0.2), the stoptimer node was removed according to the change log. The change log also mentioned a way to manually reinstall the node but i dont know how.

What would be an alternative to the stoptimer node or how do i install it manually? I used it in most of my current automation (turning light off) so i need to fix it soon. Thank you.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [9 June 2022 05:47 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/2 "2022-06-09T05:47:12Z")

</div>

This is probably a question for the HA forum as not many here use HA

---

<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:** [9 June 2022 06:36 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/3 "2022-06-09T06:36:01Z")

</div>

You can easily use the Trigger node to get the same level of functionality and not need to rely on a 3rd party node as Trigger is part of the core group of nodes

Craig

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 June 2022 08:48 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/4 "2022-06-09T08:48:29Z")

</div>

Can’t you install it via the palette manager in the sidebar? (Note: I’ve never used HA)

---

<div class="post-metadata">

**Author:** ![sumasage](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sumasage](https://discourse.nodered.org/u/sumasage)\
**Post date:** [9 June 2022 18:00 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/5 "2022-06-09T18:00:02Z")

</div>

Will try the trigger node.

I tried to search for it in the palette manager and nothing shows up under "stoptimer".

---

<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:** [10 June 2022 01:35 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/6 "2022-06-10T01:35:27Z")

</div>

here you go if you want to stay with it

> **[node-red-contrib-stoptimer](https://flows.nodered.org/node/node-red-contrib-stoptimer)**
>
> 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, unless the new msg has a payload of 'stop' or 'STOP', in which...

Craig

---

<div class="post-metadata">

**Author:** ![sumasage](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sumasage](https://discourse.nodered.org/u/sumasage)\
**Post date:** [10 June 2022 04:39 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/7 "2022-06-10T04:39:36Z")

</div>

Thank you for the link. How do i get it to install in Home Assistant? I see an option to upload tgz file but i couldnt figured out how to download the file via the site you sent.

---

<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:** [10 June 2022 04:52 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/8 "2022-06-10T04:52:42Z")

</div>

Go into Node Red (as you normally would for creating a flow) as the admin user - go to the hamburger menu and the manage pallette option.

Choose install in there and paste in

node-red-contrib-stoptimer

Choose it from the list and install

Craig

---

<div class="post-metadata">

**Author:** ![sumasage](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sumasage](https://discourse.nodered.org/u/sumasage)\
**Post date:** [19 June 2022 22:02 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/9 "2022-06-19T22:02:40Z")

</div>

Just want to update the thread with a solution that i founded. Just to help others down the road.

The stoptimer is not showing up in the palette manager so i have to manually install it. All the nodes are install via the npm command via the node documentation on the [npmjs.com](http://npmjs.com) site. Since i am running NodeRed via Home Assistant i cant run that command (not sure where to run it). So after much digging i found that in the NodeRed addon configuration there is a place to put in the "npm" command so that when the NodeRed addon start it will load nodes.

Using the delay and trigger node does help. I have a lot of automation setup with the stoptimer node, so just easier to add the node back in than reconfigure all my automations.

---

<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:** [3 July 2022 22:02 UTC](https://discourse.nodered.org/t/node-red-contrib-stoptimer-replacement/63655/10 "2022-07-03T22:02:41Z")

</div>

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