Looking for suggestions about the best way to do this.
I have a new install of AHP and it has been working flawlessly. Timers with Smart Macros are turning modules on and off on both AC phases without any couplers or filters.
I would like to purchase a 2 way Rain8 irrigation controller
http://www.wgldesigns.com/rain8.htmlIt is very easy to configure AHP to use a single Macro for all irrigation zones. Here is an example macro with 1 zone and 3 start times. Other zones can be inserted in the same macro to irrigate all zones with one or all of these multiple start times:
Irrigate 1 M1 ON
Turn Valve 1 L1 ON
Delay 5 Minutes (set watering time for a Zone 1 cycle here)
Turn Valve 1 L1 OFF
Delay 55 Minutes
Turn Valve 1 L1 ON
Delay 5 Minutes (set watering time for a Zone 1 cycle here)
Turn Valve 1 L1 OFF
Delay 55 Minutes
Turn Valve 1 L1 ON
Delay 5 Minutes (set watering time for a Zone 1 cycle here)
Turn Valve 1 L1 OFF
Timers: (June-August irrigate 4 days a week, May and September 3 days, April and October 2 days)
Macros - Irrigate 1 (M1): at 3:00 AM Sundays, Wednesdays, April 1 to October 31
Macros - Irrigate 1 (M1): at 3:00 AM Fridays, May 1 to September 30
Macros - Irrigate 1 (M1): at 3:00 AM Mondays, June 1 to August 31
While very simple, the above approach depends on 100% X10 signal reliability, tempting Murphy's Law.
I would like to use AHP Smart Macros where checking the Status of a zone will resend the X10 ON and OFF commands to a zone every 2 seconds for about a minute or until the Status confirms the command was received. Periodically I could check the activity log to see if multiple commands were needed as a heads up that the X10 signal path needs improvement.
Here's what I have come up with conceptually for the 1st of 8 available Rain8 irrigation zones:
"Valve L1" is a 2 way Rain8 irrigation zone (Monitored House Code = 'L')
Flag 2 is used as a "Rain Switch". Set ON to enable irrigation, OFF to disable irrigation (when it's raining)
Phantom Appliance Modules are shown with the same name of the Macro each triggers
Irrigate 1 3:00 M1 ON
IF Flag 2 is ON AND Time between 3:00 AM and 3:01 AM AND OFF Valve L1
Turn Valve 1 L1 ON
Turn Cycle 1 C1 ON (phantom module)
Delay 2 Seconds
Turn Irrigate 1 3:00 M1 ON (phantom module)
Cycle 1 C1 ON
IF ON Valve L1
Delay 5 Minutes (set watering time for a Zone 1 cycle here)
Turn Off 1 M1 OFF (phantom module)
Off 1 M1 OFF
IF Time between 3:05 AM and 3:08 AM AND ON Valve L1
Turn Valve 1 L1 OFF
Delay 2 Seconds
Turn Off 1 M1 OFF (phantom module)
Timers: (June-August irrigate 4 days a week, May and September 3 days, April and October 2 days)
Macros - Irrigate 1 (M1): at 3:00 AM Sundays, Wednesdays, April 1 to October 31
Macros - Irrigate 1 (M1): at 3:00 AM Fridays, May 1 to September 30
Macros - Irrigate 1 (M1): at 3:00 AM Mondays, June 1 to August 31
Each irrigation zone would require 3 macros and 3 timers for the 1st start time.
Each irrigation zone would require 2 macros and 3 timers for each additional start time.
Zone 1 Misters - 2 start times = 5 macros and 6 timers
Zone 2 Turf - 3 start times = 7 macros and 9 timers
Zone 3 Turf - 3 start times = 7 macros and 9 timers
Zone 4 Drip - 1 start time = 3 macros and 3 timers
That's a total of 22 macros and 27 timers.
Will this work?
Is there any Smart Macro equivalent to OR conditions in parenthesis? For example this would allow one macro to handle 3 start times:
IF Flag 2 is ON AND
(Time between 3:00 AM and 3:01 AM OR Time between 4:00 AM and 4:01 AM OR Time between 5:00 AM and 5:01 AM
) AND OFF Valve L2
Is there an easier way to do this?
Thank-you for reading all of this