Please login or register.

Login with username, password and session length

Author Topic: Smart Macros  (Read 4536 times)

richard albright

  • Newbie
  • Helpful Post Rating: 0
  • Posts: 1
Smart Macros
« on: February 11, 2006, 03:44:36 PM »

I just purchased the smart Macros and I'm
trying to two different things based on one
trigger depending on what time it is. It
seems to ignore the time condition. It runs
the first macro after the trigger
Logged

Mystyx

  • Hero Member
  • *****
  • Helpful Post Rating: 3
  • Posts: 201
  • eye see you
Re: Smart Macros
« Reply #1 on: February 26, 2006, 12:13:55 AM »

Heres an example of a simple setup using Conditional macro day and night...

My Motion sensor is set to K2 and it runs the light at night and no light during the day, but the cameras on always.
« Last Edit: March 20, 2006, 12:33:40 PM by X10 Pro »
Logged
Anything is Possible, NOW!! But What can I afford?!
I Can't Afford Time, cause Money is so Important!!

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10523
  • I don't work for X10, I use it successfuly!
Re: Smart Macros
« Reply #2 on: March 06, 2006, 04:08:59 PM »

Richard: Else commands can be a little tricky the elses have to be just right or the wrong one will fire or (as in your case) the first one always fires.
post your conditions and the conditions of the else and I'll see if I can spot the problem! ;) the best way I found of getting elses to work properly is to think of it as a child. You can't say "if you want have a cookie else, if it is  before dinner you can't have a cookie else, if it is after bedtime you can't have a cookie." (have a cookie has to be the last else) Macros stop at the first else that meets the requirements.( kids always want cookies!) ::) ;D :D
Logged
Please Read Topic:
General Forum Etiquette
Before you post!
 

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