Jump to content

Repeat On and Off Water Pump Switch


Liber93

Recommended Posts

Thanks for the help in advance.

 

For some odd reason I cannot get the simplest of programs to work.

 

I want my water pump to come on for 1 minute, then switch off for 5 minutes - and repeat this schedule 24/7.  On 1-minute, Off 5-minutes, repeat.

 

Any suggestions?

 

 

Link to comment

The above then section is perfect.  But I wouldn't do the If that way.  At midnight the program will reset and you won't end up with your 1/5 thing.  Probably it doesn't really matter, but in the interest of doing things the best possible way, I would do something like

 

IF 

From 9 am 5/24/2017 (or any other time in the past)

To 9 am 5/24/2035 (or any date far off in the future, but not too far i the future since that seems to screw up ISY.)

Then

what Paul said

 

Be sure to click "enable at startup" in the program summary page.  

 

EDIT:  Also be sure to right click on it after you save the program and click "run if", this will start the loop.  Otherwise the loop won't start until the next reboot.

Link to comment

Hi

This is the general idea but you'll need to test it

If
        From    12:00:00AM
        To      12:00:00PM (same day)
 
Then
        Repeat Every  6 minutes 
           Set 'Pump' On
           Wait  1 minutes 
           Set 'Pump' Off

Paul

That would be every 7 minutes due to a syntax error in the ISY syntax. This is just to call attention to users attempting to make time critical programs.

 

Should have been somethig like Repeat and Wait 6 Minutes.

 

Also the OP wanted 24/7 so he can remove the "to 12:00 PM" line.

 

I like to use several OR times durig the day to restart any Repeat loop stalling, sooner, ie...when you edit the program, or the power cycles to ISY.

Link to comment

 

 

I like to use several OR times durig the day to restart any Repeat loop stalling, sooner, ie...when you edit the program, or the power cycles to ISY.

 

I suppose another option would be no If statement, and mark it as "Run on Startup"

Link to comment

I suppose another option would be no If statement, and mark it as "Run on Startup"

For sure, but then when editing programs, I sometimes forget to start the program again. I've been caught a few times now. :(

 

Right now I rely on multiple times as I cannot depend on the "Run at startup" option.

 

The usual fix is to add another program that kickstarts all these programs (Then). Another easy to forget item though.

 

 

Hopefully UDI will add this option Run at startup, "If", "Then", "Else", to alleviate this problem. :)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...