sanders2222 Posted August 1, 2011 Posted August 1, 2011 I recently added the WeatherBug module and have 3 programs that check rainfall (sprinklers) and/or temperature (HVAC). I set my module Polling Interval to every 3 minutes. I notice under my Program/Summary tab, 2 programs that include the module temperature in the 'if' clause seem to run frequently throughout the day, even though if conditions remain false. The program that deals with rainfall only does not run (maybe because it's not raining today). Does the polling interval have something to do with this? OR are they evaluated anytime the polled temperature or rainfall changes from the last poll? For example, in my program WB_RainReset: If Time is 6:00:01PM And Module 'Climate' Temperature > 78 °F And Module 'Climate' Rain Today < 0.11 " Then $iWB_NextIrrigateDay = $iDayofYear $iWB_NextIrrigateDay Init To $iWB_NextIrrigateDay Else - No Actions - (To add one, press 'Action') This program seems to run frequently, even though the status of the if clause does not change and it's not 6 PM. Watching for awhile today the above program ran at 4:10:46, 4:16.46, 4:28:46 and 4:40:47 (time intervals seem almost divisible by 3 minutes). Maybe 'when the program runs' is not important, as long at the correct evaluation takes place when it does. It just seems like a lot of unnecessary ISY CPU traffic.
Michel Kohanim Posted August 1, 2011 Posted August 1, 2011 Hello sanders2222, Programs run when the conditions change. This does NOT mean that the program evaluates to true. It simply means that the conditions have changed and thus must be re-evaluated. Yes, the polling interval does have an impact IF AND ONLY IF it changes the conditions in your If statement. With kind regards, Michel
sanders2222 Posted August 1, 2011 Author Posted August 1, 2011 Thanks Michel for the quick reply to my mind-numbing questions. And on a Sunday evening no less! U-D customer service is second to none. You make home automation possible at an affordable cost! I for one, am looking forward to the coming Elk update. Jim
Recommended Posts