- 
                Notifications
    You must be signed in to change notification settings 
- Fork 232
CCT
        Chris Mullins edited this page Sep 24, 2017 
        ·
        1 revision
      
    - Unidirectional. Bulbs never send packets.
- Always 7 bytes.
The packets are structured as follows:
| Field | Length | Notes | 
|---|---|---|
| 1 | 1 byte | Always 0x5A | 
| 2 | 2 bytes | Device ID | 
| 3 | 1 byte | Group ID | 
| 4 | 1 byte | Command (listed in code here) | 
| 5 | 1 byte | Sequence num (unused?) | 
| 6 | 1 byte | Sequence num (usually ≠ to field #5) | 
- Brightness and temperature can only be controlled by increase and decrease commands.