X10 Community Forum

🖥️ActiveHome Pro => ActiveHome Pro General => Topic started by: Squirrel1162 on September 05, 2017, 02:01:17 PM

Title: Macro Repeat
Post by: Squirrel1162 on September 05, 2017, 02:01:17 PM
Has anyone designed a macro that  will continually check another macro and then act according to the results.  I have a 3pin appliance module controlling a floor lamp.  The macro I have set up for it works good..to a point.  It comes on and goes off as scheduled.  But later, it will come back on when another module changes something.  (light on/off).  I probably need some sort of filter to prevent this situation.  But right now I can't afford one.  I'm wondering if anyone else has (had) this same situation, and how you corrected it?  Thanks for any and all help.
Title: Re: Macro Repeat
Post by: Tuicemen on September 05, 2017, 02:42:58 PM
Macros only run till complete or 4.5 hours which ever comes first.
Creating looping macros are not advised as they can cause major system bottle necks and lock ups.
Also I believe you can't check a macro but you can check its trigger condition.

If your determined to create a looping macro you need to provide an out(exit, way to stop)
You also need to provide several delays so commands in queue can get sent.
StevenR provided a tutorial (write up) on looping macros http://forums.x10.com/index.php?topic=14912.0


Title: Re: Macro Repeat
Post by: Squirrel1162 on September 05, 2017, 06:47:55 PM
Thank you for your response.  I will NOT even THINK about it again!   :D