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

Timeout problem from 0.2.2+ #256

Open
shummo opened this issue Apr 25, 2024 · 0 comments
Open

Timeout problem from 0.2.2+ #256

shummo opened this issue Apr 25, 2024 · 0 comments

Comments

@shummo
Copy link

shummo commented Apr 25, 2024

Hi.

I have an Aqara M1s with a door sensor conneted to it, and the gateway have no internet after 8PM and before 8AM (so on the evenings). So before 2.2 the devices was unavaiable in this time. On mornings at 8:02 my automation reload the gateway, and the devices became avaiable again.
I use this intergration since more than a year like this.

Unfortunatelly the version 2.0 and 2.1 not working any more. Devices unavaiable during the day too, not just at the evenings.

So i upgraded to 0.2.4. Now it is also avaiable during the day. But after 8PM, so when the M2s have no internet or UNPLUGGED my home assistant became instabil :

  • The boot time is about 2 minutes longer
  • System, Pages loading, automations became very slow.
  • Randomly freeze the whole system. So I can't reach it or restart the HA.

I don't know why, but if i Use 2.0 or 2.1, system is fast as before during the evenings too.
With updated versions my system is unusuable during nights.

FROM LOG i can only see, that there is a 2 minutes gap in log with the updated versions.
V0.2.2+
2024-04-24 20:51:33.508 ERROR (MainThread) ...............last log before aqara.......................
2024-04-24 20:53:47.462 ERROR (MainThread) [custom_components.aqara_gateway.core.gateway] Failed to connect to MQTT server 192.168.101.216 due to exception: timed out

V0.2-0.2.1
2024-04-24 20:57:58.043 WARNING (MainThread) ....................last log before aqara......................
2024-04-24 20:57:58.554 ERROR (MainThread) [custom_components.aqara_gateway.core.gateway] Failed to connect to MQTT server 192.168.101.216 due to exception: timed out

Boot time looks like his:
V2.2+
aqra

V2.1-

aqra2 0

Core 2024.4.4
Supervisor 2024.04.0
Operating System 12.2
Frontend 20240404.2

SO THE PROBLEM:
0.2.4 works good, when the M1s Gateway is reachable/has internet access.
BUT IF it has no internet access or I unplugged it, my whole system is usless.

Thanks for help!

@shummo shummo changed the title Problem from 0.2.2+ Timeout problem from 0.2.2+ Apr 25, 2024
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

1 participant