ESPHome update 2024.5.0 has stopped my device from working

Since the ESPHome update 2024.5.0 my D1Mini is not working any more (esp8266, board: d1_mini) I cannot reach the device via WLAN anymore.
Connection via USB and esphome-flasher-1.4.0 shows an exception:

[00:54:00][W][api.connection:091]: : Socket operation failed: HANDSHAKESTATE_SETUP_FAILED errno=11
[00:54:00][W][component:170]: Component api cleared Warning flag
[00:54:00][W][component:157]: Component api set Warning flag: unspecified
[00:54:00][D][api:102]: Accepted 192.168.178.44
[00:54:00]
[00:54:00]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[00:54:00]
[00:54:00]Exception (3):
[00:54:00]epc1=0x401011e9 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4004ac91 depc=0x00000000
[00:54:00]
[00:54:00]>>>stack>>>
[00:54:00]
[00:54:00]ctx: cont
[00:54:00]sp: 3ffffbe0 end: 3fffffd0 offset: 0150

[00:54:00]<<<stack<<<
[00:54:00]
[00:54:00]--------------- CUT HERE FOR EXCEPTION DECODER ---------------
[00:54:01]
[00:54:01] ets Jan 8 2013,rst cause:2, boot mode:(3,6)
[00:54:01]
[00:54:01]load 0x4010f000, len 3424, room 16
[00:54:01]tail 0
[00:54:01]chksum 0x2e
[00:54:01]load 0x3fff20b8, len 40, room 8
[00:54:01]tail 0
[00:54:01]chksum 0x2b
[00:54:01]csum 0x2b
[00:54:01]v0009d1b0
[00:54:01]~ld

With the ESPHome version 2024.4.1 I had no problems.
Is it somehow possible to put pack temporary the old ESPHome version (without using a complete Homeassistant backup) and to compile a bin file with this version?

Check this topic: Legacy ESPHome versions add-on
As well You can install any version of ESPHome on Windows PC.

1 Like

Great, worked perfectly. Exactly what I was looking for.
I had already made a plan to create a manual download version for each device before every ESPHome update in the future. From now on I can create an old version at any time :o)

It is really disturbing that the version 2024.5.x causes massive problems to complete failures, which are known at Github and yet new versions appear without these bugs being fixed. It can’t be true that you have to help yourself with workarounds.