X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: russ on December 09, 2004, 07:52:24 PM

Title: Smart Macro Module status Question
Post by: russ on December 09, 2004, 07:52:24 PM
When I create a Macro I am having a problem
with the Module status condition. I have
several that use A-10 and the Macros
condition says “turn on outside lights if A-
10’s status is off”. This works fine.
Now I am creating a Macro that says “turn
basement lights on if B-1 is off”. The
problem is Active home pro only monitors
one house code at a time, if I change the
monitored code to B in order to be able to
select B-1 it changes all the Macros with a
Module status A  to B  and that macro stops
triggering. Any ideas or am I doing
something wrong or is this a limitation of
AHP?
Title: Re: Smart Macro Module status Question
Post by: donald mcmow on December 10, 2004, 10:30:31 AM
3 things - Yes the limitation is within the
hardware at this time anyways.

But, you can work around it in 2 ways that
I can think of:

#1 - Put all modules that you want to
monitor on 1 house code so that they can be
monitored and create macros in the rooms
where they would be used and triggered
from. You don't need to keep all of your
other lights on the same house code since
all the background activity will take care
of triggering the lights.

#2 - Assuming you have the Smart Macro Plug-
in, use your conditional flags for keeping
track of the light's status and check when
you trigger the macro's. The big thing here
is that ALL of your monitored modules would
have to be controlled from a macro so that
you could set/clear the desired flags. You
would not be able to control the lights
directly and be able to check the status.
All of your macros would have to set and
clear the flags as desired for the system
to work properly - alot more work in
setting things up - and easier to get a bug
in if you forget and start controlling
your "monitored" lights directly (ie: "A"
light gets turned on with out setting flag
#1. Your macro tests flag #1 and since it
is not set it doesn't turn the rest of the
lights off).

I hope this helps a little bit.
Title: Re: Smart Macro Module status Question
Post by: Tuicemen on November 30, 2006, 11:04:57 AM
There is a third way to work around this.

Create phantom/dummy modules (http://www.x10community.com/forums/index.php?topic=8807.msg53198#msg53198) and have them as the monitored house code

Create macros which turn them on/off when the module you want to watch is turned on/off

Then in your other macros you watch the status of the Phantom/dummy modules that corespond

This also gives you a quick visual of the status for these modules from AHP! ;) :D ;D