|T O P I C R E V I E W
||Posted - 05/16/2012 : 11:03:44 AM
I just bought a bunch of LampLinc Dimmers Dualband (2457D2) Rev 1.6 that I cannot get to respond to commands that I send from a PowerLinc Modem 2413S via a Digi PortServer TS8 and iRule / Docklight.
I have one other LampLinc Dimmer Dualband (2457D2) Rev 1.5, which responds fine. I also tried several other ApplianceLinc for in- and outdoor (2456S3 and 2456SE3) without problems.
To simplify the system, all devices are plugged into a single, simple power strip. I tried another PowerLinc Modem 2413S (Rev 1.5), instead of Rev 1.6 with the same results.
I have been trying the standard commands for on, off, etc. (\x02\x62\xXX\xXX\xXX\x0F\x11\xFF or \x02\x62\xXX\xXX\xXX\x0F\x13\x00).
Any insights? Are the Rev 1.6 of the 2457D2 incompatible with the 2413S? Have the commands changed? I did a Google search but only found something in regards to incompatibility with the USB controller, which does not apply here.
|12 L A T E S T R E P L I E S (Newest First)
||Posted - 05/17/2012 : 05:05:37 AM
Wow, Guys, thanks! What responsive and helpful members in this forum! Much appreciated!
All this will get me well started with my Insteon endeavor.
||Posted - 05/16/2012 : 8:12:39 PM
Each link represents a defined on level and ramp rate specific to the responder device and group. You can then turn that group on (at the defined level and rate), off, bright, dim, fast-on (100% instantly) and fast-off (0% instantly). With multi-group controllers like a PLM, you can link several groups with different settings for each. Once devices are linked, you can also send a direct message to specify that a particular device goes to a particular level.
||Posted - 05/16/2012 : 7:30:16 PM
Ok, so with groups I can have only 2 states: OFF and whatever each device was in when it initially joined the group, correct?
||Posted - 05/16/2012 : 7:07:07 PM
Ok, I should have known that. The device to be controlled must be linked as a responder.
When you send a group ON command, you're actually telling the device to go back to the same level it was linked at. So if the LL was on 100% when you linked it, it will turn back on to 100%. If it was off when you linked it, it will turn off. That last byte is actually not so important. I should not have put that part.
If you send a group OFF command, it will turn off. Regardless of how you linked it.
If you want to change how it will respond to a group (all-link) command, just link it as a responder again. It will replace the old link with the new one.
||Posted - 05/16/2012 : 7:01:12 PM
Thanks for helping me deciphering the code
You were spot on! I got it working. Setting the PLM as responder by sending the code did the trick. Now the LL is responding to my direct commands, like the Rev 1.5 I have. Thanks so much!!
On the 'group thing' I have to learn a bit more it. Thus far the LL does not respond to the command you listed.
Let's see if I understand the command logic correctly:
0x02 0x61: is the 'header' for groups
0x01: is the group name (here 1)
0x11 0xFF: is the command for ON
So 0x02 0x61 0x01 0x13 0x00 would turn all devices in group 1 off, correct? While that seems to work, setting everything to 50% 0x02 0x61 0x01 0x13 0x80 only turns the LL off. Hmmm....
||Posted - 05/16/2012 : 5:39:30 PM
Eh, documentation is overrated. What fun is it when you already know how it works?
It may be that you have to link the lamplinc as a responder and not as a controller. Tell the PLM 0x02 0x64 0x01 0x01 to put it into linking mode (that last byte is the group number if you want to change that).
Then press and hold the set button on the LL until it beeps and links. That will link it so the LL is expecting to receive commands from the PLM. In addition to controlling it the way you are trying (direct commands) you'll also be able to send all-link commands, e.g. 0x02 0x61 0x01 0x11 0xFF will tell every device linked to the PLM on group 1 to turn on to 100%.
||Posted - 05/16/2012 : 3:16:06 PM
The I2CS LampLinc is not linked to the PLM as required. The response from the LampLinc is a NAK (flag byte AB).
02 50 18 A1 CF 19 73 23 AB 13 FF
If you are going to program leading edge technology I suggest you purchase a developer subscription from SmartLabs which provides access to the confidential information required to successfully interface to the I2CS devices.
||Posted - 05/16/2012 : 2:46:30 PM
I linked the LampLinc to the PLM - got the beeps from both devices and now I am getting feedback in Docklight every time I manually turn the dimmer on/off.
However, the LampLinc is still unresponsive to any commands I send. It seems like the required commands for Rev 1.6 have changed.
This is the log for Rev 1.5 (unlinked):
5/16/2012 17:32:11.354 [TX] - 02 62 18 96 DC 0F 11 FF
5/16/2012 17:32:11.384 [RX] - 02 62 18 96 DC 0F 11 FF 06 02 50 18 96 DC 19 73 23 2B 11 FF
5/16/2012 17:32:46.299 [TX] - 02 62 18 96 DC 0F 13 00
5/16/2012 17:32:46.323 [RX] - 02 62 18 96 DC 0F 13 00 06 02 50 18 96 DC 19 73 23 2B 13 00
=> lamp that is plugged in turns on/off
This is the log for Rev 1.6 (linked):
5/16/2012 17:37:09.447 [TX] - 02 62 18 A1 CF 0F 11 FF
5/16/2012 17:37:09.478 [RX] - 02 62 18 A1 CF 0F 11 FF 06 02 50 18 A1 CF 19 73 23 AB 11 FF
5/16/2012 17:37:16.456 [TX] - 02 62 18 A1 CF 0F 13 00
5/16/2012 17:37:16.489 [RX] - 02 62 18 A1 CF 0F 13 00 06 02 50 18 A1 CF 19 73 23 AB 13 FF
=> no reaction from the lamp that is plugged in.
Any ideas what to try next?
||Posted - 05/16/2012 : 11:33:08 AM
Thanks jdale! I'll give this a try when I get home later.
||Posted - 05/16/2012 : 11:21:57 AM
To link them, put them in the mode you want them to be in (probably turned on), then press and hold the set button until it beeps and the LED starts flashing.
Then send the PLM this sequence of bytes (in principle you could do this by pressing the button on the PLM but I could never get that to work): 0x02 0x64 0x00 0x01
This will link the LampLinc as a controller of the PLM. Functionally that just means the PLM will receive a message whenever you press the on/off buttons on the side of the LampLinc. But it should also allow you to send whatever commands you want to the LampLinc from the PLM.
You won't need to worry about the checksum or extended commands unless you start doing advanced things. Don't worry about it for standard commands like turning the LL's on and off.
||Posted - 05/16/2012 : 11:13:45 AM
Thanks for the prompt reply jdale.
I have to confess that I am a complete newbie when it comes to Insteon.
Could you please elaborate or point me in the right direction where I can read up on how to link them or add the checksum?
||Posted - 05/16/2012 : 11:06:47 AM
Many new devices since March, including these, use the new i2cs protocol. There are two important differences:
* They won't respond to direct commands unless those commands come from a linked device. Link them to the PLM and they should work as expected.
* Extended commands may require a checksum in D14.