G2H Pro telnet logged failed
Hi,
I'm using G2H Pro (ZNSXJ15LM) with firmware 3.3.4_0016.0004. I've enabled telnet access using aQRootG3. And I've also enabled mqtt with:
mkdir /data/bin
cd /data/bin
wget -O /tmp/curl "http://master.dl.sourceforge.net/project/aqarahub/binutils/curl?viasf=1"; chmod +x /tmp/curl
/tmp/curl -s -k -L -o /data/bin/mosquitto https://raw.githubusercontent.com/niceboygithub/AqaraCameraHubfw/main/binutils/mosquitto_e1; chmod a+x /data/bin/mosquitto
The HASS is running in Docker with --network=host and I can connect to the camera using telnet on the host.

However, the status in the system_health suggests HASS cannot connect to the camera via telnet while mqtt is ok:

I've tried to reboot the camera and HASS docker and reload AqaraGateway but useless. The log of HASS that may relate to this issue is:

I've tried to change line 44, timeout=10 to a larger one, say 30. But still not working.
May I ask what could be the reason for this? And how should I fix it? Thanks to anyone with suggestions.
Update:
The error happened on line 44, which is the login part belonging to TelnetShell class, not TelnetShellG2HPro. Failed to login due to different login methods. I copied the login() part from TelnetShellG3 and replaced then it works fine.
And then:

ps:
The device name of my gateway is lumi.camera.agl001, which matches the config in aqara_gateway/core/utils.py:

The telnet login was imporoved in 0.2.4. Please have a try.