How can we stop inject node from being in running at interval?
use 2 injects and a Trigger node
e.g.
[{"id":"7bfbfb1e.26447c","type":"inject","z":"c74669a0.6a34f8","name":"","props":[{"p":"payload"},{"p":"delay","v":"10000","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"message","payloadType":"str","x":140,"y":3140,"wires":[["17a7f96a.e182b7"]]},{"id":"17a7f96a.e182b7","type":"trigger","z":"c74669a0.6a34f8","name":"resnd every msg.delay","op1":"","op2":"0","op1type":"pay","op2type":"str","duration":"-10","extend":false,"overrideDelay":true,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":380,"y":3140,"wires":[["1cfc2b42.71f955"]]},{"id":"e666349b.a270d","type":"inject","z":"c74669a0.6a34f8","name":"reset","props":[{"p":"reset","v":"true","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":110,"y":3180,"wires":[["17a7f96a.e182b7"]]},{"id":"1cfc2b42.71f955","type":"debug","z":"c74669a0.6a34f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":620,"y":3140,"wires":[]}]
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.