-
-
Couldn't load subscription status.
- Fork 39
Closed
Labels
Description
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Ubuntu Desktop 19.04, Kernel 5.0.0-21-generic
ESP (ESP32/ESP8266, Board/Sonoff):
ESP8266 ESP-07
Affected component:
https://esphome.io/components/ota.html
Description of problem:
OTA update fails whereas update via USB (using FTDI module) works fine.
Problem-relevant YAML-configuration entries:
esphome:
name: main_house
platform: esp8266
board: esp07
wifi:
ssid: "xxx"
password: "xxx"
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "xxx"
ota:
password: "xxx"Logs (if applicable):
OTA logs:
INFO Successfully compiled program.
INFO Resolving IP address of main_house.local
INFO -> 192.168.xx.xx
INFO Uploading main_house/.pioenvs/main_house/firmware.bin (334192 bytes)
Uploading: [============================================================] 100% Done...
INFO Waiting for result...
ERROR Error Update end: Error: Finishing update failed. See the MQTT/USB logs for more information.
While USB had logging running:
[15:10:50][D][ota:072]: Starting OTA Update from 192.168/88.100...
[15:10:50][D][ota:243]: OTA in progress: 0.2%
[15:10:52][D][ota:243]: OTA in progress: 27.1%
[15:10:53][D][ota:243]: OTA in progress: 39.3%
[15:10:54][D][ota:243]: OTA in progress: 53.7%
[15:10:55][D][ota:243]: OTA in progress: 67.5%
[15:10:56][D][ota:243]: OTA in progress: 82.2%
[15:10:57][D][ota:243]: OTA in progress: 96.5%
[15:10:58][D][ota:243]: OTA in progress: 99.4%
[15:10:58][W][ota:276]: Update end failed! Error: ERROR[9]: new Flash config wsong real: 1048576
Additional information and things you've tried: