Search code examples
javascriptnode.jsnode-red

How to stop injection node repeating in node-red


So one of the basic nodes in node-red is the inject node which helps to start a flow. In "edit inject node" tab you can enable the repeat option and choose an interval between the consequent injections. My question is how can I stop this repetition when it has already started. It doesn't seem that there is any available option like this. More specific I would like to stop the repetition on two cases, either when a specific condition is met, or when a specific amount of time has passed.


Solution

  • Check this post on Node-RED forum: How to stop a inject node from working