Please login or register.

Login with username, password and session length

Author Topic: Smart macro to keep lights on  (Read 4852 times)

jim

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Smart macro to keep lights on
« on: May 02, 2005, 07:00:25 PM »

I can't seam to get the right mix.  i have
one macro turn the lights off, what I'd
like is to have my sensor keep the lights
on if detecting movement after 10pm.  I get
it to work some times but then the light
come back on
Logged

martin

  • Sr. Member
  • ****
  • Helpful Post Rating: 2
  • Posts: 125
Re: Smart macro to keep lights on
« Reply #1 on: May 04, 2005, 09:52:27 AM »

On your trigger On macro, add this
condition, let’s say “if time is between
7:00 am and 10:00 pm”. Then add a step to
your turn On light to Clear a flag, let’s
say 4.
Add Else condition and specify “If time is
between 10:00 pm and 7:00 am”, then add
steps to turn light On and Set flag 4.
On your trigger Off macro, add this
condition “if flag 4 is cleared”.

The result will be that your light will turn
off by the motion sensor only if time is
between 7:00 am and 10:00 pm.
Logged
 

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