ESP home update via this computer not working

Hello,

I always update my update my ESP home devices over the air (or connected directly on my HA server - an Odroid N2+).

Now the last update I see this :

When updating the device to ESPHome 2022.12.4, it is recommended to use a serial cable instead of an over-the-air update to take advantage of the new partition scheme.

As my device is far from my Odroid (and not so easy to detach cause of wiring) I would like to do the update via my laptop.

I installed the drivers and my ESP device is detected, but then I get an error : Failed to initialize. Try resetting your device or holding the BOOT button while selecting your serial port until it starts preparing the installation.

I’m running HA via duckdns, but even directly with the internal IP address seems not to resolve the problem.

When I go to https://web.esphome.io/ I can connect my device and see the logs (so there is working).

Can someone help me out of this ?

What connection are you using? FTDI over USB?

You mean this ?

image

Yes. How did you originally flash the devices? Do you have experience with that CP210x device? How have you wired your ESP device to it?

Originally I connected it directly on my Odroid (option “Plug into the computer running ESPHome Dashboard”). After that I used “Wirelessly” to update the esp device.

It’s the first time I use the CP210x device. To be sure I used the same cable I used originally (from my Odroid to my computer).

image

image

After clicking the button “Verbinding maken” I get a message “Connecting”, but then this error :

image

What are the ESP devices? How are you connecting them to the CP210x?

There are lots of ESP devices — some flash via a USB socket, some need wiring up with TX/RX UART wiring.

All my esp devices are NodeMCU-32S. They are connected via an USB cable (power & data) to my computer.