acvigue / esphome-levoit-air-purifier

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

Missing documentation for flashing #7

Open Majr25 opened 4 months ago

Majr25 commented 4 months ago

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

Californian commented 4 months 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 4 months 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 4 months 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.