Please login or register.

Login with username, password and session length

Author Topic: Flags - We need more of them!!!  (Read 8160 times)

julian

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 47
Flags - We need more of them!!!
« 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!
Logged

joe s.

  • Hero Member
  • *****
  • Helpful Post Rating: 4
  • Posts: 194
Re: Flags - We need more of them!!!
« Reply #1 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".
Logged

julian

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 47
Re: Flags - We need more of them!!!
« Reply #2 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.
Logged

JimC

  • Hero Member
  • *****
  • Helpful Post Rating: 41
  • Posts: 631
Re: Flags - We need more of them!!!
« Reply #3 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.
Logged
_ _ ...  ..._ _
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.