njh / sonoff-ota-flash-cli

Bash script to perform an OTA (Over the Air) firmware update for Sonoff 'DIY Mode' device on the command line
http://sonoff-ota.aelius.com/
MIT License
129 stars 19 forks source link

Locked on "Unlocking for OTA flashing" #15

Closed kepe94 closed 1 year ago

kepe94 commented 1 year ago

Hi, after i run the script, terminal is locked on "Unlocking for OTA flashing..." for some time, and next receive this error

curl: (52) Empty reply from server Error posting to: http://xxxxxxxxxxx/zeroconf/ota_unlock

Help me, please?

njh commented 1 year ago

What device are you attempting to unlock?

Is it connected to the Internet, or just your computer? Sonoff devices need to be able to "phone home" over the Internet to get permission to unlock.

kepe94 commented 1 year ago

sonoff mini R2 3.7.3. Finally i unlock the sonoff and add on my homekit home, but not working..

njh commented 1 year ago

Glad you managed to flash it.

I personally use TasmotaMosquittohomebridge-mqttthing to control my lights using HomeKit.