I’m trying out the new HA-autodiscovery from zigbee2mqtt with a single RGBWW lightbulb to start with. I tried both OH 4.3.3 release and OH 5.0M1 milestone. The bulb advertises like this from z2m:
I can create items for those three channels and link them up, and it gives me control of the RGB portion of the light (with a colorpicker control), but how can I control the colortemperature or even put it in that (“white”) mode? My office is now exclusively disco-themed
Ok, that worked, at least to get me to the next stage! The item for color temperature seemed “read only” because it doesn’t accept input via the “Model” page, or what I think is called MainUI. Instead, I created an old school sitemap, put a slider control linked to the color temp item, and it works! However, I still don’t have on/off or intensity control for the “white” (color temperature) mode. But that was a helpful clue, thanks!
Edit: on/off control is available via the colorpicker connected to the Color item. Intensity control is also there, but if I adjust it, the mode goes back to xy (RGB – disco office again!). The new intensity actually remains in effect if I then choose a color_temp, but that’s awkward.
If the item is of type Number:Temperature then you can link it to a Colortemperaturepicker control in the sitemap. But if it is just a number then you need a Dimmer control.
Thanks for the clue! I’m using MQTT auto-detect (HA) so the Thing and Item are automatically created and typed. Here’s the Thing Channel and Item link:
So it looks like the Channel is just a Number but the linked Item is a Number:Temperature, if I read that correctly. I attached a Colortemperaturepicker to the Item and it looks like this in Basic UI:
It displays the color temp but I can’t interact with it; there’s no control. A Slider control actually does work!
When I move it back & forth the color temp of the lights responds correctly. I assume a Switch type would also work with pre-defined setpoints. So that’s effective, but I wonder if it’s still not “correct,” especially as the Main UI control for Color Temperature is read-only: