Just ran into a problem after setting my outside Aeotec RGBW bulbs back to white after having them in color during the holiday season. HSB white is defined as 0, 0, 100, but using this to reset my bulbs gave a slightly dull off white, light purple color.
I was using this in a rule:
val color = new HSBType(new DecimalType(0),new PercentType(0),new PercentType(100)) ZPorch_Color_Control.sendCommand(color.toString)
What worked for me to get a better white was to do this instead:
var HSBType color = HSBType::fromRGB(255, 247, 43) ZPorch_Color_Control.sendCommand(color.toString) ZPorch.sendCommand(100)
Doing some googling, it seems that there a two LED’s inside the bulb and there are some issues with both LED’s communicating with OH2. In any case, I hope this helps someone.