Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration causing Homeassistant to crash. #258

Open
hxdx9527 opened this issue May 5, 2024 · 15 comments
Open

Integration causing Homeassistant to crash. #258

hxdx9527 opened this issue May 5, 2024 · 15 comments

Comments

@hxdx9527
Copy link

hxdx9527 commented May 5, 2024

Environments:
 1. M2_POE gateway with the latest mofified firmware. (static IP adress).
 2. Asus router AX88U PRO
 3. Homeasssitant Green with software version 2024.5.1. (static IP address)

Timeline:

  1. After rebooting my router, I cannot visit hass web ui. Ping to the host is ok.
  2. Plug in a hdmi cable to the HASS Green and disabled the aqara_gateway custom component by removing the folder.
  3. Reboot and the system works fine.
    I checked the core logs and supervisor logs, no thing related to this integration is printed.

Please let me know if any more infomation is needed.

@niceboygithub
Copy link
Owner

If the ip of gateway was changed, the integration can not connecting the mqtt of gateway, the HA will become busy and slow. Suggest that use fixed IP of the gateway.

@hxdx9527
Copy link
Author

hxdx9527 commented May 5, 2024

@niceboygithub The IP of the gateway has not changed. I've maunually set it manually the day I purchased it.

@hxdx9527
Copy link
Author

hxdx9527 commented May 5, 2024

I jsut did a test.
If it is ip problem you mentioned. There is a error log in ha core log.
But when it happened to me, there was no such error log.

@lihuohuo9527
Copy link

I have the same problem as him, the same device, the same version.
After my testing, after disabling aqara_gateway, the web returned to normal.
I have been searching for where the problem lies, hoping that the author can solve it.

@lihuohuo9527
Copy link

I jsut did a test. If it is ip problem you mentioned. There is a error log in ha core log. But when it happened to me, there was no such error log.

Can it be an issue with the Asus Merlin firmware? I am using Merlin firmware, the same issue, but I don't see anyone else responding to the issue.

@notabene00
Copy link

Stock firmware, 3.3.4, telnet enabled (qr-code method, where bind_key swapped with payload)
Home Assistant crashed every time I'm trying to add my G2H Pro to it

@lihuohuo9527
Copy link

Please take this issue seriously and resolve it

@niceboygithub
Copy link
Owner

niceboygithub commented May 25, 2024

There are several gateways using AqaraGateway integration in my HA without any problems.

image image

Please have a try on master branch.

@lihuohuo9527
Copy link

我并没有使用MQTT 这有影响吗?

@niceboygithub
Copy link
Owner

This integration is using mqtt of the gateway to send/receive the info of zigbee devices.

@lihuohuo9527
Copy link

这个问题困扰我太久了,我使用的是aqara的开关、小燕的灯具,但我并没有将灯线接入开关内,而是在HA内做自动化将灯具和开关进行联动。但是HA webUI经常崩溃,导致开关和灯具无法联动,删除文件夹禁用 aqara_gateway 自定义组件后WEB UI恢复。等下次出现同样问题的时候我会将su logs提供给你,真的太痛苦了....

@lihuohuo9527
Copy link

lihuohuo9527 commented Jun 1, 2024

This problem has occurred again, and I have recorded the logs

@lihuohuo9527
Copy link

lihuohuo9527 commented Jun 1, 2024

If you need any other information, please let me know and I will add it
The gateway IP address is static, but I don't know why it is converted to IPV6 here
core logs
{8B1BF8CF-65B7-4dd5-8DE7-B9EBE2F9A271}
su logs
{EBA2AF85-68C5-4518-A9C4-9D6262AE0B8F}

@lihuohuo9527
Copy link

Please take this issue seriously and resolve it

@niceboygithub
Copy link
Owner

Did you try the latest version of this integration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants