syssi / esphome-yeelight-ceiling-light

ESPHome custom firmware for some Yeelight Ceiling Lights
Apache License 2.0
134 stars 20 forks source link

Support for Yeelight Smart LED Light Panels #30

Open Apocrathia opened 2 years ago

Apocrathia commented 2 years ago

The new Yeelight Smart LED Light Panels (Model YLFWD-012) appear to have been released with the non-local firmware on the controller. However, upon further inspection, the controller is running an ESP-WROOM-32D. What can we do to get this working with ESPhome?

Please refer to the following post on the ESPhome forums for more details.

syssi commented 2 years ago

I don't own the device so I would like to guide you through the complete process to transform your lamp to an esphome device. The most important and required tool is a multimeter. Do you own a multimeter and do you know how to measure voltage & resistance? :-)

syssi commented 2 years ago
  1. Please provide a high resolution photo of the PCB holding the ESP32 (both sides)
  2. We will try to identify the following pins: 3.3V, GND, RXD, TXD, GPIO0 + the GPIOs driving the LEDs + the GPIOs of the 4 buttons
Apocrathia commented 2 years ago

I've already got all of the necessary tools. Here are all of the pictures that I've taken of the board and accessories. IMG_4626 IMG_4625 IMG_4624 IMG_4623 IMG_4622 IMG_4621 IMG_4620 IMG_4619 IMG_4618 IMG_4617 IMG_4616 IMG_4615 IMG_4614 Additionally, here's a reference for the pinout for the ESP-WROOM-32D espressif_espwroom32_details It looks like the tx/rx pins are already identified on the board, but I might have to solder leads directly to the ESP for the others. As of right now, it looks like I am able to get them into HA via the Yeelight integration. It took some digging in the app, but it seems that local control is still available to be enabled. However, I also assume that there will be others purchasing these same lights, and wanting them to work with ESPhome.

imhotep commented 2 years ago

@Apocrathia Did you ever get it to work with ESPHome?

Apocrathia commented 2 years ago

No, sorry, I haven't really had a chance to work with these. I still haven't even put them up anywhere. I was able to get them pulled into Home Assistant via the Yeelight integration, but I can only control static colors, brightness, and power. None of the effects or audio functions. Because of the number of features provided by the controller, I've also opened an issue on the python-yeelight repository (the library that Home Assistant uses in it's integration), as implementing everything in ESPHome may be a much larger endeavor than initially expected. However, I simply haven't had an opportunity to really look at it.

k37chup commented 1 year ago

Same boat hoping that maybe there was some integration esphome or tasmota but haven't seen anything. I was able to get my hands on a 2nd control board because the first one that was sent to me wasn't broadcasting SSID and I think looking at the chip maybe its due to some overlapping solder joints on the ESP32. Bought some replacements and was hoping to flash something other than the Stock Firmware on there. Anyone have the opportunity to look at these yet?