X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Software Problems & Bugs => Topic started by: donald mcmow on November 16, 2005, 11:36:40 AM

Title: Flag Problems
Post by: donald mcmow 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?
Title: Re: Flag Problems
Post by: roger1818 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.
Title: Re: Flag Problems
Post by: donald mcmow 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?