jdunne Posted August 18, 2012 Posted August 18, 2012 I am trying to understand what is going on with the weather bug variables. I have read the various threads and I think I understand the basics. So if I understand things, "Irrigation requirement" variable is the amount of water you want to add back into your yard. The "Cycle Complete" will subtract the amount of water specified in the "water applied per irrigation cycle" from the current "Irrigation requirement". However I do not seem to be getting this behavior. I am calling the "cycle complete" each at the end of my irrigation program. But the value just keeps going up every day. It does not seem the "Cycle complete" is doing anything In the weather bug program, I have set the "water applied per irrigation cycle" to .5 this is my basic program: If Time is 11:00:00PM And Module 'Climate' Irrigation Requirement >= 0.5 inches Then Send Notification to 'Default' content 'irrigation stats' Set 'irrigation / Lawn Back center' On Wait 5 minutes Set 'irrigation / Lawn Back edges' On Wait 5 minutes Set 'irrigation / Lawn Front' On Wait 5 minutes Set 'irrigation / Lawn Entry Way' On Wait 5 minutes Set 'irrigation / Bamboo Entry Way' On Wait 5 minutes and 5 seconds Set 'irrigation / Bamboo back' On Wait 5 minutes and 5 seconds Set 'irrigation / Garden' On Wait 6 minutes and 5 seconds Set 'irrigation / slope' On Wait 5 minutes and 5 seconds Set 'irrigation / horsetail planter' On Wait 6 minutes and 5 seconds Set 'irrigation / Side Window Planter' On Wait 2 minutes and 5 seconds Set 'irrigation / Side Window Planter' Off Irrigation - Cycle Complete Send Notification to 'Default' content 'irrigation stats' Else - No Actions - (To add one, press 'Action') However after one week of running this program the value of "Irrigation requirement" just keeps going up. It does not look to me that the "cycle complete" is doing anything. I am kind of stumped. Day7 ET 0.3828 inches/day Irrigation requirement 1.4673 inches Water Deficit yesterday 0.2471 inches Day6 ET 0.359 inches/day Irrigation requirement 1.3852 inches Water Deficit yesterday 0.2688 inches Day5 ET 0.3705 inches/day Irrigation requirement 1.1507 inches Water Deficit yesterday 0.2887 inches Day4 ET 0.3313 inches/day Irrigation requirement 0.9519 inches Water Deficit yesterday 0.2843 inches Day3 ET 0.4178 inches/day Irrigation requirement 0.8325 inches Water Deficit yesterday 0.3771 inches Day2 ET 0.2721 inches/day Irrigation requirement 0.6203 inches Water Deficit yesterday 0.2708 inches Day1 ET 0.3625 inches/day Irrigation requirement 0.5145 inches Water Deficit yesterday 0.3777 inches
Michel Kohanim Posted August 20, 2012 Posted August 20, 2012 Hi jdunne, The problem is that the Wait statement can be interrupted and, in fact, it's being interrupted. By this I mean that when the condition turns false (say, it's no longer 11:00 PM + grace period), then ISY will interrupt the Wait that it was waiting on and stops the program altogether. I suspect some of your zones are not being watered either. If you have to use Wait statements, then what you need to do is to make another program WITHOUT any conditions and have this program call Run Then on it. With kind regards, Michel
jdunne Posted August 21, 2012 Author Posted August 21, 2012 Thanks Michel, could I also just add a for statement to the if condition? That is say if 11PM, for 2hrs That would extend the grace period with plenty time to spare (2 hrs)?
TJF1960 Posted August 21, 2012 Posted August 21, 2012 Hello jdunne, You could, but the other possible issue would be if the "'Climate' Irrigation Requirement" changes while the program is running it would start the program over again so what has been watered would be watered again. Michel's suggestion of breaking the program into two is your best option for non-interrupted watering. Tim
Recommended Posts