But why?
I was having stability issues with WiFi, and the Yeelight intergration of Home Assistant. After searching Google for information on how to flash this kind of led strip I found no results. So I tried it myself. And success! In this post I’m going to show you exactly how I did it.
What do you need?
- The Yeelight LED strip model YLDD05Y (duhh)
- Homeassistant running with ESPHome
- USB FTDI programmer
- Soldering iron
- Wires
Crack it open!
The led strip has no screws or anything. The best way to open it is to pry a screwdriver in between the two layers of plastic. It will open easily.

Solder to testpoints
We want to re-program the ESP on the PCB. Yeelight left us some test points on the PCB we can use Solder some wires to the following points, and connect them to the FTDI:
PCB -> FTDI
- TX -> RX
- RX -> TX
- VCC -> +3.3v
- GND-> GND
Prepaire ESPHome and flash
substitutions: name: yeelight-s1 esphome: name: ${name} esp32: board: esp32doit-devkit-v1 framework: type: esp-idf sdkconfig_options: CONFIG_FREERTOS_UNICORE: y advanced: ignore_efuse_mac_crc: true # Enable logging logger: # Enable Home Assistant API api: ota: password: "" wifi: ssid: "" password: "" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Yeelighjt-S1" password: "QVZf6CAx3rwf" output: - platform: ledc pin: GPIO13 id: output_red - platform: ledc pin: GPIO14 id: output_green - platform: ledc pin: GPIO5 id: output_blue light: - platform: rgb name: "${name} rgb light" red: output_red green: output_green blue: output_blue gamma_correct: 0
To flash the ESP on the board you need to connect test point IO0 to GND when powering on. This will start the ESP in flash mode. Now you can use ESPHome to flash the firmware. I used the option “Plug into this computer”. Select the FTDI, and start flashing! The software can take a while to compile and upload. So be patient.
After you have successfully flashed the ESP, disconnect power and reconnect power to reboot. Verify in ESPHome that the new device is online. Now desolder the test points and test the led strip by connecting the original power supply.
2 Comments