itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
548 stars 168 forks source link

Error 409 in POST response to OTA_FLASH #97

Closed Malarcy closed 3 years ago

Malarcy commented 3 years ago

DIY MINI , firmware 3.5, OTA Unlocked via REST call.

Flashing new firmware (tasmota_lite) fails, network trace shows download completes, and MINI posts back to /api/device/otaFlash with payload of error:409.

Have tried 2 versions of the tasmota_lite.bin file ( with the respective sha256 checksums in the call ).

The code (409) is undocumented in the API guide. What does that error mean?

Device remains in "DIY" mode, and all other REST calls works as expected.

Malarcy commented 3 years ago

Used different web server (NGINX) to server image - worked - even though Apache (previous web server) supports range didn't work for this.