My HA setup has a Olimex ESP32-POE-ISO-EA that I flashed the ESPHome firmware onto to use as a Bluetooth (BLE) Proxy. But I have not been able to update it since through OTA.
The error I get is Connection refused. It’s on a different network subnet (192.168.1.0/24) than Home Assistant (192.168.0.0/24) with a firewall in between, but I’m after allowing all traffic between both, I’m not able to figure out what the problem is. I’m thinking there’s a different reason why it can’t connect.
This is the log from the ESPHome update feature’s console screen:
U
pdating /config/esphome/olimex-esp32-poe-iso-039e18.yaml
------------------------------------------------------------
INFO ESPHome 2024.11.1
INFO Reading configuration /config/esphome/olimex-esp32-poe-iso-039e18.yaml...
WARNING GPIO12 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing olimex-esp32-poe-iso-039e18 (board: esp32-poe-iso; framework: espidf; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-espidf @ 3.40408.0 (4.4.8)
- tool-cmake @ 3.16.4
- tool-ninja @ 1.7.1
- toolchain-esp32ulp @ 2.35.0-20220830
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Reading CMake configuration...
Dependency Graph
|-- noise-c @ 0.1.6
RAM: [== ] 15.5% (used 50632 bytes from 327680 bytes)
Flash: [====== ] 58.9% (used 1080621 bytes from 1835008 bytes)
========================= [SUCCESS] Took 14.48 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of olimex-esp32-poe-iso-039e18.local in mDNS
INFO Connecting to 192.168.1.104 port 3232...
ERROR Connecting to 192.168.1.104 port 3232 failed: [Errno 111] Connection refused
ERROR Connection failed.
= [ERROR] /config/esphome/olimex-esp32-poe-iso-039e18.yaml =
======================== [SUMMARY] ========================
- /config/esphome/olimex-esp32-poe-iso-039e18.yaml: FAILED
The only info I have in the secrets yaml is the wifi password, which it shouldn’t even use as it should use the LAN (with POE) connection.
PS: not sue if I have exactly the same (i use it in the office and went home for the weekend), but I do have an ESP olimex with POE, I think it is the EVB
And, as it says…it is OTA…meaning Over The Air (=not wifi)
The only way you can update is downloading the bins and then upload it on the web-interface (or use serial)
This is the yaml I used months ago to flash the firmware before I had it connected over the network. To be clear, it works, I just can’t update it using OTA:
Thanks for the tip, but the web server doesn’t seem to respond. I get a “connection refused” error using Developer Options → Network, in the web browser. I’ve disabled HTTPS-mode to make sure it doesn’t redirect but it doesn’t matter.