I like help with a complex rule to run my sprinkler pump. I have 4 zones that are switched when the pump goes on for a few minutes and then off. So I need to create a rule that will turn the switch on for 20 minutes then off for a couple of minutes and back on. Need to do this 4 times Monday, Wednesday, Friday.
Iām new at this and all the choices just confuse me even more. Iām pulling out the old mechanical timer and putting in a switch contractor being controlled by a toggle light switch. I donāt want to buy an sprinkler control. Iāve done this years ago with homeseer and built my own pump controller. Ran for years!
I appreciate any help with the rules as Iām that new kid to Hubitat.
Cheers,
Rene
Would something like this work for you?
You will need to play with the timings to make sure it's OK but I think it should work.
Day = Monday.
Time = 10:00
Switch = Off.
10:00 Rule becomes true.
10:02 Switch turns on. Rule becomes false.
10:22 Switch turns off. Rule becomes true again.
10:22 Rule becomes true.
10:24 Switch turns on. Rule becomes false.
10:44 Switch turns off. Rule becomes true again.
10:44 Rule becomes true.
10:46 Switch turns on. Rule becomes false.
11:06 Switch turns off. Rule becomes true again.
10:06 Rule becomes true.
11:08 Switch turns on. Rule becomes false.
11:10 Switch turns off. Rule becomes true again.
11:10 Rule becomes true.
11:08 Switch turns on. Rule becomes false.
11:10 Switch turns off. Rule remains false as we are no longer between times.
Or here is how I run my pool chlorine pump for X minutes multiple times per day.
Thank you... What is the Virt-Test Away Mode do? Testing if we are away from house?
I appreciate the quick feed back and will play with this and give some adjustments. Something to start with as I'm having an issue getting off center stage....
Rene
It's just a switch I use to test my away mode functionality.
Could be a pool switch, light switch anything.
I just picked it to give you an example.
Thanks JasonJoel, think this is more in line with what I want to do. I'll try building this for a rule and see how it performs.
Cheers -- Rene
I followed your rule and created mine. I tested with a light I had to to know how it acts. Think it comes on and stays on. I need to have it shut off in 15mins and stay off for a few seconds and then back on for 15 mins, doing this 4 times in order to cycle the zone valve.
The select action for true repeats every 15 mins need to turn off and back on. How can I fix this?
I would do it like I did in my rule and put the repeat, on, and delay off all in the TRUE section.... Then just set the delay OFF 1 minute less than the repeat cycle time.
So repeat every 15 min, delay off @ 14 min...
Or if minutes isn't granular enough, use seconds for the delay and repeat times - repeat = 900, off delay = 885.
Thanks I'll try that.... Rene
Ok made the correction. does this look better? I maybe a systems administrator, but programmer I'm not to say.
Thanks again for you help.... Cheers - Rene
1 Like
Looks like it would work to me.