-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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 (Deconz) on two systems: No response to 'Command.aps_data_indication' command #105913
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 |
Could you also collect a debug log from 2023.10.5? |
2023.10.5 log: |
Thanks! The log file for 2023.10.5 contains debug info only for about 20s, starting from 22:03:49. This unfortunately isn't enough time to capture the entire context for one of these events (you seem to get about one every 8 minutes). Could you leave debug logging on for about 20 minutes and then re-upload a new one? |
Sure, I will do it tomorrow morning on both systems. |
2023.10.5 log: 2023.12 log: |
Is there anything else you need in order to evaluate the problem @puddly? |
It should be fixed once 2023.12.4 is released later today. |
Thanks, I'll test it once it's out, and let you know. TBH these ZHA / ConBee II issues created such a poor HA experience in our home that I'm considering switching systems, so I'm trying to understand what caused the problem. Thanks again for looking into it. |
This fixes your specific problem zigpy/zigpy-deconz#241, there were a few other changes you can trace through. |
Wow, quite interesting, I just discovered this thread. |
Interestingl Thanks for sharing @TekFan. I also added the Aqara water leak sensor recently. HA was running fine for months, but the last 3-4 weeks have been a nightmare. The system even crashes and restarts, which I had never seen before. I might just unpair the Aqara water leak sensor for now and see if it changes anything. I'm at 200+ "no response" errors and around 600 syslog errors and warnings in total, per day. |
Removing the Aqara water leak sensor doesn't show a significant change in the behavior. Still getting ~200 'No response' errors per day. Can't wait to test 2023.12.4 when it's out, I'm ready to ditch ConBee II for either a SkyConnect or ditch ZHA altogether for a better commercial solution. My Philips Hue and Bosch SHC devices have been running flawlessly across the entire apartment, except for some small errors. But nothing like the ZHA integration. |
@basslet , I'm afraid the Aqara water leak sensor has nothing to do with the problem, I just mentioned it because the new T1 version behaves differently than the older one. Aqara is well known to deviate completely from the Zigbee specs and use their own protocol. The last times, it is to the point that even the Conbee stick had to be updated to cope with this. |
@TekFan yes I have the same NOUS (tuya) plugs - see below. All of these entities are tuya. Logger: homeassistant.helpers.entity Update of sensor.vitrine_power is taking over 10 seconds And yes, the Aqara water sensor seems to make no real difference here, thanks for clarifying. |
Interesting. |
@TekFan How did you update the FW of the NOUS smart plugs? Do you have a link to the file and changelog? |
@TekFan your missed Aqara motion sensor events are also probably due to the bug fixed in the above PR. The warning you're seeing is the Conbee failing to respond to the request zigpy-deconz sends, asking the radio to give it a packet. |
@puddly , good news and thank you so much to have worked on this issue, like I said I can't wait to try the fix and will update on the results. @basslet, you can find the firmware in this thread then drop it in a folder on your HA server and finally you have to follow the ZHA OTA procedure. But I guess, so far, it is only needed if you suffer from the OV protection in your area. |
@puddly : Ok, so, 2023.12.4 is out so I updated from 12.1. As far as I can see, they are mostly related to my NOUS plugs (tuya TS011F), which is interesting because that could help finding the root cause. What I also note is that the instantaneous power and current updates of these switch are now very slow, I have to wait at least a minute before having an update where it was a couple a second before. (if I remember correctly) Now, I just discovered that you can disable polling globally in the system settings of the ZHA integration, so I did. Now, with polling disabled, power and current entities don't update anymore on the plugs, but the Energy and voltage are. I have a ZHA detailed log at disposal, but It's huge and probably with sensitive info so I would prefer to send it to a dev. directly instead of publicly posting it. Finally, right know it is too soon to report if my missing events are fixed by this release. |
Same here. Will report tomorrow when I had a chance to test everything. |
The warnings can usually be ignored: they're internal to the radio and should be Can you upload a ZHA debug log as well? If there are timing issues with commands, those can be adjusted. |
Like I said, I have a debug log ready, but would rather upload it privately. |
You can email it to me at |
Done |
Ok, so @puddly , after about 2 days now, this is what I see:
So, basically, this is a mixed result, even though I apparently don't have missed events anymore, ZHA seems much more instable right now. |
Since I upgraded from 2023.12.2 to 2023.12.4 my log is flooded with these warnings. I also own several tuya power plugs and a conbee 2 adapter.
|
Please try the new beta |
Can I try the beta as a custom integration in the latest core 2023.12? Or are there dependencies with the core beta?! |
It's that is possible, I will give it a try tomorrow. |
Wow, it happened ! |
Same here, looking good so far. I think we can close this issue. |
The problem
Running two HA systems:
Both systems with ConBee II
Both systems show frequent warnings from zigpy_deconz.api: No response to 'Command.aps_data_indication' command with seq id 'xxxxx'
On hardware side, I replaced USB extension cables, connected to USB2 and tried to minimize any potential interference.
I also completely reset and re-paired one of the ConBee II and its devices, no change.
I'm getting this error 120-250 times a day per system.
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
What version of Home Assistant Core has the issue?
core-2023.12.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
home-assistant_zha_2023-12-17T16-23-53.575Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: