| Author |  | 
      
        | redoubt Newbie
 
  
 
 Joined: February 19 2006
 Online Status: Offline
 Posts: 16
 | 
          I seem to be able to run macros fine from the computer.  But whenever I try to use the KPL to trigger them I get sporatic results and then everything stops responding.  The computer says its running the macro, but nothing happens and I have to shut down and restart the program and powerlinc.
           | Posted: March 05 2006 at 20:19 | IP Logged |   |  
           | 
 |  
 After a fresh restart I can run the macros in any order as much as I want from the computer.
 
 If I attempt to run from a trigger on the KPL, the first one runs, then no more insteon commands are generated.  The computer can still run the macros (I can check the log) and it updates the flags, but does not send any commands.
 
 My triggers are set as
 action= macro
 style = immediate
 status = active
 type="insteon group in"
 ID=the kpl name
 number=the button number
 trigger value="on"
 boolean = 1
 
 PH shows the KPL buttons cross linked to the power linc.  I have no other devices linked to these buttons.
 
 Any ideas here?
 
 (sorry no IRC, but thanks for all the help Tony.)
 
 Edited by redoubt
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          Redoubt,
           | Posted: March 05 2006 at 21:20 | IP Logged |   |  
           | 
 |  
 Try changing the trigger style to "Queued".  It will still run right away, but will return control back to the Insteon controller.  Things may be getting hung up here.
 
 Also, make sure that your macros are completing.  Check the PowerHome status screen to make sure that once you think the macro is done that it's truly done and not "Waiting" or in the execution queue.
 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | redoubt Newbie
 
  
 
 Joined: February 19 2006
 Online Status: Offline
 Posts: 16
 | 
          "Queued" seems to be the magic answer.  So far so good using the KPL!
           | Posted: March 05 2006 at 21:28 | IP Logged |   |  
           | 
 |    
 Thanks!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          Also,
           | Posted: March 05 2006 at 21:28 | IP Logged |   |  
           | 
 |  
 In general, you should always make your triggers as "Queued".  The immediate function is there to handle certain situations where you MUST know a status or similar at that exact moment and in that case, you should QUEUE your actions within the called macro.
 
 The "Immediate" style halts the calling process and doesnt immediately return, which would be why the Insteon controller is hanging.  The "Queued" style places the action in the Execution queue and returns control back to the Insteon controller.  When you launch a macro from within PowerHome either through the "Play Macro" dropdown or a CC button, or from the web, it also goes to the execution queue.
 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          Ooops, posted at the same time
           | Posted: March 05 2006 at 21:31 | IP Logged |   |  
           | 
 |   . 
 Anyways, I figured that would do it for you.  Good luck.
 
 BTW, what controller are you using to control your theater drapes?
 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | redoubt Newbie
 
  
 
 Joined: February 19 2006
 Online Status: Offline
 Posts: 16
 | 
          I have the $90 drape motor from smarthome.  Its just an on/off motor that reverses direction at the end stops.
           | Posted: March 05 2006 at 21:50 | IP Logged |   |  
           | 
 |  
 I have it plugged into an ICON AppLinc.  Total setup is about half the cost (or less) of the fancy ones.  Seems to work good.  The screen is pulling a total of 13 feet of drape in a center close (half on each side) and it does fine.  Takes about 12 seconds for full movement.
 
 Now if SH can fix the blinking in my 1000w dimmers all will be good!
   | 
       
        | Back to Top |     | 
       
       
        |  |