-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
ZHA only working for a few hours #43962
Comments
Since you use a ZiGate WiFi, it could be a network problem. |
thanks @doudz This will probably do the trick, will report here |
I also switched from the zigate custom component (again, thanks @doudz ) to ZHA a few days ago, and I have a similar problem: after a few hours, all my zigbee devices stop working (mostly aqara devices). Restarting home assistant solves the problem 100% of the time. However, unlike @benjR:
Any idea about what's happening? |
🤔 @bokub are you using firmware 3.1d ? |
I just upgraded this morning, I'll tell you in a few days if the problem is solved 👍 |
ok, previous firmwares are known to have memory leak using zha |
@doudz is this stated in the setup docs for ZHA with Zigate? I have seen several tickets about this over the last few days. |
yes, it's in the doc https://www.home-assistant.io/integrations/zha/ ZiGate based radios (via the zigpy-zigate library for zigpy and require firmware 3.1d or later) |
Awesome and smh... 😀 |
Probably I should add a warning when old firmware is detected |
There is one in the logs actually, but maybe it could be even more explicit |
I confirm that upgrading my PiZigate to firmware 3.1d solved the problem Thanks and sorry for the disturbance 👍 |
Ah issue closed? Well a note should be added to the docs, people using Zigate Wifi should not migrate to ZHA before the fix from @doudz is available, it's not stable as is. |
There already is a note about minimum supported firmware according to @doudz |
well, the issue should be re-open because the initial problem is not related to firmware 3.1d, it's a problem of network disconnection of zigate wifi |
Done |
Hi! question for @doudz more, do you think it's possible to have the old component running just to maintain the connection ? |
Dear, thank you for this issue, I have the exact same problem. Do you have a hot fix for waiting the new release ? |
I have do this cron job, looks like to work. But I'm not sur for the moment :
fixuphass.sh
replace all by your. regards |
I tryed a fix from doudz (implement reconnect in zigpy) but this does not work. I am not quite sure if it's doudz implementation that has problems (but looks very similar to what other drivers provide) or if it's a zigpy issue where reconnect is not called when the device is seen as disconnected. Using a similar script as @baimard on an hourly schedule for now. |
I change my schedule by 45 minutes, because 5 min was very short and the monitoring of the light looks bad |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Hello, After longtime deal with the path, I just can say. that not work ! After a random delay, all the device connected to Zigate And integrated on home Assistant with ZHA not works. DEBUG :
Issue open zigpy/zigpy-zigate#89 (comment) I have also update the firmware of my zigate WIFI. There is a really big problem, I can't identify what happend. I can do every debug you want, to try to solve this issue ! Could you please take this problem in consideration ? |
I use firmware 3.1e |
Same firmware, same issue. Zigate in wifi. |
The problem
I recently switched from the zigate custom component (thanks @doudz for the work) to the ZHA integration for zigate. It seems to be okay for a while (a few hours each time) but then stops working, to make it work again, I have to restart home assistant.
I have also noticed that OTA update with IKEA device are not working but will open another issue for this once this is one is closed.
Environment
Zigbee signature
I have 2 TRADFRI bulbs, 2 TRADFRI control outlets, 7 Aqara LUMI weather sensors, and 3 Aqara LUMI motion sensors connected
Problem-relevant
configuration.yaml
Configured via GUI but I disabled updates for IKEA devices as it's not working
Traceback/Error logs
Additional information
Here on the logs, it seems to stop working at 2020-12-05 02:55:22, last sensor update seems to have been received at 02:45:58.
Thanks for your help!
The text was updated successfully, but these errors were encountered: