Closed Faultiness closed 7 months ago
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.
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:
The HASS is running in Docker with
--network=host
and I can connect to the camera usingtelnet
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.