diff --git a/Sonoff-DIY.md b/Sonoff-DIY.md index e4a04c00..ad65dd48 100644 --- a/Sonoff-DIY.md +++ b/Sonoff-DIY.md @@ -100,6 +100,10 @@ This procedure is recommended for MacOS, but also works for Linux. > `$ curl http://:8081/zeroconf/ota_unlock -XPOST --data '{"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":"","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://:8081/zeroconf/ota_flash -XPOST --data '{"deviceid":"","data":{"downloadUrl": "http:///tasmota-basic.bin", "sha256sum": ""} }'`