Please login or register.

Login with username, password and session length

Author Topic: Flag Problem, Still  (Read 6849 times)

ultradianguy

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 42
Flag Problem, Still
« 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
Logged

ultradianguy

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 42
Re: Flag Problem, Still
« Reply #1 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
Logged
 

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