I’m using a Philips Hue hub with both Ikea and Osram bulbs. Both work great, but in Home Assistant the Osram color bulbs can’t turn red. The other colors seem to work ok. When pointing at red it just does nothing - staying at the previous color chosen. When hovering over the color pallette from purple to yellow it just skips the red color and when it turns yellow it makes a short flash in red first.
Is this a known issue? Is there any way to fix it?
The Ikea color bulbs works flawlessly.
did you find a fix? I think I have the same problem with my innr color bulb.
when i send it (255 0 0) it doesn’t change, (0 255 0) works. When changing one zero too a one it works (255 1 0).
which seems weird.
I reïnstalled my raspberry without home assistant. So now zigbee2mqtt is seperate installed.(was testing with mqtt.fx)
For testing I send {"color": {"rgb": "255,0,0"}}
to the lamp.
which zigbee2mqtt converted to '{"state":"OFF","brightness":0,"color":{"x":0.7006,"y":0.2993},"color_temp":37}' So mabe the difference is that hassio-zigbee2mqtt is behind zigbee2mqtt with the branch. Can you easily check which x and y you where sending?(found mine in the zigbee2mqtt console and in the front page)
I just reinstalled home assistant. it seems when I select red it sends: ‘{“state”:“ON”,“brightness”:0,“color”:{“x”:0.701,“y”:0.299},“color_temp”:37}’ so it makes x and y 3 decimals instead of 4 which seems to make innr confused.
not sure where in home assistant I could change the decimal count for the rgb to xy converter. So I changed the mqtt light yaml from:
zigbee2mqtt knows that innr wants a xy value so it will convert him self which from testing I already knew works
did some more searching.
in homeassistant/util/color.py I can change the round from 3 to 4 in the function color_RGB_to_xy_brightness so that would be a easy fix. But I am not sure if this would brake diffrent lamps that expect only 3 decimals(or mabe it was just a byte saving measure)(this is my first week working with mqtt)