Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node-Red Run Once restarts timers #90

Open
LuisMMMTS opened this issue Oct 20, 2024 · 3 comments
Open

Node-Red Run Once restarts timers #90

LuisMMMTS opened this issue Oct 20, 2024 · 3 comments

Comments

@LuisMMMTS
Copy link

In Node red, no preemption:

  • Start Run Once Program
  • let it run for 5 seconds
  • Start another Run Once program for other zone

Observe that when second run once is sent/started the timer for the first run once resets and starts from beginning again

@Dan-in-CA
Copy link
Owner

Thanks, I will take a look.

@Dan-in-CA
Copy link
Owner

Dan-in-CA commented Nov 1, 2024

Run once acts like a regular program with program number 98 (or 100 if started from node-red). Starting a second run once program replaces any existing one.

If you want to start multiple programs you can create them on the programs page and set them to off so they will not run automatically. Then you can start them from node-red with the "run now" node.

If you need to set run times for stations - like a run once program - you could use the station-switch node to start the stations, do the timing in node-red and use the station-switch node to stop the stations at the end of the run.

Dan

@Dan-in-CA
Copy link
Owner

Dan-in-CA commented Nov 2, 2024

There is another way to get run once to do what you want.
on the SIP options page go to Station Handling and
turn off Sequential
turn on Individual Duration

Turning off Sequential can cause problems with some irrigation schedules because it allows multiple stations to run at the same time (concurrent mode).

Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants