Please login or register.

Login with username, password and session length

Author Topic: AND Nighttime does not work  (Read 4387 times)

paul warshawsky

  • Sr. Member
  • ****
  • Helpful Post Rating: 5
  • Posts: 102
AND Nighttime does not work
« on: July 08, 2008, 01:43:38 AM »

This is a summary of the bug I have uncovered.  A reference to the topic where I figured this out is included below.

You want to run a limb of a macro only if a certain flag condition is met AND it is nighttime.  AHP software programs "nighttime" as "after dusk" OR "before dawn".  The problem is you can't combine the conditions this way!  (FLAG is ON) AND (after dusk) OR (before dawn) will run even if the flag is OFF as long as it is before dawn.

If I understand the limits of combining conditions properly, there is no way you can do "AND nighttime" in one limb of a conditional macro.

See my workaround for this.

http://www.x10community.com/forums/index.php?topic=15812.msg87049#msg87049

Paul Warshawsky
Logged
 

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