X10 Community Forum

🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: richard albright on February 11, 2006, 03:44:36 PM

Title: Smart Macros
Post by: richard albright 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
Title: Re: Smart Macros
Post by: Mystyx 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.
Title: Re: Smart Macros
Post by: Tuicemen 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