Need Help with Unavailable ESPHome Devices

I have several devices that I’ve flashed with ESPHome but have since been disconnected since I am either not using them or I am looking for a place to put them. I am running Home Assistant in Docker for background, trying to run on v 0.101.1

Lately, my Home Assistant logs have been flooded by these error messages and today I can’t get home assistant to start because of these failures. It doesn’t seem to ever time out and move on when an ESPHome device isn’t available. Here are the logs:

2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.129: Error connecting to ('192.168.1.129', 6053): [Errno 113] Connect call failed ('192.168.1.129', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.52: Error connecting to ('192.168.1.52', 6053): [Errno 113] Connect call failed ('192.168.1.52', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.49: Error connecting to ('192.168.1.49', 6053): [Errno 113] Connect call failed ('192.168.1.49', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.45: Error connecting to ('192.168.1.45', 6053): [Errno 113] Connect call failed ('192.168.1.45', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.50: Error connecting to ('192.168.1.50', 6053): [Errno 113] Connect call failed ('192.168.1.50', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.48: Error connecting to ('192.168.1.48', 6053): [Errno 113] Connect call failed ('192.168.1.48', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.51: Error connecting to ('192.168.1.51', 6053): [Errno 113] Connect call failed ('192.168.1.51', 6053),
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:12 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.53: Error connecting to ('192.168.1.53', 6053): [Errno 113] Connect call failed ('192.168.1.53', 6053),
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.55: Error connecting to ('192.168.1.55', 6053): [Errno 113] Connect call failed ('192.168.1.55', 6053),
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.57: Error connecting to ('192.168.1.57', 6053): [Errno 113] Connect call failed ('192.168.1.57', 6053),
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.56: Error connecting to ('192.168.1.56', 6053): [Errno 113] Connect call failed ('192.168.1.56', 6053),
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:11:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sensornode_01.local: Error resolving IP address: [Errno -3] Try again,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sensornode_03.local: Error resolving IP address: [Errno -3] Try again,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.50: Error connecting to ('192.168.1.50', 6053): [Errno 113] Connect call failed ('192.168.1.50', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.45: Error connecting to ('192.168.1.45', 6053): [Errno 113] Connect call failed ('192.168.1.45', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.49: Error connecting to ('192.168.1.49', 6053): [Errno 113] Connect call failed ('192.168.1.49', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.52: Error connecting to ('192.168.1.52', 6053): [Errno 113] Connect call failed ('192.168.1.52', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.129: Error connecting to ('192.168.1.129', 6053): [Errno 113] Connect call failed ('192.168.1.129', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.51: Error connecting to ('192.168.1.51', 6053): [Errno 113] Connect call failed ('192.168.1.51', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.48: Error connecting to ('192.168.1.48', 6053): [Errno 113] Connect call failed ('192.168.1.48', 6053),
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:15 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.53: Error connecting to ('192.168.1.53', 6053): [Errno 113] Connect call failed ('192.168.1.53', 6053),
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.56: Error connecting to ('192.168.1.56', 6053): [Errno 113] Connect call failed ('192.168.1.56', 6053),
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.57: Error connecting to ('192.168.1.57', 6053): [Errno 113] Connect call failed ('192.168.1.57', 6053),
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.55: Error connecting to ('192.168.1.55', 6053): [Errno 113] Connect call failed ('192.168.1.55', 6053),
2019-11-05 13:12:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.129: Error connecting to ('192.168.1.129', 6053): [Errno 113] Connect call failed ('192.168.1.129', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.52: Error connecting to ('192.168.1.52', 6053): [Errno 113] Connect call failed ('192.168.1.52', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.49: Error connecting to ('192.168.1.49', 6053): [Errno 113] Connect call failed ('192.168.1.49', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.45: Error connecting to ('192.168.1.45', 6053): [Errno 113] Connect call failed ('192.168.1.45', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.50: Error connecting to ('192.168.1.50', 6053): [Errno 113] Connect call failed ('192.168.1.50', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.48: Error connecting to ('192.168.1.48', 6053): [Errno 113] Connect call failed ('192.168.1.48', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.51: Error connecting to ('192.168.1.51', 6053): [Errno 113] Connect call failed ('192.168.1.51', 6053),
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:18 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.53: Error connecting to ('192.168.1.53', 6053): [Errno 113] Connect call failed ('192.168.1.53', 6053),
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.55: Error connecting to ('192.168.1.55', 6053): [Errno 113] Connect call failed ('192.168.1.55', 6053),
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.57: Error connecting to ('192.168.1.57', 6053): [Errno 113] Connect call failed ('192.168.1.57', 6053),
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.56: Error connecting to ('192.168.1.56', 6053): [Errno 113] Connect call failed ('192.168.1.56', 6053),
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:27 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sensornode_03.local: Error resolving IP address: [Errno -3] Try again,
2019-11-05 13:13:27 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:13:27 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sensornode_01.local: Error resolving IP address: [Errno -3] Try again,
2019-11-05 13:13:27 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.50: Error connecting to ('192.168.1.50', 6053): [Errno 113] Connect call failed ('192.168.1.50', 6053),
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.45: Error connecting to ('192.168.1.45', 6053): [Errno 113] Connect call failed ('192.168.1.45', 6053),
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.49: Error connecting to ('192.168.1.49', 6053): [Errno 113] Connect call failed ('192.168.1.49', 6053),
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.52: Error connecting to ('192.168.1.52', 6053): [Errno 113] Connect call failed ('192.168.1.52', 6053),
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.129: Error connecting to ('192.168.1.129', 6053): [Errno 113] Connect call failed ('192.168.1.129', 6053),
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:21 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:22 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.51: Error connecting to ('192.168.1.51', 6053): [Errno 113] Connect call failed ('192.168.1.51', 6053),
2019-11-05 13:14:22 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.48: Error connecting to ('192.168.1.48', 6053): [Errno 113] Connect call failed ('192.168.1.48', 6053),
2019-11-05 13:14:22 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:22 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.53: Error connecting to ('192.168.1.53', 6053): [Errno 113] Connect call failed ('192.168.1.53', 6053),
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.56: Error connecting to ('192.168.1.56', 6053): [Errno 113] Connect call failed ('192.168.1.56', 6053),
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.55: Error connecting to ('192.168.1.55', 6053): [Errno 113] Connect call failed ('192.168.1.55', 6053),
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.1.57: Error connecting to ('192.168.1.57', 6053): [Errno 113] Connect call failed ('192.168.1.57', 6053),
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:24 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:39 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sensornode_03.local: Error resolving IP address: [Errno -3] Try again,
2019-11-05 13:14:39 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for sensornode_01.local: Error resolving IP address: [Errno -3] Try again,
2019-11-05 13:14:39 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,
2019-11-05 13:14:39 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds,

Those failures will not stop home assistant from running.

You’re right, I rolled back to v 0.100.1 and it comes up. Sadly these errors are so frequent I can’t see what is actually failing.

Just a suggestion but have you considered reducing the noise by adjusting the logging level? It can be done globally or with a little finesse by component.

It may help to pinpoint the issue.

I’ll try that, thanks @skutter!

Did you ‘update’ to esphome 0.14.x? If you did that might be why.

I haven’t updated esphome in at least 3 months, so it should have been updated.

Didn’t you ‘update’ to esphome 0.14.x? If you did’t that might be why.

0.14 works fine for me.

I figured out the issue thanks to @skutter 's suggestion. I had an entry for the legacy password in HTTP section that was a breaking change in 0.101.0, but since I don’t use it I didn’t think to check my config.

I’ve had terrible WiFi disconnects constantly on a variety of ESP8266 devices which used to be rock solid every since I “updated” to 1.14.X. What’s causing it and any ideas of fixes? Driving me nuts.

3 Likes

image

Their can be only one issue #455

https://github.com/esphome/issues/issues/455

Look into . storage folder. Looks like a config file of esphome stays there even if the integration was deleted. I had tons of old files there. Had to manually clean up.

2 Likes

This seems to be still a bug.
Leftovers in the .storage folder even after deleting the ESPHome configuration.

1 Like