Recently ran into this problem when I updated to ESP Home Builder 2025.5.1. Once installed my ESP32 devices wouldn’t connect, although they showed “Online”. I tried everything including settings in my Router with the “DHCP” and “DNS” settings and still no connection or able to reinstall the devices. Finally after a couple of daze working on this the solution… was to remove 2025.5.1 and install an older version ESPHome 2025.2.
It now all works fine but I would rather use a more current version of ESPHome Builder. It was REALLY frustrating and hours of installing devices. I have new ESP32 devices and tried those but no luck. I just installed the ones that worked originally after I downgraded and they came back on-line. Here’s an IMPORTANT note to everyone! Before you upgrade MAKE SURE you create a solid BACKUP. I had one a couple days old so once I reverted to an older version of HomeBuilder I got all my devices back. But I did have to do a lot of reconfiguring.
I have four light strips running ESP32 devices hooked up through the house and outside my garage. The YAML is solid and all the same on each, I use “Fastled” as the light code rather than WLED.
So if you are getting difficulties with error message such as these…
*** WARNING Can’t connect to ESPHome API**
*** Unable to connect to the ESPHome device. Make sure the device’s YAML configuration includes an api section.**
*** [Errno -5] No address associated with hostname**
*** [Errno 111] Connect call failed**
Then the only answer I have for a solution is to install an older version of Home Builder. I found 2025.2 seemed to have fixed the problem. This took days of figuring out for me and was pretty frustrating. And yes, I did a LOT of searching with no solid solutions. I’ve been running HA on a PI 4 for over 5yrs so I have a LOT of experience plus I have over 20+ years working on systems. So it’s not like I’m new with any of this. Hope some of this info helps someone else with this difficulty. Thanks for any comments.
Yeah, I could try again but this time I’ll have to try it on a Test install rather than my active HA. And… make sure I have a more recent FULL backup. The error messages I received were rather cryptic so it was a lot of work just to get back to my ESP devices working. When I have the chance I’ll try again. Thanks pal.
I added power_save_mode: none to the WIFI section, but that did not help.
I can see (through the logfile, as the device is connected to the system ESPhome builder) that it connects to WIFI and I can ping the DUT. It looks it just not allows HA to communicate on port 6053.