X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Help & Troubleshooting => Topic started by: Newby User on February 16, 2011, 08:04:41 PM

Title: Smart Macros with Conditions
Post by: Newby User on February 16, 2011, 08:04:41 PM
If anyone can help me with this it would be great, I can get it to trigger on during the day and it doesn;t turn off so would like to know the proper way to set it. The macros reads as follows

Trigger Conditions  E3 on  and
The time is between 9 pm and 6 am and
The day of the week is Sun, Mon, Tues, Weds, Thur, Fri, Sat
 End Trigger Conditions
Turn All lights  On for House Code 'E'
Turn New PLWO1 On and dim to 35 %
Wait for 5 minutes
Turn All Units  Off for House Code E
This is what my Macros reads but doesn't work right any help appreciated
Thank you
Title: Re: Smart Macros with Conditions
Post by: Noam on February 16, 2011, 08:12:50 PM
Looks like your time condition is causing a problem.
AHP interprets time in a 24-hour window from 12:00 AM until 11:59 PM.
During this window, there is never a time that is both AFTER 9:00pm AND BEFORE 6:00am.
You also don't need the "day of the week" condition - since you have it set for every day.

Change the condition to two separate time conditions: Before 6:00am OR After 9:00pm.

That should make a difference for you.
Title: Re: Smart Macros with Conditions
Post by: Newby User on February 16, 2011, 08:29:29 PM
Thank you very much, I have changed it I could not find a or between the times just a and so hope that is ok , I also read about someone putting a flag incase it sensed movement after 4 or 5 min delay. I will have to read up on how to do that if it creates problems.
Thanks again for helping out.

Sorry if I posted to the wrong place everyone
Title: Re: Smart Macros with Conditions
Post by: Noam on February 16, 2011, 08:48:57 PM
Thank you very much, I have changed it I could not find a or between the times just a and so hope that is ok , I also read about someone putting a flag incase it sensed movement after 4 or 5 min delay. I will have to read up on how to do that if it creates problems.
Thanks again for helping out.

Sorry if I posted to the wrong place everyone

The "or" is the second line of the conditions. You put in a "before" condition in the first line, and a separate "after" condition in the second line.
Alternatively, you can set it up as two separate macros, making sure to use the same trigger address for both, and set the condition on the first one to the "before 6:00am" and the second one to the "after 9:00pm". that should do it.
Title: Re: Smart Macros with Conditions
Post by: Newby User on February 19, 2011, 08:15:54 AM
Thanks again I tried it and it triggers it on good but even with the delay then all lights out as you walk back out of the room it must sense movement and triggers it as it will not shut the light off. I set the active eye to only work when it is dark but it is out side the room above the door and i see it flashes and somehow that is triggering it to stay on even if I put another all lights out after the last one. Just trying to get it to turn the bathroom light on and off at night. Like I said when you walk down the hall it must sense it again. I am still trying though and want to figure some of the x10 stuff out.