Open yuripace opened 3 years ago
Tried different web server(docker image, apache,nginx) but result Is the same. I'm using the hotspot smartphone network. Any suggestion?
I am experiencing the same issue... Sonoff Mini2, 3.6 firmware.. nginx in docker...
I had exactly the same issue. Like me you must have been trying to flash tasmota.bin. The solution is to flash tasmota-lite.bin instead. I think that there is a check in firmware 3.6.0 that file size of firmware is < 500kb. Once I switched to tasmota-lite, the process worked basically instantly...
I get same with lite file. Using nginx to host.
I was having the same problem, turned out that in the HTTP post I was using a SHA256 with uppercase letters. Once I used the same hash with lowercase letters it flashed correctly. Sonoff Mini R2 with FW 3.6.0.
Got it working by using a different Tasmota version. Everything same as before, but it seems that Tasmota 8.4.0 (Lite) flashed without any issues (I was using 9.2.0 before).
The "/api/device/otaFlash not found" error is meaningless though. Flashed it successfully even with that error. I tried to create a new NGIX server with "api/device/otaFlash" POST endpoint, and no error occurring while flasiht, it still failed to flash with Tasmota 9.2.0.
Same thing here, @jf2020 had the right solution - use tasmota-lite.bin. When it works, the sonoff will do tons of request like GET /tasmota-lite.bin?deviceid=1001xxxx&ts=1576460931&sign=993fc9af2842089b280dd6ac4c585a94e5d95fb18a9948301aaa0b647c8e3c19
, then the request for POST /api/device/otaFlash
which will fail, but it doesn't matter. The device will reboot into Tasmota.
I have a sonoff mini (bought in 2019) in DIY mode running 3.6 firmware. I put successful in DIY mode with post request, when i try to reflash firmware i get this error "POST /api/device/otaFlash HTTP/1.1" 404 301 "-" "-" Also this tool cannot see the sonoff mini. Anyone able to reflash without soldering?