Old Lutron before Intercative Module
RicardoSiqueira
Posts: 373
I am looking for any help with a possible module for the old Lutron Homeworks System, before interactive or Illumination. I got a protocol from Lutron, but I am wondering if anyone have a module for it. I have the task to integrate this old Lutron System with Netlinx, but of course our sales team didn't sell enough hours for me to try to create a module for it. Lutron provided the attached protocol. I am just wondering if anybody out there has a module for it or sample code. The button emulation is very straight forward, but the LED feedback is very tricky.
Thanks,
Ricardo
Thanks,
Ricardo
0
Comments
Yes please send it to me. It will save me a lot of time trying to come up with something for a job undersold. I appreciate your help very much.
Ricardo
Thanks true for sending me your module. Now, I am trying to see if I can do the LED Feedback. Do you guys know how to covert a HEX number to bits and store it on an array? Here is a sample of a probable LED feedback string:
'L101A2BD',$0D,$0A
L1 = LED feedback for panel 1
01 = Keypad 1
A = HEX value for LED 13 to 16 - 1010 (LED 13 is On, 14 Off, 15 On and 16 Off)
2 = HEX value for LED 9 to 12 - 0010 (LED 9 is Off, 10 Off, 11 On, 12 Off)
B = HEX value for LED 5 to 8 - 1011 (LED 5 is On, 6 Off, 7 On, 8 On)
D = HEX value for LED 1 to 4 - 1101 (LED 1 is On, 2 On, 3 Off, 4 On)
The ideal would be to be able to store this on a structure or array that we could hold the PANEL, KEYPAD and all LEDS, so we could assign a TP channel # to the LED current status of 1 or 0.
Something like: [Panel][Keypad][0000000000000000]
Any ideas?
Thanks