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

Queue manual runs #105

Open
crazyfx1 opened this issue May 8, 2023 · 11 comments
Open

Queue manual runs #105

crazyfx1 opened this issue May 8, 2023 · 11 comments

Comments

@crazyfx1
Copy link

crazyfx1 commented May 8, 2023

Is your feature request related to a problem? Please describe.
Currently I'm reseeding parts of my lawn and therefore use the manual run card to start individual zones for individual times. With the current implementation I need to wait until a running zone is finished before I can start another zone, since multiple zones can be activated simultaneously.

Describe the solution you'd like
It would be great if I could just queue multiple manual runs and they run one after each other. So with the manual run card I would put in for example:
Zone 1: 4min -> Run,
Zone 2: 5min -> Run
And then the component would run those zones after another.

Describe alternatives you've considered

Additional context

@rgc99
Copy link
Owner

rgc99 commented May 25, 2023

What about creating a sequence and then firing it as a manual run? Just remember the time is the total duration so you would need to run the sequence for 9 minutes.

@crazyfx1
Copy link
Author

crazyfx1 commented May 30, 2023

The sequence would mean that the order, the zones and the proportional runtime is fixed.
If I wanted another order, different zones or different proportional runtimes, I would need to create a new sequence in the yaml file.

My idea was the possibility to run different zones in different order with different times without creating anything in the yaml file.
Example:
Day 1:
Zone 1: 5min, Zone 2: 4min
Day 2:
Zone 2: 6min, Zone 3: 1min, Zone 1: 4min
Day 3:
Zone 4: 2min, Zone 1: 5min

@rgc99
Copy link
Owner

rgc99 commented Jun 1, 2023

At the moment you would have to create three sequences. There is no limit to the number of sequences.

@andreid1303
Copy link

+1
Not clear for me how the integration queue overlapping sequences started automatically, does it check that first one is already in timeline and delay the second one until first finishes?
If so why not schedule manual runs queue same way?

Usual user can not add a new sequence, when manually queued the zones start immediately and appeared in history but actually haven't being irrigated because in my case only one zone is allowed to run simultaneously by automation.

@rgc99
Copy link
Owner

rgc99 commented Sep 13, 2023

All sequences are independent of each other. They may overlap in which case a zone will be on if one or more schedules turn it on and off when all schedules have finished - kind of like an 'or' situation.

I have experimented with queuing manual runs and it works. The one problem I can see is there is no delay which I know will be required. Some people want a small delay between zones and others want the next zone to start before the current one finishes (negative delay) to avoid pump on/off cycles. The ideal solution is to add a delay parameter to the service call but this would make it difficult or messy to operate from the card. Another possibility perhaps is to add a manual_delay setting somewhere in the configuration.

Unclear about this.

@rgc99
Copy link
Owner

rgc99 commented Oct 18, 2023

Changes have been made to allow manual runs to be queued. You can queue individual zones or entire sequences. The code is in the repository but not yet released, please manually install and comment. You need to add a configuration option to the controller object to enable the behaviour.

irrigation_unlimited:
  controllers:
    - name: "Controller 1"
      queue_manual: true # <=== Add this line
    ...

@andreid1303
Copy link

I have tested queue_manual for running two zones and it works without overlapping. Thank you very much!

@lionslair
Copy link

Will this be in the next release?

@rgc99
Copy link
Owner

rgc99 commented Dec 30, 2023

This feature is available in the current release.

@lionslair
Copy link

This feature is available in the current release.

Sweet thanks

@SimoHDK
Copy link

SimoHDK commented Jan 31, 2024

Hi Robert,

Whilst the queing works well on my end, it does not seem to appear on the companion card as 'Queued' like you would see when running a sequence.

Could this kindly be added?

Cheers.

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

5 participants