acvigue / esphome-levoit-air-purifier

ESPHome custom component for Levoit branded smart WiFi air purifiers
https://vigue.me/
Other
15 stars 4 forks source link

Missing documentation for flashing #7

Open Majr25 opened 1 month ago

Majr25 commented 1 month ago

Documentation should mention you need to wire the IO0 pin to ground in order to flash the ESP32 chip.

Californian commented 1 month ago

Wow thanks for this, unfortunately it still doesn't work to flash it for me -- any other things you found missing in the instructions?

Majr25 commented 1 month ago

Nothing else I can think of for actually doing the flash, if you're able to read the contents fine so you know you've got the rx/tx wired up correctly. If you do the flash but get errors when booting (after disconnecting IO0), make sure you picked the modern image when downloading from esphome.

Californian commented 1 month ago

Unfortunately, sudo esptool.py chip_id just fails, so I assume I wired something else up incorrectly (though it looks like nothing is shorted based on my continuity tests). Thanks for solving at least one of my issues though!

Serial port /dev/ttyUSB0
Connecting......................................
/dev/ttyUSB0 failed to connect: Failed to connect to Espressif device: No serial data received.