petergridge/Irrigation-V5

Running multiple zones in parallel

Opened this issue · 5 comments

Hello,
I'd like to run 2 zones in parallel under the same program.
Program: Morning (starting at 6:00).
Zone 1 switch: Open for 20 minutes (end at 6:20).
Zone 2 switch: Open for 60 minutes (end at 7:00).
Using "Group" is not good - it makes all switches open and close together.
Using "Zone Delay" with negative value is working, but it's not synchronized with the times of each separate zones. For example, if I want to change Zone-1 to 40 minutes, I'd need to manually change the "Zone Delay" too.

It'd be very helpful to allow running the zones together. Meaning, allow changing the default policy of running them sequential.
One way to allow it: use same "order" value for both zones, which will tell the program to start them together.

Thank you!

You can set up a similar solution using two programs and unselecting the interlock 'Prevent programs running concurrently' option.

I will look at adding the feature into the solution.
image

I found a small trick to allow running zones in parallel - remove the 'break' in the first look in 'run_monitor_zones'. But I prefer to stay aligned with the original code, so I will split the Program as you suggested.

By the way - I've noticed a small issue when giving a large minus value for "zone delay". When I used anything larger than the max zone time (-3605 seconds in my example), the Program aborted a second after starting. But the zones kept running.

Hi,
I have a new version coming out soon, I have added a feature for the degree of parallel running, not sure what to call it. But the idea is you can let 2,3... zones run in parallel, whatever the water pressure will support and as one ends the next one will start to always having the number of zones that match the degree of parallel running

The zone transition capability will be disabled when the degree of parallel is > 1 as the feature becomes meaningless in this context.

I am currently working through the issues with calculating the total run time in this context.

Still a lot of testing to go but this is my last feature to add to the code and I expect the new release will be available late this year or early next.

Hi I have finally release V2024.12.01bo. This is a beta release. Any feedback is welcome

Thank you. I will download the beta release and update here.