-
Notifications
You must be signed in to change notification settings - Fork 387
Description
Describe the bug
When I use the Home Assistant built in color picker, very often the bulbs turn the wrong color
Firmware:
- Versions tried: 1.18.181, 1.18.109 and 1.17.736
- Device: Daybetter 800lm RGB+2700-6500K
- Chip/model: wb2l / BK7231T
- Device config: bp5758d on pins 7 and 8, with BP5758D_Map 2 1 0 3 4
To Reproduce
Steps to reproduce the behavior:
- Add a bulb to home assistant
- Open the light entity for the device, choose a color on the color picker
- Observe the color
- Use MQTT explorer to see what color was selected, and compare that color to the light
Screenshots
Here I selected orange:

Here's the color that was sent through MQTT:

This is what color FF8402 should be:
https://www.color-hex.com/color/ff8402

This is what the light is doing. The light on the left is using ESPHome (it is dining-room-1), the light on the right is using OpenBK 1.18.181. Both are showing the same color, in theory.
If it isn't clear from the image, because photos look different on different screens, the left ESPHome bulb looks like the same orange as FF8402, while the OpenBK bulb looks greenish yellow.

Additional context
I thought maybe it was just the way these bulbs were until I tried ESPHome on this one bulb, and there the colors work perfectly. Unfortunately the startup time for ESPHome is terrible compared to OpenBK so I'd much rather stick to this project!