Sonoff Mini

Set up web server on Macbook (https://github.com/arendst/Tasmota/wiki/Mac-OSX-Local-Web-Server-for-Tasmota-Firmware-Binaries)

Copy 8285 bin file to /Library/WebServer/Documents

Calculate shasum: d5a654253f1ca5c4d170c0ae80902fd88b2deee13cd13835e65e94753a412f8c

Put Mini in DIY mode

Create HotSpot: sonoffDiy/20170618sn

Discover Device ID: dns-sd -B _ewelink._tcp

Test Connection: curl http://<deviceIP>:8081/zeroconf/info -XPOST –data ‘{“deviceid”:”<deviceID>”,”data”:{} }’

Unlock : curl http://<deviceIP>:8081/zeroconf/ota_unlock -XPOST –data ‘{“deviceid”:”<deviceID>”,”data”:{} }’

Flash Firmware: curl http://<deviceIP>:8081/zeroconf/ota_flash -XPOST –data ‘{“deviceid”:”<deviceID>”,”data”:{“downloadUrl”: “http://192.168.1.65/ESP_20191208.bin”, “sha256sum”: “d5a654253f1ca5c4d170c0ae80902fd88b2deee13cd13835e65e94753a412f8c”} }’

Fails – replacing with Tasomata firmware works.