Color Control

Attributes

Attribute ID Name Type Comments
0x0000 CurrentHue Unsigned 8-bit integer Hue = CurrentHue x 360 / 254
0x0001 CurrentSaturation Unsigned 8-bit integer Saturation = CurrentSaturation/254
0x0002 RemainingTime Unsigned 16-bit integer in 1/10ths of a second
0x0003 CurrentX Unsigned 16-bit integer CIE xyY Color Space, x = CurrentX / 65536 (CurrentX in the range 0 to 65279 inclusive)
0x0004 CurrentY Unsigned 16-bit integer CIE xyY Color Space, y = CurrentY / 65536 (CurrentY in the range 0 to 65279 inclusive)
0x0007 ColorTemperature Unsigned 16-bit integer Color temperature = 1,000,000 / ColorTemperature, where ColorTemperature is in the range 1 to 65279 161 mireds inclusive, giving a color temperature range from 1,000,000 kelvins to 15.32 kelvins.
0x0008 ColorMode 8-bit enumeration  
0x4000 EnhancedCurrentHue Unsigned 16-bit integer The EnhancedCurrentHue attribute represents non-equidistant steps along the CIE 1931 color triangle, and it 174 provides 16-bits precision.
0x4001 EnhancedColorMode 8-bit enumeration  
0x400a ColorCapabilities Unsigned 16-bit bitmap  

Commands

Move to Hue (0x00)

Field Name Type Comments
Hue Unsigned 8-bit integer  
Direction 8-bit enumeration 0x00 - Shortest distance
0x01 - Longest distance
0x02 - Up
0x03 - Down
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move Hue (0x01)

Field Name Type Comments
Move Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Rate Unsigned 8-bit integer Units per second

Step Hue (0x02)

Field Name Type Comments
Step Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Step Size Unsigned 8-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move to Saturation (0x03)

Field Name Type Comments
Saturation Unsigned 8-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move Saturation (0x04)

Field Name Type Comments
Move Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Rate Unsigned 8-bit integer Units per second

Step Saturation (0x05)

Field Name Type Comments
Step Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Step Size Unsigned 8-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move to Hue and Saturation (0x06)

Field Name Type Comments
Hue Unsigned 8-bit integer  
Saturation Unsigned 8-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move to Color (0x07)

Field Name Type Comments
ColorX Unsigned 16-bit integer  
ColorY Unsigned 16-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move Color (0x08)

Field Name Type Comments
RateX Signed 16-bit integer Units per second
RateY Signed 16-bit integer Units per second

Step Color (0x09)

Field Name Type Comments
StepX Signed 16-bit integer  
StepY Signed 16-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Move to Color Temperature (0x0a)

Field Name Type Comments
Color Temperature Unsigned 16-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Enhanced Move to Hue (0x40)

| Field Name | Type | Comments | | — | — | — | | Enhanced Hue | Unsigned 16-bit integer | | | Direction | 8-bit enumeration | 0x00 - Shortest distance
0x01 - Longest distance
0x02 - Up
0x03 - Down
| | Transition Time | Unsigned 16-bit integer | in 1/10ths of a second |

Enhanced Move Hue (0x41)

Field Name Type Comments
Move Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Rate Unsigned 16-bit integer Units per second

Enhanced Step Hue (0x42)

Field Name Type Comments
Step Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Step Size Unsigned 16-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Enhanced Move to Hue and Saturation (0x43)

Field Name Type Comments
Enhanced Hue Unsigned 16-bit integer  
Saturation Unsigned 8-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second

Stop Move Step (0x47)

No payload.

Move Color Temperature (0x4b)

Field Name Type Comments
Move Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Rate Unsigned 16-bit integer Units per second
Color Temperature Minimum Unsigned 16-bit integer  
Color Temperature Maximum Unsigned 16-bit integer  

Step Color Temperature (0x4c)

Field Name Type Comments
Step Mode 8-bit enumeration 0x00 - Stop
0x01 - Up
0x03 - Down
Step Size Unsigned 16-bit integer  
Transition Time Unsigned 16-bit integer in 1/10ths of a second
Color Temperature Minimum Unsigned 16-bit integer  
Color Temperature Maximum Unsigned 16-bit integer