Hizzle Posted February 6, 2021 Share Posted February 6, 2021 I hate to ask this somewhat basic question but I'm having an issue with my programming. I have a well pump which should only run for 6 hrs then shut off for 2 hrs, to refill, and keep repeating. I set up the pump on a Relay (light) but can also set it up as a motor relay. The issue I'm having is that the conditional programming doesn't seem to work. I want to activate a "light scene" and then have the pump work until I shut it off. I also want it to push me a notification every time it comes on, so that I know when it is working. I tried the below. It turns the pump on but it doesn't seem to follow the programing. Can you give me some thoughts on the best way to program this? Most appreciated. Quote Link to comment Share on other sites More sharing options...
RAV Posted February 6, 2021 Share Posted February 6, 2021 I'd do.... Timer Pump On - 6 hours Timer Pump Off - 2 hours Variable Max Run - 10 times? Trigger xyz, start timer Pump On, turn on Pump, set var Max Run to 1, send push it's on When Timer Pump On Expires, turn off pump, start Timer Pump Off, send push it's off When Timer Pump Off Expires, If Max Run is less than 11? then turn on Pump, Start Timer Pump On, increment Var Max Run +1, send push it's on Trigger xyz kill it, stop timer Pump On, stop timer Pump Off, set Max Run to 0, send push it's stopped Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.