Closed Kristian8606 closed 4 years ago
It's just writing to I2C device registers. All you need to do is to use two simple commands: first one sets white color of given temperature, second one sets arbitrary RGB color, assuming that library actually works. Couldn't find a proper datasheet for that chip, only one in chinese and it didn't seem to have information on registers and commands.
Ok, found datasheet translated to english: SM2135E_zh-CN_en-US_translated.pdf. It contains information on format of commands.
Thank you for your advice. I will try it and report the result you.
I looked through the code and realized that I couldn't handle it.
Hello @maximkulkin ! Would it be difficult to i implement this library https://github.com/NURDspace/esphome/tree/sm2135/esphome/components/sm2135 for freeRtos to manage this inexpensive light bulb. https://github.com/RavenSystem/esp-homekit-devices/issues/870