feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

Sprinkler - Run a valve for a specific amount of time.

Open Zebble opened this issue 2 years ago • 3 comments

The start_single_valve action works for starting a specific valve. The problem is that it uses the current run_duration for that valve and also uses the current multiplier so you can't tell the valve to run for a very specific amount of time.

The workaround is to use the following sequence:

clear_queue_valves queue_valve start_from_queue

This is an acceptable alternative but may clear a queue that we don't necessarily want to clear.

Zebble avatar Sep 24 '22 20:09 Zebble

@kbx81

nagyrobi avatar Sep 25 '22 01:09 nagyrobi

Would it make sense to simply extend the start_single_valve action to accept a run duration when it's called? ...and then if no duration is provided, assume the already configured run_duration * multiplier?

kbx81 avatar Sep 25 '22 02:09 kbx81

Would it make sense to simply extend the start_single_valve action to accept a run duration when it's called? ...and then if no duration is provided, assume the already configured run_duration * multiplier?

That would be a perfect solution!

Zebble avatar Sep 25 '22 15:09 Zebble