Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Yeelight Smart LED Light Panels #30

Open
Apocrathia opened this issue Dec 22, 2021 · 6 comments
Open

Support for Yeelight Smart LED Light Panels #30

Apocrathia opened this issue Dec 22, 2021 · 6 comments
Labels

Comments

@Apocrathia
Copy link

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
Copy link
Owner

syssi commented Dec 22, 2021

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
Copy link
Owner

syssi commented Dec 22, 2021

  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
  • 3.3V & GND is required to power the board while flashing. If the device has a power supply and is powered by a low voltage we could use the power supply to power the board/esp32.
  • GPIO0 is required to boot the ESP32 into the download mode to flash new firmware / make a backup of the stock firmware.
  • The GPIOs driving the LEDs: Could you describe the features of the stock firmware? Do you know any details about the LEDs? Could you provide a photo of the LEDs + the connector to attach the LEDs? I hope the LEDs are driven by a well known bus like WS2812b LEDs and the 4 contacts are: VCC, DOUT, DIN, GND.

@syssi syssi added the esp32 label Dec 23, 2021
@Apocrathia
Copy link
Author

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
Copy link

imhotep commented Jan 21, 2022

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

@Apocrathia
Copy link
Author

Apocrathia commented Jan 21, 2022

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
Copy link

k37chup commented Nov 30, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants