Hi everybody, I had a bluetooth proxy running without any problems. Out of the blue it is not working anymore. My log:
INFO ESPHome 2026.1.3
INFO Reading configuration /config/esphome/esp32-bluetooth-proxy-3b478c.yaml...
INFO Starting log output from 192.168.1.110 using esphome API
INFO Successfully resolved my-bluetooth-proxy @ 192.168.1.110 in 0.000s
WARNING Can't connect to ESPHome API for my-bluetooth-proxy @ 192.168.1.110: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.1.110', port=6053))]: [Errno 111] Connect call failed ('192.168.1.110', 6053) (SocketAPIError)
INFO Trying to connect to my-bluetooth-proxy @ 192.168.1.110 in the background
Is there a clash of ip address? If this is not set in the your DHCP server or outside of your DHCP servers range then chances are the DHCP server has assigned the address to something else.
Just remove the static address and recompile. If you need a static address set it in your DHCP server, that way you will avoid these issue, which will be a nightmare to sort if you ever change you router or DHCP server.
After recompiling I am getting the following error:
ERROR Error resolving IP address of ['my-bluetooth-proxy.local']. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi/#manual-ips)
ERROR Timeout resolving IP address: Timeout while resolving IP address for ['my-bluetooth-proxy.local']
WARNING Failed to upload to ['my-bluetooth-proxy.local']
I’ve had similar issues with a functioning bluetooth proxy just failing for the last few months. I’ve resorted to adding the restart button to my dashboard. After using the builtin restart feature the proxy reboots and runs for a couple of hours or a day or two before any of the devices I have connected to it become disabled (switchbot buttons and curtainbots)_.