Sorry folks, this is a new one which has just presented itself to me:
The delay
node is nide if I want to send a second message a time after the first message is received.
Here's the catch:
Say I want to create a chain of message from an input?
Explanation:
"message"/trigger received.
Message 1 sent.
(delay 'n' seconds)
Message 2 sent.
(delay 'm' seconds)
Message 3 sent
.
.
.
and so on.
I am not going to specify a number of repeats, but I hope you get the idea.
I'm playing with the delay
node but I'm missing something.
Code for looking:
[{"id":"71543c1d.99057c","type":"trigger","z":"baf80d2f.6bd538","op1":"1","op2":"2","op1type":"num","op2type":"num","duration":"1","extend":false,"units":"s","reset":"","bytopic":"all","name":"Dusk/Night","x":290,"y":4140,"wires":[["950ed433.63bc18","6c43cf50.11bc4"]]},{"id":"347b2ba5.627644","type":"inject","z":"baf80d2f.6bd538","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":4140,"wires":[["71543c1d.99057c"]]},{"id":"950ed433.63bc18","type":"debug","z":"baf80d2f.6bd538","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","x":430,"y":4080,"wires":[]},{"id":"6c43cf50.11bc4","type":"trigger","z":"baf80d2f.6bd538","op1":"","op2":"3","op1type":"pay","op2type":"num","duration":"4","extend":true,"units":"s","reset":"","bytopic":"all","name":"Dusk/Night","x":460,"y":4140,"wires":[["e91bbb38.384a6","a8ace34a.a075"]]},{"id":"e91bbb38.384a6","type":"debug","z":"baf80d2f.6bd538","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","x":600,"y":4080,"wires":[]},{"id":"a8ace34a.a075","type":"trigger","z":"baf80d2f.6bd538","op1":"","op2":"4","op1type":"pay","op2type":"num","duration":"5","extend":true,"units":"s","reset":"","bytopic":"all","name":"Dusk/Night","x":640,"y":4140,"wires":[["211ad58e.ed0502"]]},{"id":"211ad58e.ed0502","type":"debug","z":"baf80d2f.6bd538","name":"********* Output ************","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","x":600,"y":4200,"wires":[]}]
***** output ******
is the node of interest.
I have the other output nodes while trying to get it working.
But it doesn't seem to be doing what I want.
Sorry for not getting it.
Anyone?