recently i have set up some rules to make my hue bulbs give some information about the house state. For example, when the front door is closed, the porch light will glow green shortly if all doors and windows are shut, red otherwise.
To set the color, I use HSBType, and thats when I saw that for some reason, I can not achieve 100% saturation nor get one color round trip through my rule.
The following experiment will show the behaviour:
GF_Dining_EZEssplatz_Color.sendCommand(new HSBType(new DecimalType(0), new PercentType(100), new PercentType(100)))
Is what I expect to turn the lamp to a fully saturated red with maximum brightness.
The command is well received, the REST API tells me, the Item state is now: 0,100,100.
However, the color of the hue bulb seems washed out.
So I open my All4HUE app and use the color picker. My first find is, the current position of the color picker is not on full saturation. Then I move the color picker to a full red and the bulb actually changes to what i wanted it to be in the first place.
Strangely, the item state updates to 0,100,100 in openhab.
To me, it looks like the maximum saturation value is communicated as something less then 100 percent, and as anything else received would be more than 100 is floored to 100%?
It “works” for blue and green as well… Does anybody experience the same?