egold555 |
- Keep Alive
- Power
- RGB
- Warm White
- Cool White
- Brightness
- Music
- Scenes
- DIY
From my understanding, all packets are 20 bytes long. The first byte is a identifier, followed by 18 bytes of data, followed by a XOR of all the bytes.
IDENTIFIER, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, DATA, XOR
Type | Unformatted UUID | Formatted UUID |
---|---|---|
Service | 000102030405060708090a0b0c0d1910 | 00010203-0405-0607-0809-0a0b0c0d1910 |
Characteristic | 000102030405060708090a0b0c0d2b11 | 00010203-0405-0607-0809-0a0b0c0d2b11 |
The checksum bit is a XOR of all the sent bits.
The segment bits are two bytes ranging from 0x00 0x00
t0 0xFF 0x0F
.
0x01 0x00
is the first light only, and 0xFF 0x0F
is the entire bar. It goes from lot bit to high bit.
It is always this, it never seems to change. This is sent every 2 seconds from the mobile app to the device.
0xAA, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x99
0x33, 0x33, PWR_BIT
Lamp | Power Bit |
---|---|
Both off | 0x00 |
Both on | 0x11 |
Left on right off | 0x10 |
Left off right on | 0x01 |
SEG
and SEG2
are the Segment Bits
0x33, 0x05, 0x15, 0x01, rr, gg, bb, 0x00, 0x00, 0x00, 0x00, 0x00, SEG, SEG2, 0x00, 0x00, 0x00, 0x00, 0x00, CHECKSUM
SEG
and SEG2
are the Segment Bits
0x33, 0x05, 0x15, 0x01, 0xFF, 0xFF, 0xFF, B1, B2, B3, B4, B5, SEG, SEG2, 0x00, 0x00, 0x00, 0x00, CHECKSUM
B1 - B5 somehow control the color tempature. I have not successfully figured out how those bytes control the tempature, below I have pasted full warm white, and full cool white as examples.
It also does not seem possable to adjust the brightness of the warm and cool white strips.
SEG
and SEG2
are the Segment Bits
0x33, 0x05, 0x15, 0x01, 0xFF, 0xFF, 0xFF, 0x07, 0xd0, 0xff, 0x89, 0x12, SEG, SEG2, 0x00, 0x00, 0x00, 0x00, CHECKSUM
SEG
and SEG2
are the Segment Bits
0x33, 0x05, 0x15, 0x01, 0xFF, 0xFF, 0xFF, 0x23, 0x28, 0xd9, 0xe1, 0xff, SEG, SEG2, 0x00, 0x00, 0x00, 0x00, CHECKSUM
SEG
and SEG2
are the Segment Bits
The PERCENT
value is between 1 (0x01) and 100 (0x64)
0x33, 0x05, 0x15, 0x02, PERCENT, SEG, SEG2 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, CHECKSUM