ISY-99i/ISY-26 INSTEON:Auto Irrigation Program v1
This runs irrigation based on the WeatherBug's Rain Today information.
Var_RainInPast36Hours - which is an empty flag program. It is set and managed by two programs Weather_RainCountdown and Weather_RainFall.
If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then - No Actions - (To add one, press 'Action') Else - No Actions - (To add one, press 'Action')
Weather_RainCountdown - When triggered, it sets the Var_RainInPast36Hours program to true, waits for 36 hours, then sets the same to false. The countdown program is broken out into another program because the first program was stopping during the Wait portion whenever WeatherBug reported Rain Today as zero inches (because the conditions were being re-evaluated). This way the countdown should run uninterrupted for 36 hours.
If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Run Program 'Var_RainInPast36Hours' (Then Path) Wait 36 hours Run Program 'Var_RainInPast36Hours' (Else Path) Else - No Actions - (To add one, press 'Action')
Weather_RainFall - It restarts the countdown each time WeatherBug reports that Rain Today is greater than zero inches:
If Module 'Climate' Rain Today is not 0 " Then Stop program 'Weather_RainCountdown' Run Program 'Weather_RainCountdown' (Then Path) Else - No Actions - (To add one, press 'Action')
Var_TempBelow40 - which is an empty flag program. It is set and managed by one program Weather_TempBelow40Check.
If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then - No Actions - (To add one, press 'Action') Else - No Actions - (To add one, press 'Action')
Weather_TempBelow40Check - checks the temp and updates the flag program. This program is updated each time the WeatherBug module updates.
If Module 'Climate' Temperature < 40 °F Then Run Program 'Var_TempBelow40' (Then Path) Else Run Program 'Var_TempBelow40' (Else Path)
Var_TempAbove90 - which is an empty flag program. It is set and managed by one program Weather_TempAbove90Check.
If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then - No Actions - (To add one, press 'Action') Else - No Actions - (To add one, press 'Action')
Weather_TempAbove90Check - checks the temp and updates the flag program. This program is updated each time the WeatherBug module updates at 3 pm when it is usually the hottest part of the day. This temp will be the previous day so there is some margin of error.
If Module 'Climate' Temperature > 90 °F And Time is 3:00:00PM Then Run Program 'Var_TempAbove90' (Then Path) Else Run Program 'Var_TempAbove90' (Else Path)
Run_IrrigationSchedule - the Var_RainInPast36Hours program is used as a condition for my irrigation program as follows:
If On Mon, Wed, Fri Time is Sunrise - 1 hour and 30 minutes And Program 'Var_RainInPast36Hours' is False And Program 'Var_TempBelow40' is False Then Run Program 'Run_IrrigationStations' (If) Else - No Actions - (To add one, press 'Action')
Run_IrrigationStations - the Var_TempAbove90 program is used as a condition for my irrigation program as follows:
If Program 'Var_TempAbove90' is False Then Set 'Station1 Front Lawn1' On Wait 8 minutes Set 'Station2 Front Lawn2' On Wait 8 minutes Set 'Station3 Back Lawn1' On Wait 60 minutes Set 'Station4 Back Lawn2' On Wait 60 minutes Set 'Station5 Front Drip1' On Wait 60 minutes Set 'Station6 Front Drip2' On Wait 60 minutes Set 'Station7 Back Drip1' On Wait 60 minutes Set 'Station8 Back Drip2' On Wait 60 minutes Set 'Station8 Back Drip2' Off Else Set 'Station1 Front Lawn1' On Wait 10 minutes Set 'Station2 Front Lawn2' On Wait 10 minutes Set 'Station3 Back Lawn1' On Wait 90 minutes Set 'Station4 Back Lawn2' On Wait 90 minutes Set 'Station5 Front Drip1' On Wait 90 minutes Set 'Station6 Front Drip2' On Wait 90 minutes Set 'Station7 Back Drip1' On Wait 90 minutes Set 'Station8 Back Drip2' On Wait 90 minutes Set 'Station8 Back Drip2' Off