-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
Daikin suddenly failing on one endpoint with ssl context error #123160
Comments
Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) daikin documentation |
Im seeing the same behaviour, but with a different error message in the logs:
The integration page was showing: |
It might be a libcurl thing? ~$ curl https://192.168.0.66/ curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled I get this on all my 1.16.0 devices (only one doesn’t work in HA though). My 2.8.0 firmware device responds differently. |
I'm getting an SSL issue/error in Home Assistant now too, after updating to Core 2024.8.0;
curl response in verbose mode
|
Ok, downgraded back to Core 2024.7.4 - and it works fine again. Some change in Core 2024.8 broke the integration for one of my split systems (the other three work fine, as well as a ducted unit) |
I have one unit using the BRP072C42 wifi module (uses the API key), which is affected by this issue. I have another unit using the older BRP072A42 wifi module, which is fine (this one doesn't use the API key). |
I imagine this may fix the problem?
|
^ where would we find this file? |
I think this is the line @mikey0000 was referring to. |
I think so too - but that change seems to be giving me an "unknown error"... unsure if async_get_clientsession even takes that kwarg... Though I might just be doing something wrong. |
Here's the original function, which defaults verify_ssl to True:
|
Was about to link that, yeah original function has verify_ssl |
Yeah, I realised afterwards that it's dying during the call, and logging here;
I'm trying to add a little more detail to the logs, but my HA is taking a while to wind back up... |
Finally. So, with that on I'm now getting |
Well that is at least some progress. |
@bdraco wrote the following in fredrike/pydaikin#3 (comment)
|
I won't be upgraded to the latest HA version. Daikin plugin is one of the main integration I don't want to missed out |
@Khengsoon perfectly reasonable. I probably wouldn't have upgraded if I knew in advance - though I was looking forward to the reolink chime controls. |
Based on my own problems I figured that the More context here: fredrike/pydaikin#3 (comment) After patching both locally I was able to restore functionality on my daikin BRP072C42 |
I am also having this exact same issue. Watchtower updated the package this morning and this issue appeared. |
Hi @TheDJVG , do you mind share where is the file located? I try to search and can't locate anywhere inside the /custom_components |
I've you're running the official integration Where the files are located depend also on your installation method (I personally run the container image). (slight remark, I just made the changes to get back up and running locally, the actual fix(es) need to be more refined I believe) |
I've raised a PR in pydaikin with a fix: fredrike/pydaikin#13 I got my instance of Home Assistant working by uninstalling the official pydaikin and then installing a "fixed" version from my fork on Github, like this:
|
Thank you very much buddy. Let me try on my backup copy
…On Sat, Aug 10, 2024, 2:12 PM Matt Way ***@***.***> wrote:
I've raised a PR in pydaikin with a fix: fredrike/pydaikin#13
<fredrike/pydaikin#13>
I got my instance of Home Assistant working by uninstalling the official
pydaikin and then installing a "fixed" version from my fork on Github, like
this:
pip uninstall pydaikin
pip install ***@***.***
—
Reply to this email directly, view it on GitHub
<#123160 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNUWTJ3CE7VKU6F4YIR6U3ZQWVOLAVCNFSM6AAAAABL7HMMDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZZGYYDSMRXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
works perfectly for my 5 aircons! You sir are a life saver |
I've pushed a new version of the underlaying library (fredrike/pydaikin#13) and I think @mattyway is on the way to fix this on the HA side too.
|
@fredrike do I just run the pip command from the HA terminal? I tried but got So I am guessing I am in the wrong place. I tried to install pip too but not sure how to. |
Is there any workaround to install new package of pydaikin without waiting for the next release of HA? |
thank you for working on this I've noticed that pydaikin reverts to 2.13.1 each time HA is restarted. Is there anything else I need to do to make this persistent? |
This has fixed the unit that stopped working but it has caused my two older units that don't use the api key to stop working. The following error comes up in the HA logs.
|
Yes, all my 4 units do not work anymore since HA 2024.8.1 update :-/ |
Same here. |
Any knews on the solution? I have to downgrade to 2024.7.4 to get the climates to work again... At documentation they say it needs to have the connection to onecta, but I have old models with local connection... I hope they will fix this. |
Solution is known, fix can't be far away |
The problem
Daikin integration stopped being able to talk to one of the CORA head units running firmware 1.16.0, the following is shown for this specific head unit end point in the Daikin Integration:

However my 3 other identical endpoints still work. This end point still works via the Daikin MobileController application.
Initially broke on HA 2024.6x3, upgrade to 2024.7.4 to eliminate as an issue. Still broken.
What version of Home Assistant Core has the issue?
2024.7.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Daikin
Link to integration documentation on our website
No response
Diagnostics information
home-assistant_daikin_2024-08-04T23-13-01.439Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: