Flag Problem, Still

Started by ultradianguy, May 01, 2009, 12:39:36 AM

Previous topic - Next topic

ultradianguy

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

ultradianguy

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

SMF spam blocked by CleanTalk