I think I missed something when adding this device to the database.
From the technical manual:
4.4Switch Color Set Command Class
Priority | Capability ID | Color
1(Highest) | 0 | Warm White
2 | 1 | Cold White
3 | 2 | Red
4 | 3 | Green
5(Lowest) | 4 | Blue
Note: White color LED and RGB LED will not light up at the same time, so the software makes the following processing. When you want to activate the current RGB color, the color value of higher priority should be set to 0.For example: The warm white is the highest priority, when it is configured to 0, the Cold white or RGB color configuration values can be activated. Otherwise, the bulb is always be activated by warm white.
And from the Users Guide:
LED Bulb 6 uses SWITCH COLOR Command Class to allow you to change between Warm White, Cold White, or a
mixture of RGB colors. Warm White takes the highest priority and will default to this setting on factory reset values
Apparently I left out a command switch somewhere. In reading this - and I am probably getting this wrong - to change the to a color other than âWarm Whiteâ I need to set this property to 1 âCold Whiteâ Then I can set a color. using RGB.
Currently I can change the color of the bulb but it always changes back immediately.
(from my log file)
2018-12-05 19:17:37.831 [ome.event.ItemCommandEvent] - Item 'Light_Office_Color' received command 120,100,39
2018-12-05 19:17:37.840 [nt.ItemStatePredictedEvent] - Light_Office_Color predicted to become 120,100,39
2018-12-05 19:17:37.849 [vent.ItemStateChangedEvent] - Light_Office_Color changed from NULL to 120,100,39
2018-12-05 19:17:38.161 [vent.ItemStateChangedEvent] - Light_Office_Color changed from 120,100,39 to 0,100,100
Thoughts on what Iâve done wrong and how I can fix it?
Cheers!
=C=