I still can't get MH to turn on a LED on a keypad device. I have the keypad button defined:
 
INSTEON_KEYPADLINCRELAY, 22.49.7B:08, back_hall_light_kpl_h, buttons
I have my simple scene set up:
 
INSTEON_ICONTROLLER, 11, kpl_scene_h_light, All_Scenes
SCENE_MEMBER, back_hall_light_kpl_h, kpl_scene_h_light, surrogate
But when I try to light up the LED (either via the web or code), I get the following:
 
06/23/2013 05:56:43 PM [Insteon::BaseInterface] WARN! Dropped duplicate incoming message 22497b1a768b6111ff, from $back_hall_light..
06/23/2013 05:56:42 PM [Insteon_PLM] Received all-link cleanup success: obj=$kpl_scene_h_light; command=on; extra=00
06/23/2013 05:56:42 PM [Insteon::BaseInterface] ERROR: received cleanup message from 22497b that does not correspond to a valid PLM group. Corrupted message is assumed and will be skipped! Was group ff
06/23/2013 05:56:41 PM [Insteon::BaseInterface] ERROR: received cleanup message from 22497b that does not correspond to a valid PLM group. Corrupted message is assumed and will be skipped! Was group ff
06/23/2013 05:56:41 PM [Insteon::BaseObject] $kpl_scene_h_light::set(on, web [127.0.0.1])
 
Nothing I do makes this work. I am sure there is some sequence of actions to accomplish this, but again, I am stumped.
 
-Craig


On Fri, Jun 14, 2013 at 1:34 AM, Kevin Robert Keegan <kevin@krkeegan.com> wrote:

OK it looks like that device may be an i2cs device.  Run the get engine version voice command on the device and I suspect it will return i2cs.  At that point you can run scan link table on that device again and you should get better results.

On Jun 13, 2013 8:08 PM, "Craig" <archyii@gmail.com> wrote:

On Thu, Jun 13, 2013 at 5:56 PM, Kevin Robert Keegan <kevin@krkeegan.com> wrote:
That is not normal.  Would you be willing to run the "scan link table" voice command on $back_hall_light again, but this time set the insteon debug level to 4?  It looks like the sequence is very short, I would be interested in seeing what messages come back from the device.

06/13/2013 11:06:40 PM [Insteon::AllLinkDatabase] [0x0FF8] is empty
06/13/2013 11:06:40 PM [Insteon::AllLinkDatabase] Link table for $back_hall_light health: good
06/13/2013 11:06:40 PM [Insteon::BaseObject] The Link Table Version for $back_hall_light has been updated to version number e3
06/13/2013 11:06:40 PM [Insteon::BaseObject] received status for $back_hall_light with on-level: 0%, hops left: 0
06/13/2013 11:06:40 PM [Insteon::BaseObject] DEBUG3: Adding hop count of 2 to hop_array of $back_hall_light
06/13/2013 11:06:40 PM [Insteon::BaseInterface] DEBUG3: PLM command:insteon_received; Device command:; type:direct; group:
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0250) insteon_received
            From Address: 22:49:7b
              To Address: 1a:76:8b
           Message Flags: 22
                Message Type: (001) ACK of Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 0
                    Max Hops: 2
         Insteon Message: e300
                       Cmd 1: e3 Insteon command not decoded
                       Cmd 2: 00
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Received PLM raw data: 025022497b1a768b22e300
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Received PLM acknowledge: obj=$back_hall_light; command=status_request
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0262) insteon_send
              To Address: 22:49:7b
           Message Flags: 0a
                Message Type: (000) Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 2
                    Max Hops: 2
         Insteon Message: 1900
                       Cmd 1: (19) Light Status Request
                       Cmd 2: (00) On Level
        PLM Response: (06) ACK
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Received PLM raw data: 026222497b0a190006
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0262) insteon_send
              To Address: 22:49:7b
           Message Flags: 0a
                Message Type: (000) Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 2
                    Max Hops: 2
         Insteon Message: 1900
                       Cmd 1: (19) Light Status Request
                       Cmd 2: (00) On Level
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Sending  PLM raw data: 026222497b0a1900
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG2: Sending obj=$back_hall_light; command=status_request incurred delay of 0.11 seconds; starting hop-count: 2
06/13/2013 11:06:40 PM [Insteon::ALDB_i1] $back_hall_light completed link memory scan
06/13/2013 11:06:40 PM [Insteon::ALDB_i1] DEBUG3: $back_hall_light [0x0FF8] received: f8 for aldb_flag
06/13/2013 11:06:40 PM [Insteon::BaseObject] DEBUG3: Adding hop count of 2 to hop_array of $back_hall_light
06/13/2013 11:06:40 PM [Insteon::BaseInterface] DEBUG3: PLM command:insteon_received; Device command:peek; type:direct; group:
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0250) insteon_received
            From Address: 22:49:7b
              To Address: 1a:76:8b
           Message Flags: 22
                Message Type: (001) ACK of Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 0
                    Max Hops: 2
         Insteon Message: 2bf8
                       Cmd 1: (2b) Peek One Byte(Deprecated)
                       Cmd 2: (f8) Peeked Byte
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Received PLM raw data: 025022497b1a768b222bf8
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Received PLM acknowledge: obj=$back_hall_light; command=peek; extra=F8
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0262) insteon_send
              To Address: 22:49:7b
           Message Flags: 0a
                Message Type: (000) Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 2
                    Max Hops: 2
         Insteon Message: 2bf8
                       Cmd 1: (2b) Peek One Byte(Deprecated)
                       Cmd 2: (f8) LSB of Address
        PLM Response: (06) ACK
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Received PLM raw data: 026222497b0a2bf806
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0262) insteon_send
              To Address: 22:49:7b
           Message Flags: 0a
                Message Type: (000) Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 2
                    Max Hops: 2
         Insteon Message: 2bf8
                       Cmd 1: (2b) Peek One Byte(Deprecated)
                       Cmd 2: (f8) LSB of Address
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG3: Sending  PLM raw data: 026222497b0a2bf8
06/13/2013 11:06:40 PM [Insteon_PLM] DEBUG2: Sending obj=$back_hall_light; command=peek; extra=F8 incurred delay of 0.11 seconds; starting hop-count: 2
06/13/2013 11:06:39 PM [Insteon::BaseObject] DEBUG3: Adding hop count of 2 to hop_array of $back_hall_light
06/13/2013 11:06:39 PM [Insteon::BaseInterface] DEBUG3: PLM command:insteon_received; Device command:set_address_msb; type:direct; group:
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0250) insteon_received
            From Address: 22:49:7b
              To Address: 1a:76:8b
           Message Flags: 22
                Message Type: (001) ACK of Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 0
                    Max Hops: 2
         Insteon Message: 280f
                       Cmd 1: (28) Set Address MSB(Deprecated)
                       Cmd 2: (0f) MSB
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG3: Received PLM raw data: 025022497b1a768b22280f
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG3: Received PLM acknowledge: obj=$back_hall_light; command=set_address_msb; extra=0F
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0262) insteon_send
              To Address: 22:49:7b
           Message Flags: 0a
                Message Type: (000) Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 2
                    Max Hops: 2
         Insteon Message: 280f
                       Cmd 1: (28) Set Address MSB(Deprecated)
                       Cmd 2: (0f) MSB
        PLM Response: (06) ACK
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG3: Received PLM raw data: 026222497b0a280f06
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG4:
         PLM Command: (0262) insteon_send
              To Address: 22:49:7b
           Message Flags: 0a
                Message Type: (000) Direct Message
              Message Length: (0) Standard Length
                   Hops Left: 2
                    Max Hops: 2
         Insteon Message: 280f
                       Cmd 1: (28) Set Address MSB(Deprecated)
                       Cmd 2: (0f) MSB
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG3: Sending  PLM raw data: 026222497b0a280f
06/13/2013 11:06:39 PM [Insteon_PLM] DEBUG2: Sending obj=$back_hall_light; command=set_address_msb; extra=0F incurred delay of 0.00 seconds; starting hop-count: 2
06/13/2013 11:06:39 PM [Insteon::ALDB_i1] $back_hall_light accessing memory at location: 0x0FF8
06/13/2013 11:06:39 PM Running: back hall light scan link table

--
-Craig



--
-Craig