do_lai
November 23, 2024, 1:59pm
1
Hello. I have a number of devices across several subnets (including some on the same subnet as the HA instance) and, previously, was able to OTA update all of them.
This is no longer the case after an update to ESPHome 2024.11.1. I get:
INFO Successfully compiled program.
ERROR Error resolving IP address of (IP). Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: (link))
ERROR Error resolving IP address: Int or String expected
I still can view Log > Wirelessly for each, so the devices are still connected at their correct IP addresses.
The relevant portion of an example configuration (this one is an Olimex PoE board, but the same is true for more conventional boards):
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
power_pin: GPIO12
manual_ip:
static_ip: (IP)
gateway: (GW)
subnet: (Mask)
dns1: (DNS1)
dns2: (DNS2)
logger:
baud_rate: 0
api:
port: 6053
encryption:
key: !secret api_key
ota:
- platform: esphome
password: !secret ota_pwd
port: 3232
web_server:
port: 8080
Did something change with the required syntax, or again with the OTA component as a few months ago? I didn’t find anything pertinent in the changelog. Thank you.
opened 05:15PM - 21 Nov 24 UTC
### The problem
After updating to the latest ESPHome 2024.11.0
3 out of 4 ES… Ps in my home failed to install wirelessly today, all reporting **Error Resolving Ip Address of xxx.xxx.xxx.xxx**
- All of them appear as online on the ESPHome dashboard
- In ESPHome when you press to see the logs wirelessly, everything works
- All ESPs communicate with home assistant without any problems
UPDATE: [The problem seems to be the ota port](https://github.com/esphome/issues/issues/6465#issuecomment-2495079882)
### Which version of ESPHome has the issue?
2024.11.0
### What type of installation are you using?
Home Assistant Add-on
### Which version of Home Assistant has the issue?
2024.11.2
### What platform are you using?
ESP8266
### Board
_No response_
### Component causing the issue
_No response_
### Example YAML snippet
```yaml
esphome:
name: "esp-garage"
friendly_name: "Garage"
esp8266:
board: esp01_1m
logger:
api:
encryption:
key: "..."
ota:
platform: esphome
port: 8266
password: "..."
wifi:
ssid: !secret ...
password: !secret ...
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "esp-garage"
password: !secret ...
captive_portal:
```
### Anything in the logs that might be useful for us?
```
INFO ESPHome 2024.11.0
INFO Reading configuration /config/esphome/esp-garage.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp-garage (board: esp01_1m; framework: arduino; platform: platformio/[email protected] )
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
Dependency Graph
|-- ESPAsyncTCP-esphome @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 3.2.2
|-- DNSServer @ 1.1.1
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.6
RAM: [==== ] 42.1% (used 34464 bytes from 81920 bytes)
Flash: [===== ] 48.3% (used 494213 bytes from 1023984 bytes)
========================= [SUCCESS] Took 1.26 seconds =========================
INFO Successfully compiled program.
ERROR Error resolving IP address of 192.168.10.135. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Int or String expected
```
### Additional information
_No response_
Check this issue - looks similar one reported by several people.
do_lai
November 24, 2024, 2:25am
3
Ah, yes. That’s it. Thank you.