Closed therealmysteryman closed 6 years ago
Hello,
I did not find any documentation about in the Milight 3.0 specification when I designed this library even though it was possible to change the Ibox color with the official milight3.0 Android app... (Chinese protocol, here we are =P)
Here is the specification I followed: http://www.limitlessled.com/dev/ (protocol v6)
If you can provide me the frame request used to switch the Ibox color, I could integrate it.
Cheers, Quentin
I didn't test it, but I found the frame request on that page [https://github.com/domoticz/domoticz/blob/master/hardware/Limitless.cpp]
V6_Bridge_SetColor[10] = { 0x31, 0x00, 0x00, 0x00, 0x01, 0xBA, 0xBA, 0xBA, 0xBA, 0x01 }; V6_Bridge_SetBrightnessLevel[10] = { 0x31, 0x00, 0x00, 0x00, 0x02, 0xBE, 0x00, 0x00, 0x00, 0x01 }; V6_Bridge_White_On[10] = { 0x31, 0x00, 0x00, 0x00, 0x03, 0x05, 0x00, 0x00, 0x00, 0x01 }; V6_Bridge_Disco_Mode[10] = { 0x31, 0x00, 0x00, 0x00, 0x04, 0x01, 0x00, 0x00, 0x00, 0x01 }; V6_Bridge_Mode_Speed_Up[10] = { 0x31, 0x00, 0x00, 0x00, 0x03, 0x02, 0x00, 0x00, 0x00, 0x01 }; V6_Bridge_Mode_Speed_Down[10] = { 0x31, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x01 };
Thanks :)
Perfect,
I'll do the change in few days (in a test branch).
Thank you for your help
Hey ;)
As discussed, it is now available since commit https://github.com/QuentinCG/Milight-Wifi-Bridge-3.0-Python-Library/commit/33e63577100d00ca348d38d92051fa942e079689 I pushed this in master as it doesn't break any other features.
Note that I could not check with a real module as I don't have it with me right now. --> Could you check if it works for you? (the 6 new shell commands)
Cheers, Quentin
Just tested it work for me perfectly :) Thanks this much appreciated :)
Perfect ! Thank you for your help :kissing_heart:
Tell me if something is strange with those new features, I prefer to fix an issue than leave a non working feature :smile:
I was wondering if the API can change the Color and Disco Mode of the IBox Bridge ? I'm able to Turn On and Off but not changing the color.
Thanks