-
Notifications
You must be signed in to change notification settings - Fork 9
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
Home Assistant Daikin Integration failing in 2024.8.x - BRP069 based devices #22
Comments
Thanks for reporting this. Yes, more debugging is needed please enable debugging for |
|
Thank you for the exception log. To troubleshoot this I need more information, can you please enable debug logging for pydaikin, https://www.home-assistant.io/integrations/logger/ logger:
logs:
homeassistant.components.daikin: debug
pydaikin: notset Please enclose the new output in code tags (```). |
seems to be actually the same problem i've reported in home assistant core home-assistant/core#125350 I did some additional tests since then and it seems the problem is actually a change in the underlying component (this project). First of all i tried to use the version of the component in home assistant before this commit and it started working again: home-assistant/core@9b4e64a , in practice a downgrade from 2.13.1 to 2.11.1 of this library. Going over some additional test, using directly the library from my linux pc, i noticed that the exception is raised randomly, comes from aiohttp and seems to have random exception messages, including a weird one saying that it received some additional data after the connection was closed (which is a really weird message). Posted under. Considering the random situation of the message (some times it worked sometimes it didn't) I tried to make the calls sequential and that pretty much fixed the problem, making it entirely 100% reliable again like before. The change i did was in daikin_base MAX_CONCURRENT_REQUEST from 4 to 1: weltall@94fbecd. So in practice this commit introduced the problem 3f6a98a and, only recently, due to the bump of the library in home assistant, this problem has appeared in there. Of course, i can image it cannot be a cookie cutter solution like this, as I'm sure other device models don't have issues with it, but that's pratically the cause of the issue on these controllers: they don't seem to answer properly if "spammed" of requests. I've tried also 2 and 3 as values for the concurrent requests, but they seems to be as unreliable. Only 1 at a time seems to work.
|
Great find @weltall ! Can you test setting |
I have a Daikin unit with a BRP069B42 controller unit that also stopped working with 2024.8.x.
This is what I see in the logs
Let me know if further debug level logging would be helpful.
The text was updated successfully, but these errors were encountered: