petergridge / Irrigation-V5

Irrigation custom component for Home Assistant
GNU General Public License v3.0
54 stars 10 forks source link

[Features] - Add Interlock Option to schedule programs #58

Closed Loic691 closed 1 month ago

Loic691 commented 2 months ago

At now, interlock is default true and no programs is run if they have the same start time.

If no difficulties, is it possible to add an option to schedule programs, which have the same start time, one after the other. Or change default behavior to schedule instead of not run ?

petergridge commented 2 months ago

I'm not sure what you are trying to achieve.

Have you tried putting zones on different schedules and making a single program? For example the program can have a default frequency of 3 days, but zone 1 can be an exception and have it's own frequency of 1 day. Then you don't need two programs starting at the same time. The zones that are to run will run sequentially and those that do not need to run are ignored.

The interlock function was designed for larger installations that have pumps and want to run several pumps irrigating different areas.

Loic691 commented 2 months ago

I have an automation which set starting time to sunrise each program Each program (flower and grass) have differents parameters and different zones I prefer keep this mode beacause I can launch individually grass and flower.

I can't launch program in same time because I have pressure problem...

So a workaround could be to set grass prog to sunrise - 1h and flower prog to sunrise + 1h