# Timer cant trigger second Timer \[solved\]

**URL:** <https://discourse.nodered.org/t/timer-cant-trigger-second-timer-solved/47241>\
**Category:** General\
**Created:** [16 June 2021 13:11 UTC](https://discourse.nodered.org/t/timer-cant-trigger-second-timer-solved/47241 "2021-06-16T13:11:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gotsila](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gotsila/32/43403_2.png) [@gotsila](https://discourse.nodered.org/u/gotsila)\
**Post date:** [16 June 2021 13:11 UTC](https://discourse.nodered.org/t/timer-cant-trigger-second-timer-solved/47241/1 "2021-06-16T13:11:29Z")

</div>

Hello,  
i have a Timer e.g. 3s this timer triggers then a Timer 8s. that's only working before i send a stop from other node. then the timer 3s couldn't trigger the timer 8s.  
i build an example flow:  
Testreihe 1  
inject A = trigger 3s = trigger 8s = works  
inject B = trigger 3s = trigger 8s = works  
inject C = trigger 8s = works  
now:  
Testreihe 2  
inject XY = timer 8s will be canceld = works  
inject A = trigger 3s = dont trigger 8s  
inject B = trigger 3s = dont trigger 8s  
after:  
inject C once - all works as first example

could anyone help me to solve?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/baedf2d15aee01abbfc17fe55590f85d3ff1c49d.png)

```auto
[{"id":"a7ec65ab.b24ca8","type":"api-call-service","z":"cbea01b8.1981a","name":"34 aus","server":"e8e06b0d.10c838","version":3,"debugenabled":true,"service_domain":"light","service":"turn_off","entityId":"light.34_esp12_rgb_licht","data":"{\"transition\":\"1\"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1155,"y":170,"wires":[[]]},{"id":"ee25d963.30e668","type":"change","z":"cbea01b8.1981a","name":"STOP","rules":[{"t":"set","p":"payload","pt":"msg","to":"stop","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":713,"y":221,"wires":[["c95466e0.c70248"]]},{"id":"608ebc53.2db9c4","type":"inject","z":"cbea01b8.1981a","name":"B","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":458,"y":119,"wires":[["a03b2020.8ed38"]]},{"id":"c064889d.def138","type":"ha-wait-until","z":"cbea01b8.1981a","name":"53 OFF?","server":"e8e06b0d.10c838","version":0,"outputs":1,"entityId":"binary_sensor.53_aqara_motion_spy","entityIdFilterType":"exact","property":"state","comparator":"is","value":"off","valueType":"str","timeout":"0","timeoutType":"num","timeoutUnits":"seconds","entityLocation":"","entityLocationType":"none","checkCurrentState":true,"blockInputOverrides":true,"x":349,"y":170,"wires":[["a03b2020.8ed38"]]},{"id":"797899b3.ac81d8","type":"inject","z":"cbea01b8.1981a","name":"XY","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":458,"y":221,"wires":[["ee25d963.30e668"]]},{"id":"c95466e0.c70248","type":"stoptimer-varidelay","z":"cbea01b8.1981a","duration":"8","durationType":"num","units":"Second","payloadtype":"num","payloadval":"0","name":"","reporting":"last_minute_seconds","persist":true,"x":947,"y":170,"wires":[["a7ec65ab.b24ca8"],[],[]]},{"id":"a03b2020.8ed38","type":"stoptimer-varidelay","z":"cbea01b8.1981a","duration":"3","durationType":"num","units":"Second","payloadtype":"num","payloadval":"4234","name":"","reporting":"last_minute_seconds","persist":true,"x":590,"y":170,"wires":[[],["c95466e0.c70248"],[]]},{"id":"a1192d91.4ba66","type":"inject","z":"cbea01b8.1981a","name":"A","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":220,"y":119,"wires":[["c064889d.def138"]]},{"id":"20beb244.18bfde","type":"inject","z":"cbea01b8.1981a","name":"C (work ever)","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":699,"y":119,"wires":[["c95466e0.c70248"]]},{"id":"e8e06b0d.10c838","type":"server","name":"Home Assistant Q","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

```

---

<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:** [16 June 2021 13:41 UTC](https://discourse.nodered.org/t/timer-cant-trigger-second-timer-solved/47241/2 "2021-06-16T13:41:03Z")

</div>

For anyone trying to replicate this the timer nodes are node-red-contrib-stoptimer-varidelay.  
Feed output 2 of the 3 second timer node into a debug node set to show Complete message and see what is there. Then read the section in the node's readme describing the operation of `msg._timerpass` ([node-red-contrib-stoptimer-varidelay (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-stoptimer-varidelay)).

Whenever you have a difference in operation between two messages that you think should be identical (in this case Inject B and the three second timer node) then it is probable that the messages are not the same, so feeding them into a debug node to check the messages is the way to identify the problem.

---

<div class="post-metadata">

**Author:** ![gotsila](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gotsila/32/43403_2.png) [@gotsila](https://discourse.nodered.org/u/gotsila)\
**Post date:** [16 June 2021 18:17 UTC](https://discourse.nodered.org/t/timer-cant-trigger-second-timer-solved/47241/3 "2021-06-16T18:17:13Z")

</div>

Hello Colin,

SOLVED 🥳  
i have removed the debug nodes of better viewing. Anyway i saw the \_timerpass, but can't explained. the idea to look at the website of the node, was not in my mind.  
thank you for your help. i read all about the \_timerpass and recognized that my nodes on v 0.4.5, so i updated it to 0.5.2 and now i can ignore the \_timerpass in the msg.

Thank you.

---

<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:** [30 June 2021 18:17 UTC](https://discourse.nodered.org/t/timer-cant-trigger-second-timer-solved/47241/4 "2021-06-30T18:17:49Z")

</div>

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