X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: julian on March 07, 2005, 12:56:06 AM

Title: Flags - We need more of them!!!
Post by: julian on March 07, 2005, 12:56:06 AM
X10 Pro - Since virtually every macro has to
have flags (to avoid execution of the same
macro over and over again), especially when
trigerred by motion sensors, I would like to
make a proposal: Can you create Flags by
House Code? You should be able to have as
many flags as you have macros, but right now
one can only use 14 flags (16 flags in total,
minus 15 and 16, which are used by dusk/dawn
settings). Another benefit of having 256
flags is that for each macro that uses a flag
you would assing the corresponding flag
address (macro M15 would use flag M15, etc).
This way you can be sure that you won't try
to use an existing flag again. Let us know if
this is doable. Thanks!
Title: Re: Flags - We need more of them!!!
Post by: joe s. on March 07, 2005, 11:32:34 AM
Julian - don't know if this will help
(because S'Home monitors all housecodes)
but I use "ghost" appliance modules as
flags.  The state of each module (ON/OFF)
is essentially a flag, and is retained in
memory by the interface - so these ghost
modules can be added to each macro as
a "virtual flag".
Title: Re: Flags - We need more of them!!!
Post by: julian on March 07, 2005, 01:03:58 PM
Joe - I like your idea, as a work-around. In
fact I might use it to change my macros to
use module status instead of flags, just
because checking the flag condition seems to
be unstable. I still like the idea of a flag
associated with a module / address, for
simplicity sake. Thanks.
Title: Re: Flags - We need more of them!!!
Post by: JimC on March 23, 2005, 06:43:10 AM
Julian,

You are not limited to the 14 flags.  Smart
macros checks for the condition of all  the
flags (ON or OFF). This means that you can
use combinations of the 14  flags. Example
you could have a macro check to see if flags
1,3 and 7 are set and only execute the macro
if all three are set. This gives you  many
more than 16 options.

At least I think this is the way it is
suppose to work.