niceboygithub / AqaraGateway

Aqara Gateway/Hub integration for Home Assistant
521 stars 66 forks source link

Xiaomi gateway2 #127

Closed tufeikafei closed 1 year ago

tufeikafei commented 2 years ago

Dear NiceBoy, I found my version with 1.0.6_0004. It can't work with your xiaomigateway3. = =. Is any way to fix it?

niceboygithub commented 2 years ago

I did not see the update yet. Can you provide the logs or 1.0.6_0004 fw?

himekifee commented 2 years ago

@niceboygithub Do you have your own modified xiaomigateway3 component for m2? I have experienced some memory leak issues with this component but cannot really diagnose atm.

niceboygithub commented 2 years ago

What memory leakage issue?

tufeikafei commented 2 years ago

I use dd get these date.

https://github.com/tufeikafei/xmduomo2/tree/main/1.0.6_0004

niceboygithub commented 2 years ago

If the telnet is still work, the reason that not work is that mosquitto was changed. Need a patch to fix it.

niceboygithub commented 2 years ago

@tufeikafei

Can you try this command and use mqtt.fx to connect the ip of multimode gateway 2?

killall mosquitto; echo -e "listener 1883\nallow_anonymous true\n" > /tmp/mosquitto.conf; /bin/mosquitto -d -c /tmp/mosquitto.conf
tufeikafei commented 2 years ago

I will try with this ,wait.

tufeikafei commented 2 years ago

I use another multimode gateway2, and use the xiaomigateway3, but found had a big problem. My two d1 can't connect with this,and the backgroud shows Send network key (legacy).

tufeikafei commented 2 years ago

Sorry,today have to many things,still not test.