| Author |  | 
      
        | AllanMar Groupie
 
  
 
 Joined: April 02 2007
 Online Status: Offline
 Posts: 45
 | 
          I've neglected my home automation for a bit, but I have a new house now so I'm back at it... So I know this has come up a few times before although I can't seem to find a post that solves the problem.
           | Posted: August 22 2011 at 19:14 | IP Logged |   |  
           | 
 |  
 I have two lights I want to link to a single keypad button. Cross linked and they work fine. My issue is, when i turn only 1 light of the 2 off, the keypad button also turns off. My plan was to create a PowerHome trigger to turn the keypad led back on if one light of the two remains on. (I want to keep the linked behavior also).
 
 I have two Insteon Dev Chg Triggers, one for each light.
 Trigger ID: 1 Trigger Value: (ANY) Boolean:([LOCAL9] <> [LOCAL10]) AND ([LOCAL10] = 0 or [LOCAL9] = 0)
 
 I was under the impression the [LOCAL9] <> [LOCAL10] should stop it from firing on ACK's/Cleanups. I have update on ACK enabled. Basically, my trigger is firing twice. Once when I send a command to turn off the light and again when the ACK is recv'd....
 
 Insteon Out Insteon DM Controller PLM transmission of Address:[04.60.06] Flags:[15] Cmd1:[19] Cmd2:[0].  Decode: Direct. ID: GRGPOTSWITCH, Off
 Trigger Check Trigger check of OUTSTATUPD GRG POT performed.
 Macro Macro OUTSIDELIGHTSTAT executed.
 Incoming Insteon received on Insteon DM controller PLM. From Address:[04.60.06] To Address:[19.6F.6F] Flags:[43] Cmd1:[19] Cmd2:[0].  Decode: Direct ACK. From: GRGPOTSWITCH To: PLM, Off
 Trigger check of OUTSTATUPD GRG POT performed.
 User Message LOCAL7:GRGPOTSWITCH  LOCAL8:04.60.06  LOCAL9:0 LOCAL10:255
 Macro Macro OUTSIDELIGHTSTAT executed.
 User Message LOCAL7:GRGPOTSWITCH  LOCAL8:04.60.06  LOCAL9:255 LOCAL10:0
 
 Any Thoughts? I wanted to use Dev Chg vs Group IN or similar so it would also handle the case of dev chg's from powerhome.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          I have not been able to recreate the results you are seeing.  What PH2 release are you running and what is the device type for 04.60.06?
           | Posted: August 23 2011 at 10:30 | IP Logged |   |  
           | 
 |  
 From the trace data LOCAL10:255 does not track with the outbound command issued.
 
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          Try implementing trigdisable and see if that stops the double firing.
           | Posted: August 23 2011 at 11:10 | IP Logged |   |  
           | 
 |  
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | AllanMar Groupie
 
  
 
 Joined: April 02 2007
 Online Status: Offline
 Posts: 45
 | 
          @grif091: V2.1b I believe, 04.60.06 is an old Icon Relay.
           | Posted: August 23 2011 at 11:35 | IP Logged |   |  
           | 
 |  
 @BeachBum: I'll give it a shot this evening, Although I'd like to know why its behaving this way.
 
 I don't get why Im getting the LOCAL9:0 and LOCAL10:255 and then another LOCAL9:255 and LOCAL10:0 for the same command.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          I personally have never gotten the [LOCAL9] <> [LOCAL10] to work for me.
           | Posted: August 23 2011 at 11:43 | IP Logged |   |  
           | 
 |  
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          I am running 2.14 so not an apples to apples comparison.  Used a KeypadLinc primary button and an ICON Relay, both with the same results.  Local9=0, Local10=255 for the initial On paddle Group Broadcast.  Local9=255 Local10=255 for the Group Cleanup.
           | Posted: August 23 2011 at 12:47 | IP Logged |   |  
           | 
 |  
 The Off command was the expected opposite.  I did not try to gate the Trigger, called a Macro for all Dev Chg events and displayed all the Local values as the first line of the Macro.
 
 
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          This is the Event Log from an Off issued from Device Status to create an Outbound event.  Local9=255, Local10=0, the result of the Off.  The Inbound ACK triggers again with Local9=0, Local10=0.  There may be some issue with 2.1b that is resolved with 2.1.4.
           | Posted: August 24 2011 at 12:32 | IP Logged |   |  
           | 
 |  
 The results previously posted from 2.1b may explain why Pete was not successful using Local9 <> Local10.
 
 INSTEON PLM Controller HL2 PLM transmission of Address:[04.56.50] Flags:[15] Cmd1:[19] Cmd2:[0].  Decode: Direct. ID: ICON SWITCH TEST, Off
 Trigger check of TDEVCHG performed.
 Macro MATEST executed.
 local1= local2= local3= local4= local5= local6= local7= ICON SWITCH TEST local8= 04.56.50 local9= 255 local10= 0
 Incoming Insteon received on INSTEON PLM controller HL2 PLM. From Address:[04.56.50] To Address:[0F.44.DC] Flags:[43] Cmd1:[19] Cmd2:[0].  Decode: Direct ACK. From: ICON SWITCH TEST To: HL2 PLM, Off
 Trigger check of TDEVCHG performed.
 Macro MATEST executed.
 local1= local2= local3= local4= local5= local6= local7= ICON SWITCH TEST local8= 04.56.50 local9= 0 local10= 0
 
 
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | dhoward Admin Group
 
  
  
 Joined: June 29 2001
 Location: United States
 Online Status: Offline
 Posts: 4447
 | 
          Allan,
           | Posted: August 25 2011 at 19:12 | IP Logged |   |  
           | 
 |  
 Not sure why your trigger would fire twice.  The [LOCAL9]
 <> [LOCAL10] technique should work just fine in version
 2.1b.
 
 Based upon your log info posted above, it appears that
 your trigger is indeed firing twice on both the Direct
 and ACK command but the User messages don't make sense.
 The first one shows LOCAL9 = 0 and LOCAL10 = 255 and the
 second one shows the reverse.  What should happen since
 its an OFF is that by the time the ACK is received, the
 variables should be LOCAL9 = 0 and LOCAL0 = 0.  Something
 else must be going on.
 
 Would it be possible to post either screenshots of your
 triggers and the macro that is called or exports of the
 above?
 
 Thanks,
 
 Dave.
 
 | 
       
        | Back to Top |       | 
       
       
        |  | 
        | AllanMar Groupie
 
  
 
 Joined: April 02 2007
 Online Status: Offline
 Posts: 45
 | 
          Attached are the two SQL outputs. The macro isn't really finished as I ran in to this issue...
           | Posted: August 26 2011 at 17:46 | IP Logged |   |  
           | 
 |  2011-08-26_174533_macro.sql.txt
 2011-08-26_174548_trigger.sql.txt
 
 I've been planning to try 2.1.4, after seeing your post in that topic recommending it, I'll do it shortly. I will let you know if it makes any difference.
 
 Edited by AllanMar - August 26 2011 at 17:47
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | AllanMar Groupie
 
  
 
 Joined: April 02 2007
 Online Status: Offline
 Posts: 45
 | 
          Confirmed not an issue in 2.1.2. Exact same macro/trigger/links.
           | Posted: August 26 2011 at 18:23 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          Install 2.1.4 on top of 2.1.2.  It has some fixes for 2.1.2 and Local9/Local10 works as expected.
           | Posted: August 26 2011 at 19:43 | IP Logged |   |  
           | 
 |  
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | BeachBum Super User
 
  
  
 Joined: April 11 2007
 Location: United States
 Online Status: Offline
 Posts: 1880
 | 
          Did you try the trigdisable?
           | Posted: August 28 2011 at 23:30 | IP Logged |   |  
           | 
 |  
 __________________
 Pete - X10 Oldie
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | AllanMar Groupie
 
  
 
 Joined: April 02 2007
 Online Status: Offline
 Posts: 45
 | 
          @BeachBum: No. As it is no longer an issue in 2.1.2 & 2.1.4 I have not bothered.
           | Posted: August 31 2011 at 14:47 | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  |