| Author |  | 
      
        | RichardL Senior Member
 
  
 
 Joined: December 29 2008
 Location: United States
 Online Status: Offline
 Posts: 165
 | 
          I am using triggers with the "Insteon Group In" (thanks Lee) to sense SwitchLincs and KPLs being turned On or Off with no problem.  I have tried the same config but using the Bright and Dim setting, and it does not seem to work.  I simply want to have different (dim/bright) triggers get launched if someone presses and holds a SwitchLinc to make it dim or bright.  Any ideas?
           | Posted: March 03 2010 at 16:06 | IP Logged |   |  
           | 
 |  
 Thanks.
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          Try the Trigger Value of Start Man Chg (0x17).  This is the command issued when a paddle/button is pressed and held.  The Stop Man Chg command (0x18) is issued when the paddle/button is released. If someone happens to double tap the paddle/button you get a command Fast On (0x12).
           | Posted: March 03 2010 at 17:34 | IP Logged |   |  
           | 
 |  
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | RichardL Senior Member
 
  
 
 Joined: December 29 2008
 Location: United States
 Online Status: Offline
 Posts: 165
 | 
          I saw that (there are also alot of other real cool items there...one day), but can that tell me if the paddle was dimmed versus brightened?
           | Posted: March 03 2010 at 17:57 | IP Logged |   |  
           | 
 |  
 I want to have triggers if the SwitchLinc gets brightened, and different triggers if it gets dimmed...
 
 Thanks!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          The cmd2 field indicates direction of change.  0x00 = down,   0x01 = up.   Display the temp variables in the macro that is invoked by the trigger.  Not sure if PH passes the cmd2 value on to the macro.
           | Posted: March 03 2010 at 18:13 | IP Logged |   |  
           | 
 |  
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | grif091 Super User
 
  
 
 Joined: March 26 2008
 Location: United States
 Online Status: Offline
 Posts: 1357
 | 
          Looks like temp3 is tracking with the cmd2 value.  You can check temp3 for Up (1) or Down (0).
           | Posted: March 03 2010 at 19:04 | IP Logged |   |  
           | 
 |  
 __________________
 Lee G
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | RichardL Senior Member
 
  
 
 Joined: December 29 2008
 Location: United States
 Online Status: Offline
 Posts: 165
 | 
          Got it, works fine!
           | Posted: March 14 2010 at 17:22 | IP Logged |   |  
           | 
 |  
 I set the trigger for Start Man Chg (0x17), the trigger does a PH_RunScript_1, where I included [TEMP3] as a parameter.  In the code I handled the 0 for dim, a 1 for bright.
 
 More good stuff.
 
 Thank you again!
 
 Richard
 
 | 
       
        | Back to Top |     | 
       
       
        |  |