sonoff mini diy ota_unlock fails 3.5 3.6

When you’re trying to unlock ota feature using rest api on Sonoff devices with firmware > 3.5 , these trick may help.

I’ve failed on using a call:

curl –location –request POST '192.168.1.150:8081/zeroconf/ota_unlock’ -H „Content-Type: application/json” –data '{„deviceid”: „”,”data”: { }}’

but it worked when the address finishes with a number less than < 100

so when I’ve used:

curl –location –request POST '192.168.1.66:8081/zeroconf/ota_unlock’ -H „Content-Type: application/json” –data '{„deviceid”: „”,”data”: { }}’

it was successful. Just add ip address reservation on your router with last ip block < 100.

Let me know if it helps.

Facebook - komentarze