diff --git a/Sonoff-DIY.md b/Sonoff-DIY.md index d819b19e..8824ff2d 100644 --- a/Sonoff-DIY.md +++ b/Sonoff-DIY.md @@ -77,12 +77,15 @@ This procedure is recommended for MacOS. ### Flash the firmware and confirm - Test with /zeroconf/info POST: >$ curl http://_\_: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}"} - Unlock OTA updates at /zeroconf/ota_unlock >$ curl http://_\_:8081/zeroconf/ota_unlock -XPOST --data '{"deviceid":"1000988699","data":{} }' + {"seq":2,"error":0} - Flash firmware at /zeroconf/ota_flash >$ curl http://_\_:8081/zeroconf/ota_flash -XPOST --data '{"deviceid":"1000988699","data":{"downloadUrl": "http://_\_/sonoff-basic.bin", "sha256sum": "1da0e89be4c01df033fa6da9d0c1db58c3deea354d7ad194f607d1f518db48f9"} }' + {"seq":2,"error":0} - Ping the device for about 30 seconds until it has rebooted