Please login or register.

Login with username, password and session length

Author Topic: Macro Repeat  (Read 2131 times)

Squirrel1162

  • Full Member
  • ***
  • Helpful Post Rating: 2
  • Posts: 70
Macro Repeat
« 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.
Logged

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: Macro Repeat
« Reply #1 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


Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Squirrel1162

  • Full Member
  • ***
  • Helpful Post Rating: 2
  • Posts: 70
Re: Macro Repeat
« Reply #2 on: September 05, 2017, 06:47:55 PM »

Thank you for your response.  I will NOT even THINK about it again!   :D
Logged
 

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