prefixkit Ask an engineerAsk Support RU

Error reference · ESPHome

ESPHome: Can't connect to ESPHome API for kitchen-sensor @ 192.168.1.50: Error connecting to…

Can't connect to ESPHome API for kitchen-sensor @ 192.168.1.50: Error connecting to [AddrInfo(...)]: [Errno 111] Connect call failed

What it means

Home Assistant reaches the address but the device does not accept the API connection on port 6053.

Why it happens

  • The device is rebooting in a loop (power, a bad sensor wiring) or still flashing.
  • The device is on another network and a firewall blocks TCP 6053 from Home Assistant.
  • The address changed: DHCP gave the device a new IP.

How to fix it

  1. Open the device log in the ESPHome dashboard: look for reboots and exceptions.
  2. Allow TCP 6053 from Home Assistant to the IoT network.
  3. Reserve the IP in the router; then reload the integration in Settings → Devices → ESPHome.

Useful tools

/esphome-config-generator/ · Port check

Other ESPHome errors

Idea?