X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: ultradianguy on May 01, 2009, 12:39:36 AM

Title: Flag Problem, Still
Post by: ultradianguy on May 01, 2009, 12:39:36 AM
Hi - I've read through all the tips on using flags, and thought I understood, and yet -- not.

I have a fairly simple macro.
Trigger B5 On
Conditions:  If Flag 1 is on AND it's nighttime
Delay 0
Start sequence of actions

I have two other macros that set or clear the flag based on a motion sensor
I confirmed from a status report that flag 1 was cleared properly, and yet B5 On still triggered the macro above, even though the flag condition was not met.

The macro is set to run from interface, and has been downloaded to the interface.

What am I missing?

Thanks,
Michael
Title: Re: Flag Problem, Still
Post by: ultradianguy on May 01, 2009, 01:09:28 AM
Um, okay - it turns out that if I remove the If it's nighttime condition, the flag condition works right.
So it seems to be acting as if the AND is an OR, ie it triggers based just on nighttime, even though it should require both the flag being set AND it being nighttime.

Why is this?

Michael