Closed Weasy666 closed 2 years ago
The toolchain isn't Raspberry Pi 3 (aarch64) compatible at the moment. Unfortunately you will have to use another machine to compile & flash the yaml. I try to provide a list of steps to pave your way:
pip3 install esphome
esphome
at a terminal and build + flash the yaml: esphome run yeelight_light_ceiling10.yaml
Thank you for the prompt reply π
Oh...so it is not compatible with the chip architecture, ok. I don't have access to a linux machine, but i will try to build it inside a linux docker image on a Windows machine. Or use a VM if that doesn't work
Windows will be fine too: https://esphome.io/guides/installing_esphome.html#windows
I build it with WSL2 with esphome compile yeelight_light_ceiling10.yaml
and my secret.yaml
. Because WSL did not recognize my CP2102N device, i had to flash the ./.esphome/build/yeelight-light-ceiling10/.pioenvs/yeelight-light-ceiling10/firmware.bin
with ESPHome Web. I put the board back into the lamp and connected the power cord, but the lamp does not light up or appear in my WiFi, as a Hotspot or as a Bluetooth device.
Is there something else i am missing?
It sounds like the ESP32 is unable to connect to your WiFi. You should attach the USB-to-serial adapter again to look into the logs (esphome logs yeelight_light_ceiling10.yaml
).
Logs are spammed with
[15:05:36]rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:05:36]flash read err, 1000
[15:05:36]ets_main.c 371
Please flash the firmware again. Something went wrong last time. If this doesn't help try erase_flash
via esptool.py
.
Could you try to get the CP2102N
recognized? I don't trust the ESPHome Web
thing.
Another idea: Please make sure the Pins of the ESP32 and the use test pins are clean. I assume the flash read err
can happen if EN
is pulled to GND
.
π€¦ββοΈ i am an idiot! you need to flash firmware-factory.bin
and NOT firmware.bin
!
Sorry for that! And thank you very much for your help π
You are welcome!
I am trying to build
yeelight_light_ceiling10.yaml
on my raspberry pi3 with the ESPHome Homeassistant addon, but am getting the following error:My steps
I want to build the binary on the raspberry and then flash it to the yeelight device per ESPHome Web. So i open the ESPHome Addon, click
New Device
>Install
>Manual Download
>Modern Format
and get the above error.The Raspberry is running Home Assistant OS and everything is up-to-date. I am pretty new to the ESPHome stuff, so i hope it is ok to ask for help here.