Please login or register.

Login with username, password and session length

Author Topic: Flag Problems  (Read 2930 times)

donald mcmow

  • Hero Member
  • *****
  • Helpful Post Rating: 0
  • Posts: 306
Flag Problems
« on: November 16, 2005, 11:36:40 AM »

I have 2 macros that will set Flags 1 and
2 - no problem. Flag 1 is set at dawn, and
flag 2 is set at 8:00am.    I have 2 timers
that are triggered at 1  minute after the
flags are set - a macro is  supposed to be
triggered only once at  either 8:00am or at
dawn - whichever is  later. The problem is
that when I do a  conditional check of both
flags either at  the same time or an
individual check of  both flags the macro
will still execute.    example: it's 8:01
flag 1 is set, flag 2 is  NOT set - the
macro will still run.  Dawn is at 7:45am
flag 2 is set, flag 1 is  not set - the
macro will still run.    If I do a
conditional flag check of both  flags 1 and
2 , the system should not  execute the
macro. If I put 2 individual  flag checks
the macro should not be  executed. It seems
that the system is doing  an OR check of
the flags rather than an AND  check. Any
ideas?
Logged

roger1818

  • Hero Member
  • *****
  • Helpful Post Rating: 28
  • Posts: 1072
  • Roger H.
Re: Flag Problems
« Reply #1 on: November 16, 2005, 05:12:41 PM »

Maybe you already know this, but to do an AND
check, you must drag the conditions
horizontally across the top.  If the
conditions are dragged vertically (one
beneath the other) an OR check is done.

BTW, you shouldn't need to use flags for
this, instead you could check if it is after
Dawn and after 8:00AM.
Logged

donald mcmow

  • Hero Member
  • *****
  • Helpful Post Rating: 0
  • Posts: 306
Re: Flag Problems
« Reply #2 on: November 24, 2005, 09:45:32 AM »

The problem with the after 8am and dawn
checks is that they don't appear to work
either. Do you need to leave a time space
before the check or can it be triggered at
the exact times?
Logged
 

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