-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
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 delays with Tuya mmWave sensors #107200
Comments
Hey there @dmulcahey, @Adminiuga, @puddly, @TheJulianJES, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zha documentation |
This sounds like an environmental problem. Is your coordinator on a USB extension cable and away from 2.4GHz interference sources such as any USB 3.0 port or device, SSD, etc.? |
Hi @puddly , Thanks for getting back so quick. Yes it is. I have 95 Zigbee devices connected and never had any issues in years. |
Thanks, will change the channel as per your advice. Does this change require commissioning the devices again? |
Changing the channel takes about a minute. How long did you wait? |
I've had to unplug the coordinator and plug back in, after that the change has been applied. The channel is now 25. Here are some errors I see in the logs:
and
|
Much more than that. |
Utilization on channel 15 in the past has always been between 80% - 90% and it was working just fine. It looks like on channel 25 has been reduced to
|
Now is down to |
honestly, I am facing similar issues for a couple of days now...
The issues became more worse each day - until nothing has worked anymore - resulting in a complete rebuild of the Network and switching to Channel 25. Now, I have a feeling, that the issues slowly comming back... right now, most devices seem to respond, but I am already getting warnings in the logs as you have shared... Zigbee channel utilization is pretty high, devices do not respond (right now, only one...) I need to investigate into this further over the weekend, because right now I have some ideas what might cause this - but need to change the location of some devices and monitor the behave after such changes... Comming back to your topic:
If it is one device in particular, you can try to remove this one - to see, if it could be a defect on the device itself... |
same issue here since 2024.1 after a full reboot of HAOS it is lightning-fast but is getting slower and slower after a few minutes . after some hjours horrible slow |
Current usb extension cable is only 2 meters long so have ordered a 5 meters which should arrive today. I'll report later if any improvements but I doubt there are environment changes. |
SAme issues here . I bought a 2m cable ( from 1m ) .. let' see arrive tomorrow |
downgrading to last working 2023.12.4 "fixed" it for me |
can you confirm , is not delays all zigbees devices right? .. only smartplug for me |
This downgrade using the command |
Hi. Interesting. I opened discussion here: |
I have had issues with ZHA after the upgrade to 2024.1.0 as well. In my case it wasn't just a delay but commands were timing out and I was not able to control the lights. Edit: I was too quick to confirm 2023.12.4 was the solution. I have downgraded to 2023.12.3 and after almost a day, no issues. So this seems to be the good version. I have seen in the release notes of 2023.12.4 a version bump update of ZHA, that may be the culprit. This seems to be the latest ZHA change until today: #106147 |
Naive bug against zigpy is here: |
update : Downgrading to 2023.12.4 solved the issue. IS NOT solving the issue ( on me ) . worked perfect for couple of minutes , and 7/9 interaction , then delay are back again . |
update : Downgrading to 2023.12.3 solved the issue. |
Update to 2024.1.1 doesn't help :(. |
Also having quite some issues with Zigbee devices since 2023.12.4. Last stable working is 2023.12.3, so i guess it must have been a change introduced in between that. |
Same here. Issues with Zigbee since 2024.1.0. I went quickly from 2023.12.4 to 2024.1.0 so I'm not sure whether 2023.12.4 had issues as well. Identical symptoms to other people who've posted here. |
So has has this work-around been working for you so far with two separate Zigbee networks? |
Hi, my experience: works with two networks. (ZMA; Z2M) . |
BTW. I wonder if someone can help : |
seems to be stable for the last week. was just about to upgrade HA Core to 2024.3. Prior to this, every device would drop out for a few seconds to a minute regularly; in addition it would periodically just hang completely, needing a restart of the coordinator and reload. ftr, zigbee IDs of what I moved. Not clear that all of them had to be moved, but all but one were in the master bedroom. mmWave sensors
Not mmWave
|
Oh I didnt realize there was a question of it 2 zigbee nets would work...that is what I did. I have one one a rasp pi running HA from back in December for all the Tuya devices and the main zigbee net on my normal HA server and they are connected with HA remote. It works perfectly. I guess it can just stay that way indefinitely. That is until I replace all the tuya stuff...which I am slowly doing, but they are so thin and compact it is really a shame. |
Good to see that that work-around is plausible. Though, I do still cross my fingers that an easier solution could be created. Just sorted the open issues on the number of comments and this one is rather "popular". (+1 now 👍 ) |
I think the question re feasibility was how does Z2M avoid the same overload? Does it have the same bug ZHA used to have? Or does it behave better and that better behaviour could be brought to ZHA. |
I do not think a work around is having to ZigBee networks. If that is the case, I would move away from ZHA and make one new MQTT network. I have to many devices to replace them. In the end MQTT zigbee should have the same issue and a bug that does not send the acknowledgements. Or there is a perf issue that is blocking how fast the messages can be processed in ZHA itself. |
I clearly have not migrated my entire zigbee network. and the fact that I chose a different channel may also be enough of a difference as to not be comparing apples & potatoes. As to perf issue, that was halfway what I was aiming for in my previous comment... except that I wouldn't call it a perf issue as such. Rather, I was hoping there was a better protocol behaviour. |
Has anyone tested a recent version of HA? Has the behavior changed or is it still there? |
@wouterjdb still there dear friend. Installed the tuya radar on the Z2M, and in the log i can see a choc-a-block |
currently started a test with 2024.4.3 not sure if this belongs to, but a lot of devices(plugs) seems to switch on/off but the UI is not showing up and getting a device not respond error.
|
Thanks @frank777777 and @marc4s for the quick reply. |
I have setup zigbee2mqtt for the MMWave and Tuya plugs and update to the latest HA. Looks like it is working fine that way with ha 2024.4.4 |
an I am fine with zha and 2024.4.4 - it is wrking since I started the test last week. the not responding devices can be fixed by a full reboot of HAOS. two times a device got unavailable and I needed to repair it. |
Was there anything done to fix the issue, or did it just go away because something else was update? @marc4s where the non responding devices, devices that where spamming the network? |
I also updated now, and it seems to be working stable (>24hrs)! |
I upgraded to 2024.5.0 and ZHA not working. Now with:
|
Unfortuonately, back to endless stability issues in the meanwhile. |
with 2024.5 I also have more often the behaviour that (sometimes all, sometimes only specific plugs does not respond) and I need to reboot HAOS. but delays not anymore. which kind of stability issues do you have? |
No delays that I noticed. But all Zigbee devices stopped working randomly again. |
OK - so latest update from here: I removed two electricity metering plugs from the network (you know - the ones that measure power, voltage, current) and that brought stability back. Updated to the latest and greatest version of HA: no more issues. I'll try and test them individually later when I get back the will to do so ;-) For now my home runs smooth again! |
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. |
@wouterjdb those plugs, were they the type that need polling, or did they send triggered updates? |
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. |
adding some butter to the stale bread |
The problem
Since I've upgraded to 2024.1.0 my ZigBee devices (lights, switches, fans etc) are having a few seconds/minutes delay in responding to commands. I have tried to restore to previous versions but the issue still persist, no matter the version I am restoring to. I have also tried restarting in safe mode, but it didn't helped. Any help is much appreciated!
What version of Home Assistant Core has the issue?
core-2024.1.0
What was the last working version of Home Assistant Core?
core-2023.12.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
config_entry-zha-1122b1901b65684e9e9a05c89bd2a54d.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
MercedesME 2020
Recorder
The text was updated successfully, but these errors were encountered: