Closed Robiinn closed 6 years ago
Do we know why the previous constants are incorrect? Were they ever correct?
From the official documentation on http://www.limitlessled.com/dev/:
RGBW/WW/CW Zone 1 ON 80 00 00 00 11(length hex) (17 01)(WB1WB2) 00 SN 00 (31 00 00 08 04 01 00 00 00)(cmd) 01(zone) 00 3F(chksum) response: (88 00 00 00 03 00 SN 00)
RGBW/WW/CW Zone1 OFF 80 00 00 00 11(length hex) (17 01)(WB1WB2) 00 SN 00 (31 00 00 08 04 02 00 00 00)(cmd) 01(zone) 00 40(chksum) response: (88 00 00 00 03 00 SN 00)
Command is 08 04 01 and 08 04 02 to turn off and on, so the official documentation seems to be wrong for the dual white lamps at least.
Fix for V6 Dual White lamps.
Credits go to https://github.com/m038/python-limitlessled for making the changes.