Pool Pump Automation

Works like a charm!

Back to the pool pump..... I'm going to need to add your loop or some way to make sure the pump starts and stops. It missed the off command last night. I've got a poly enclosure to put it in or move it inside the basement and run the 2w control to the starter. That's on the schedule for the weekend.

If you can't monitor power usage, maybe a vibration sensor? Might still have the issue of communication with it.

Could just try always waiting 15 to 30 seconds send another command in case the first one didn't work.

It would be good if I could find an inexpensive way to monitor the load. The pump is 240v/1P 1 1/2 hp. I have plenty of industrial strength metering options but they are extremely pricey for home use.
Have you run across anything that might work with Hubitat?

If not, repeating the command could be the best thing.

I'm just going to pick up a dry run contact from starter to the sense terminals on the Zen 17, that should suffice for what I need. I know what kind of current the pump draws from my amprobe

Finally got around to adding the repetitive commands. This rule seemed to work ok up until early this morning:


at 3:48:07 the OFF command doesn't stick and the rule starts to repeat like it's supposed to.

After 5 tries it still doesn't turn OFF but the rule keeps running until it's time to turn ON at 4:50:08 then the rule stops. Is it because the run contact is still CLOSED? At 7:53 I manually stopped the pump.

I thought the rule would keep running until the relay eventually responded to the command.
I tried this rule out on a spare ZEN17 and used a switch to simulate the run contact opening and closing and never had the rule stop. What I couldn't simulate was the relay failing to respond to the command.

I'm beginning to think an old school programmable time relay would be a better solution :slight_smile:

Your while loops dont have any actions in them, what are they supposed to be doing?

If you want to Turn it off then make sure it is off the While loop should run while ON, and the action in the loop should be to send another Off command.

Also your blank "Wait for Event:" you should change to just a delay actions of 1 hr.

So ultimately this rule loops on itself as well right? Pump stays on for 2 hours, off for 1hr, then turns on again which then triggers the rule to run again?

1 Like

I think a wait for event is ok, although a delay would work as well.

As mentioned above you have the loop whiles backwards. You want to loop, if the device did not respond. Inside the loop you want to resend the action that did not occur. Once it does it will exit the loop, if the device is working properly it should not loop at all.

The original post mentioned KISS.
The ZEN17 does auto on/off, all by itself.
I think you could set it do do 2 hours on and 1 hour off 7 days a week.
I just did that on my spare ZEN17 using minutes instead of hours.
Problem is, how do you stop it?
I think I would plug the transformer powering the ZEN17 into a smart plug and turn it on and off that way.
It would pick up where it left off when the plug was turned on.
I had to adjust parameters 6,7,15,16 as per the advanced settings manual.

This approach would certainly be easier, and potentially more reliable.

1 Like

I see what you mean, here's my next try.

I'm still not sure why the commands fail, the hub is indoors and the relay is outdoors, in a poly enclosure by the pool equipment. It's only about 25' away. As discussed earlier i'm thinking it's a z-wave issue although my manual commands never fail.

I’m not familiar with that device, but when the pump is off the contact is closed? That seems backwards,

No, it's just an auxiliary contact on the motor starter tied across the S1-C terminals on the ZEN17. When contact is closed pump is running.

My thought process is that if the off command is given and fails then the contact is still closed and keep repeating the off command until it opens.

Am i β– β– β–  backwards here?

I had gotten this to halfway work before I discovered how to expose all the attributes on the ZEN17. So I didn't change course.

Okay, should work then.

Perhaps you should add a notification, that if it gets past the loop and it’s still on or off it will let you know.

Good idea, right now it sends me a notification when the RUN contact changes state.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.