Closed DevSecNinja closed 2 days ago
INFO Uploading /data/build/zehnder-comfofan/.pioenvs/zehnder-comfofan/firmware.bin (579760 bytes)
INFO Compressed to 397105 bytes
ERROR Error binary size: Unknown error from ESP
Fixed by hitting the "Restart" button on the ESP Home device in Home Assistant, per: https://github.com/esphome/issues/issues/5823
Sometimes it takes ages to upload the firmware. I guess at least 5-10x slower. Not sure why. What I usually do is hit the EDIT button in ESPHome again, restart the board via Home Assistant and install again:
INFO Compressed to 397097 bytes
Uploading: [= ] 2%
Previous mentioned errors all came while I was running 2024.7.3. I'm now running 2024.10.3 and any new errors mentioned are from that version or later.
INFO Compressed to 399156 bytes
Uploading: [=============================== ] 51% ERROR Error receiving acknowledge chunk OK: [Errno 104] Connection reset by peer
INFO Compressed to 399156 bytes
Uploading: [============================== ] 49% ERROR Error receiving acknowledge chunk OK: [Errno 104] Connection reset by peer
Even a reboot didn't help. Instead, I just used a USB connection.
USB works great and I haven't seen this issue on ESP32 both wired and wireless. Could be a ESP8266 thing.
Keeping track of all the weird errors I'm getting when uploading a new firmware here. RAM & Flash are size-wise OK: