I suggest you to use the delay module in Node Red. Remember you can reset the message inside (in means after the delay will not be output) by sending an object containing only reset:1
I use only this on my flows, it saves me from code troubles
I suggest you to use the delay module in Node Red. Remember you can reset the message inside (in means after the delay will not be output) by sending an object containing only reset:1
I use only this on my flows, it saves me from code troubles