mmakaay / esphome-xiaomi_bslamp2

ESPHome integration for the Xiaomi Mijia Bedside Lamp v2.
Other
204 stars 49 forks source link

[FEATURE] Night mode color calibration #123

Closed scorpi-zx closed 9 months ago

scorpi-zx commented 9 months ago

Is your feature request related to a problem? Please describe. In night lighting mode, only red LEDs work on my lamp. In other modes, all RGB LEDs work. I think the brightness level is too low for the blue and green channels, that's the problem.

Describe the solution you'd like It is necessary to calibrate the brightness level (voltage level) on the blue and green channels. Please tell me how can I calibrate the levels on the blue and red channel for night mode?

To be fair, the original firmware worked similarly, the night mode was red. Apparently the lamp is defective.

Thank you!

scorpi-zx commented 9 months ago

Double. Found a similar problem and solution. https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/75