X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: SPSACH on September 15, 2007, 11:27:06 AM

Title: Making Macros Inactive in AHP
Post by: SPSACH on September 15, 2007, 11:27:06 AM
I want certain smart macros in AHP to be active only when I am not home. Is there a way to make them inactive i.e they should not trigger  when I come back home.
Title: Re: Making Macros Inactive in AHP
Post by: steven r on September 15, 2007, 11:41:55 AM
I'd use a flag and set it when you're at home. Then have the macros only execute when the flag is set.
OR.. Set the flag when you leave have the macros only execute when the flag is clear.
Get the idea?

I have a pair of macros linked by an else that execute welcome or exit depending on whether my at home flag is set. Then driving over a switch I made in the garage either turns on a welcome light for me or shuts off all the lights when I leave. In both cases the garage door closes automatically, in 20 sec if I'm leaving and about 5 min if I'm coming home.