#How to reset trigger node in Node-red
1 messages · Page 1 of 1 (latest)
Still struggeling with this. I made a second state node and used msg.reset to reset the trigger node but it remains repeating
https://pastebin.com/9Wj8bQWy
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
So if the HA entity is 'off' the trigger node should stop repeating....
Not very fluent in NR but I think you want the off/uit node to also send the state of the entity in msg.payload. Now you send the content of msg.reset in msg.payload which i'm not even sure is defined. You're not sending a msg.reset in the output this way.
So just clone the on/aan node and only change it to check for the off state.
@crude stone
try this maybe it would make more sense
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.