XiaomiGateway3 icon indicating copy to clipboard operation
XiaomiGateway3 copied to clipboard

How to upgrade firmware when firmware lock was turned on?

Open sthorley opened this issue 4 years ago • 1 comments

Hi, I had a Gateway 3 (lumi.gateway.mgl03) running 1.4.7_0160 that was working well with this integration. As it was working well I enabled the firmware lock. At some point it stopped working and the now when I try to load the integration it gives the error below. WARNING (192.168.0.173_main) [custom_components.xiaomi_gateway3.core.mini_miio] 192.168.0.173 | Can't send set_ip_info {'ssid': '""', 'pswd': '123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd'} I notice v1.5.0_0102 is now the recommended/supported version, but when I attempt to update in the mihome app it says it's running the latest version (probably because I'd previously firmware locked it).

How can I go about getting this up and working again?

sthorley avatar Oct 16 '21 03:10 sthorley

Firmware lock don't break connection to gateway. In some regions, MiHome does not offer updates to the latest firmware. Usually it works well in the Chinese region. Try reboot gateway, check IP-address, check token

AlexxIT avatar Nov 19 '21 19:11 AlexxIT

Please reopen the issue if it is still relevant

AlexxIT avatar Apr 09 '23 05:04 AlexxIT