mirror of https://github.com/arendst/Tasmota.git
I was stuck when trying to unlock ota....we need to have internet access also for linux/manual procedure
parent
e704c7937c
commit
f52aff3868
|
@ -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>"} }'`
|
||||
|
||||
|
|
Loading…
Reference in New Issue