ESPHome on Intel NUC - All devices have connection issues
- Dominant language
- No language data
- Stars
- 313
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
### The problem
I recently upgrade my HA install from a Raspberry Pi4b to an Intel NUC. I simply restored a snapshot from the Pi and everything was working fine. That is except for all my ESPHome devices. They are all disconnecting and reconnecting every second.
If I disconnect the NUC from the network and connect the Pi4 - Everything goes back to normal. All working fine.
I also have ESPHome desktop installed on docker for compiling (The Pi4b was struggling) When the NUC in on the network I can't compile.
Clearly its a NUC networking issue the relates to ESPHOme only. All other Integrations and add-on seem to be working fine.
Log info below:
### Which version of ESPHome has the issue?
2021.8.2
### What type of installation are you using?
Home Assistant Add-on
### Which version of Home Assistant has the issue?
core-2021.8.8
### What platform are you using?
ESP8266
### Board
All boards are D1-Mini
### Component causing the issue
All
### Example YAML snippet
```yaml
I don't think this is relevant.
```
### Anything in the logs that might be useful for us?
```txt
Example log from one device - The log is from my laptop docker install of ESPHome.
[09:19:42][D][api:067]: Disconnecting Home Assistant 2021.8.8 (10.0.0.13)
[09:19:42][D][api.connection:670]: Client 'Home Assistant 2021.8.8 (10.0.0.13)' connected successfully!
[09:19:47][D][api:067]: Disconnecting Home Assistant 2021.8.8 (10.0.0.13)
[09:19:47][D][api.connection:670]: Client 'Home Assistant 2021.8.8 (10.0.0.13)' connected successfully!
and after some time this happens...
[09:21:22][D][api:067]: Disconnecting Home Assistant 2021.8.8 (10.0.0.13)
[09:21:22][D][api.connection:670]: Client 'Home Assistant 2021.8.8 (10.0.0.13)' connected successfully!
WARNING Disconnected from API: Timeout while waiting for message response!
INFO Connecting to blinds01.local:6053 (10.0.0.30)
WARNING Couldn't connect to API (Error connecting to 10.0.0.30: [Errno 111] Connection refused). Trying to reconnect in 1 seconds
INFO Connecting to blinds01.local:6053 (10.0.0.30)
WARNING Couldn't connect to API (Error connecting to 10.0.0.30: [Errno 111] Connection refused). Trying to reconnect in 1 seconds
INFO Connecting to blinds01.local:6053 (10.0.0.30)
WARNING Couldn't connect to API (Error connecting to 10.0.0.30: [Errno 111] Connection refused). Trying to reconnect in 2 seconds
And logs from HA
Logger: homeassistant.components.esphome
Source: components/esphome/__init__.py:403
Integration: ESPHome (documentation, issues)
First occurred: 4:10:51 PM (286 occurrences)
Last logged: 7:19:56 PM
Can't connect to ESPHome API for light-sensor-02 (10.0.0.120): Error connecting to ('10.0.0.120', 6053): [Errno 111] Connect call failed ('10.0.0.120', 6053)
Can't connect to ESPHome API for light-sensor-02 (10.0.0.120): Timeout while waiting for API response!
Can't connect to ESPHome API for motion-entry (10.0.0.34): Timeout while waiting for API response!
Can't connect to ESPHome API for blinds01 (10.0.0.30): Timeout while waiting for API response!
Can't connect to ESPHome API for light-sensor-01 (10.0.0.117): Timeout while waiting for API response!
```
### Additional information
If anyone has some things in HA to look regarding the networking components that would be helpful.
Again if I reconnect the Pi4 to the network with exactly the same setup these issue go away. Its definitely this HA install on the NUC causing the issue.
Thanks in advance
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.