mirror of https://github.com/arendst/Tasmota.git
Updated Sonoff DIY (markdown)
parent
b4ab34588a
commit
19e401421a
|
@ -77,16 +77,14 @@ This procedure is recommended for MacOS.
|
||||||
### Flash the firmware and confirm
|
### Flash the firmware and confirm
|
||||||
- Test with /zeroconf/info POST:
|
- Test with /zeroconf/info POST:
|
||||||
>$ curl http://_\<deviceIP>_:8081/zeroconf/info -XPOST --data '{"deviceid":"1000988699","data":{} }'
|
>$ curl http://_\<deviceIP>_:8081/zeroconf/info -XPOST --data '{"deviceid":"1000988699","data":{} }'
|
||||||
|
_**{"seq":2,"error":0,"data":"{\"switch\":\"off\",\"startup\":\"off\",\"pulse\":\"off\",\"pulseWidth\":500,\"ssid\":\"sonoffDiy\",\"otaUnlock\":false}"}**_
|
||||||
{"seq":2,"error":0,"data":"{\"switch\":\"off\",\"startup\":\"off\",\"pulse\":\"off\",\"pulseWidth\":500,\"ssid\":\"sonoffDiy\",\"otaUnlock\":false}"}
|
|
||||||
- Unlock OTA updates at /zeroconf/ota_unlock
|
- Unlock OTA updates at /zeroconf/ota_unlock
|
||||||
>$ curl http://_\<deviceIP>_:8081/zeroconf/ota_unlock -XPOST --data '{"deviceid":"1000988699","data":{} }'
|
>$ curl http://_\<deviceIP>_:8081/zeroconf/ota_unlock -XPOST --data '{"deviceid":"1000988699","data":{} }'
|
||||||
|
_**{"seq":2,"error":0}**_
|
||||||
{"seq":2,"error":0}
|
|
||||||
- Flash firmware at /zeroconf/ota_flash
|
- Flash firmware at /zeroconf/ota_flash
|
||||||
>$ curl http://_\<deviceIP>_:8081/zeroconf/ota_flash -XPOST --data '{"deviceid":"1000988699","data":{"downloadUrl": "http://_\<webServer>_/sonoff-basic.bin", "sha256sum": "1da0e89be4c01df033fa6da9d0c1db58c3deea354d7ad194f607d1f518db48f9"} }'
|
>$ curl http://_\<deviceIP>_:8081/zeroconf/ota_flash -XPOST --data '{"deviceid":"1000988699","data":{"downloadUrl": "http://_\<webServer>_/sonoff-basic.bin", "sha256sum": "1da0e89be4c01df033fa6da9d0c1db58c3deea354d7ad194f607d1f518db48f9"} }'
|
||||||
|
_**{"seq":2,"error":0}**_
|
||||||
|
|
||||||
{"seq":2,"error":0}
|
|
||||||
- Ping the device for about 30 seconds until it has rebooted
|
- Ping the device for about 30 seconds until it has rebooted
|
||||||
|
|
||||||
## Post Installation
|
## Post Installation
|
||||||
|
|
Loading…
Reference in New Issue