I was stuck when trying to unlock ota....we need to have internet access also for linux/manual procedure

sidjy 2019-11-09 19:59:23 +01:00
parent e704c7937c
commit f52aff3868
1 changed files with 4 additions and 0 deletions

@ -100,6 +100,10 @@ This procedure is recommended for MacOS, but also works for Linux.
> `$ curl http://<deviceIP>:8081/zeroconf/ota_unlock -XPOST --data '{"deviceid":"<deviceID>","data":{} }'`
**_`{"seq":2,"error":0}`_**
If OTA unlocking gets stuck, the Sonoff device could not reach the manufacturer server because your mobile hotspot does not share the Internet connection. If this happens, POST a request on `/zeroconf/wifi` with `'{"deviceid":"<deviceID>","data":{ "ssid": "yourssid", "password": "yourpasswd" } }'` to set the SSID and password of your Wi-Fi network on the sonoff device. The device will connect to your network. Disable the hotspot and use your Wi-Fi as well, and restart `/zeroconf/info` and `/zeroconf/ota_unlock`.
- Flash firmware at `/zeroconf/ota_flash`
> `$ curl http://<deviceIP>:8081/zeroconf/ota_flash -XPOST --data '{"deviceid":"<deviceID>","data":{"downloadUrl": "http://<webServer>/tasmota-basic.bin", "sha256sum": "<SHAsum>"} }'`