Closed kelvinng1 closed 3 years ago
firmware version: 1.4.6_0043 = global hub with locked telnet. let me guess, bought in tw/hk?
Correct. Bought in HK. If its telnet is locked, why I can get the token of the hub with your component? Shall I use another integration component with the token?
Thanks for your help :-)
you got token probably with cloud integration using xiaomi account credentials. it's something independent of gateway integration.
can you send miio command to enable telnet? because it's unclear if telnet is disabled or just admin password is not blank. if it's 2nd case maybe something can still be done. you can enable telnet with php-miio, python-miio (miiocli, mirobo) or any tool that can send miio commands.
@kelvinng1 please enable debug mode and show logs https://github.com/AlexxIT/XiaomiGateway3#debug-mode
@AlexxIT , my debug log:
2020-10-14 18:59:29 DEBUG main Loaded from MiCloud 4 devices
2020-10-14 18:59:48 DEBUG gateway3 192.168.1.152 | Read devices
2020-10-14 19:00:48 DEBUG gateway3 Can't read devices: telnet connection closed
2020-10-14 19:00:48 DEBUG gateway3 192.168.1.152 | Read devices
2020-10-14 19:01:48 DEBUG gateway3 Can't read devices: telnet connection closed
2020-10-14 19:01:48 DEBUG gateway3 192.168.1.152 | Read devices
2020-10-14 19:02:48 DEBUG gateway3 Can't read devices: telnet connection closed
2020-10-14 19:02:48 DEBUG gateway3 192.168.1.152 | Read devices
2020-10-14 19:03:48 DEBUG gateway3 Can't read devices: telnet connection closed
2020-10-14 19:03:48 DEBUG gateway3 192.168.1.152 | Read devices
Telnet is open, but it probably has a password. Which model is on the bottom of the GW? ZNDMWG02LM or ZNDMWG03LM?
ZNDMWG02LM
Any clue to this? I tried both xiaomi_miio and xiaomi_aqara but no luck. HA seems to be able to connect via xiaomi_miio but again, with error. The only connection that works is via homekit_controller, but some devices like wireless button doesn't work due to homekit controller does not support it.
@kelvinng1 you have to wait for a solution, but it will for sure require to open device. can you share production date from the box?
Understand and Thanks. Production Date: 08/2020
if somebody has global hub ZNDMWG02LM with firmware 1.4.6_0043 i can help to get telnet access (uart soldering required). similar way can be used for ZNDMWG03LM with firmware updated to 1.4.7_XXXX.
Global gateway should be flashed with custom firmware to work with component
I added my gateway with the successful message as below:
I am using : HA version 0.116.2 Mi Gateway: Plug-in version 1.5.2 firmware version: 1.4.6_0043