X10 Community Forum
🖥️ActiveHome Pro => Plug-ins => Smart Macros => Topic started by: stevecon on December 05, 2007, 12:49:44 AM
-
I have 4 switches on house code I numbered 1 thru 4. Two of the switches control 14 outdoor lights (floods, garage and a post light at the end of the driveway), The other two control some highhats in the kitchen and a couple in the family room. Anyway, every now and then, I'll come home to find some of the lights on. It's never the 4 inside - but the 14 outside. I don't know where the ON command is coming from - but it's not inside my house (no one is home during the day), so its unlikely I'll find it. I'll probably have to experiment with other house codes at some point.
I bought the Smart Macro add on but can't seem to find a way (an easy way anyway) to run a macro every X minutes that will shut off all modules during the day between 7AM and 4PM. It doesn't seem right that this should require a command to run the macro every X minutes - but maybe I'm wrong..
Is there a manual for Smart Macro?? Anywhere??
Thanks - in advance!
-
I read these while on the can - they added some clarity as well as some creativity:
http://www.activehomepro.com/plugins/plugin-smartmacros_adv.html
and
http://software.x10.com/pub/manuals/ahpsmartmacros.pdf
By using conditions, you can limit the problems of phantom outdoor lights so they do not occur during the day. There is a "Nighttime" condition but there is a way using flags that is better if the number of conditions that are allowed becomes restrictive (Smart Macro allows 3 conditions but the "Nighttime" condition takes 2 of the 3, while using the flag approach only takes 1).
Setting up the nightime (or daytime) flag is described in more detail at:
http://www.x10community.com/forums/index.php?topic=13842.0
I hope these help you as much as me.
Matt A
-
Is there a manual for Smart Macro?? Anywhere??
You can find many manuals and additional info at the X10wiki (http://kbase.x10.com/wiki/Main_Page) here's the link to The SmartMacro Manual (http://software.x10.com/pub/manuals/ahpsmartmacros.pdf)
-
Matt & Tuicemen,
Thanks very much! I'll be sure to check out the links you've provided.
Steve
-
Well, what I have done in my apartment is, I have set up multiple timers (at 30 minute interval) and I have setup one macro that turns OFF all my lights. Hence, the macro gets executed every 30 minutes and that ensures that my lights stay OFF during the my Away period.
Hope it makes sense.
-
However, I don't think there is a direct way to put a macro on a loop or something, but as I said, you can achieve the desired result by creating multiple timers.
-
It's both easy and dangerous to build and start a loop. e.g. I use one as a panic that flashes the lights.
The most basic endless loop can be created as follows.
Create a Dummy module with the same address as your macro.
Macro M1 ON - Trigger on an M1 signal
<execute commands>
delay 10 min
M1 On
The above will continue to execute indefinitely and if triggered again each additional loop will continue till purged. I strongly recommend using flags, elses, and/or time conditions to give one an exit point.
-
It's both easy and dangerous to build and start a loop. e.g. I use one as a panic that flashes the lights.
The most basic endless loop can be created as follows.
Create a Dummy module with the same address as your macro.
Macro M1 ON - Trigger on an M1 signal
<execute commands>
delay 10 min
M1 On
The above will continue to execute indefinitely and if triggered again each additional loop will continue till purged. I strongly recommend using flags, elses, and/or time conditions to give one an exit point.
I think this would be a nice addition to the User-Designed Working Macros (http://www.x10community.com/forums/index.php?board=103.0) section since it gets asked about a lot. ;)
-
I think this would be a nice addition to the User-Designed Working Macros (http://www.x10community.com/forums/index.php?board=103.0) section since it gets asked about a lot. ;)
I have to agree with Puck!
But be sure to point out some of the Dangers of looping macros steven r when you post the macro!
It most likely will keep the "Looping macro issue" questions to a minimum! ;)
-
I think this would be a nice addition to the User-Designed Working Macros (http://www.x10community.com/forums/index.php?board=103.0) section since it gets asked about a lot. ;)
Done. See http://www.x10community.com/forums/index.php?topic=14912.msg83074#msg83074