Purchased several of these from Costco, on sale for 20.99 for a two pack, was a great deal. But in looking around online I couldn’t find any configs for ESPHome.
It still creates two Lights one RGB and one Color Temperature white… .If anyone has any suggestions to consolidate great otherwise here is my config.
Sorry I should update my post this is the esphome yaml config for my bulb itself. Platform: cww is the color temperature changing white LED’s that are in this bulb. The direct pwm in these bulbs drives a much brighter white and white hue temps ie 2K to 5K vs the separate RGB controller powered by the SM16716
Yes however the esphome treats these as two different lights so even I’m mqtt it’s sending two entities. Would prefer an esphome fix rather than my optional light template work around
I did see this post, unfortunately the bulb I have uses a different LED controller that the ailight. However, the code above is working mostly for anyone else who also got some of these Tuya based bulbs and wants to move local.
Was debating on leaving them Tasmota/MQTT as there is a functional template that works, but I rather like what has become of the esphome stuff. The only thing that I have an issue with is ESPHome makes what is technically two bulbs in one, This bulb has a white temperature dimmable bulb and a separate RGB LED.
Yes I didn’t have time to check whether the bulbs you are using were compatible with AiLight, sorry if it was a garden path that led nowhere.
I like EspHome too. I only started using it a few days ago when I received an esp32 module with an oled on it. Magic getting it printing so quickly and with access to fonts etc. The rapid development with edit, compile and upload via ota is also magic.
This was a Tuya blub so it was my first push into Tuya-convert, it was so easy but this bulb has so many options being RGB and White so it makes it a little complicated on the ESPHome side. plus about $10.00 US a bulb pretty darn good.
I used the default tasmota flash in the tyua convert app and then compiled and downloaded the bin from ESPhome and used the web interface to flash the esphome to the bulb. I found it safer then copying the correct bin to my tuya-convert pi and hoping it all went well.
Copying that config gets me a single bulb in HA but the RGB controls don’t work properly, although they do tweak the color temp a bit. I’m wondering if you made any more progress?
After talking with Otto though currently because they are two different controller types they will be two bulbs. So I switched back to Tasmota for the time being.
After spending several hours playing around here is my script:
I added several effects as well as the web server (probably not a very secure idea)
you can remove these sections if you wish.
I’m excited to try this! I got these feit bulbs from Costco about a month ago now and really wanted to get them to work esphome but was reluctant to try due to the two lights issue mentioned above and since tasmota worked well.
Has anyone tried this with Tuya Convert version 2.3.0? After flashing the latest ESPHome from Tasmota 7.0.0.3 (that comes with tuya-convert 2.3.0), the light controls (White level, temperature, color changes etc.) are not working. The commands are going to ESPHome (can see it in the ESPHome logs), but the light bulb is not responding to those commands.
I opened an issue with ESPHome - but checking here as well (especially because the lights with tuya-convert 2.2.0 are working just fine).
Well, I tried flashing sonoff-minimal.bin and then sonoff.bin and connected it back to HA through MQTT and now I am able to change colors, brightness, white level etc. Strange - but at least the light controls still work.
I can provide any additional information if that will be of any help.