Page 4 of 4

Re: Daikin Cloud Controller - BRP069C4

Posted: Saturday 20 July 2024 19:15
by dorenberg
So I guess we have to wait a bit. I have no clue how to fix it.

Re: Daikin Cloud Controller - BRP069C4

Posted: Friday 28 March 2025 17:37
by pat44
Hello,
I read all this post, and thanks for this good work based on nore-red. That's very impressive.
However, does anyone have a similar solution compliant with the new offical API here using OIDC auth ? https://developer.cloud.daikineurope.com
or any other solution (python ....) able to interface domoticz with this new daikin API. Thanks.

Re: Daikin Cloud Controller - BRP069C4

Posted: Friday 28 March 2025 19:30
by waltervl
In this discussion Daikin AC is also discussed: viewtopic.php?t=21126&start=80

Re: Daikin Cloud Controller - BRP069C4

Posted: Saturday 29 March 2025 8:45
by pat44
Thanks @waltervl for your quick answer.
So today, there is no straigthforward solution. :(

Re: Daikin Cloud Controller - BRP069C4

Posted: Monday 31 March 2025 15:24
by hetisweergezellig
Hi All,

I had the same problem you are facing and I am now working in a concept that can integrate the Daikin Cloud API on any platform.
I am using NodeRed to call the Daikin API.

Next step is to publish the retreived values from daiking on MQTT so any platform can ingest from there.

It is not finished yet but here are the steps of this concept.

1. Create an account in the developer portal of Daikin.
2. Create an app.
3. Use Postman to make the first connection using OpenID. The return URI used is https://oauth.pstmn.io/v1/callback (select the option Authorize using browser.

Once this is done you can get the first acces token and refrersh token.

From here you can use "normal" https calls to refresh the access token. I created a sqlite database where I store the Access token and refresh token. This access token I can use in NodeRed the call the api functions of the daikin api. When the access token is expired I can call

POST https://idp.onecta.daikineurope.com/v1/oidc/token?
grant_type=refresh_token
&client_id=[YOUR_CLIENT_ID]
&client_secret=[YOUR_CLIENT_SECRET]
&refresh_token=[YOUR_REFRESH_TOKEN]

In nodeRed I can build this URL using the client_id and client_secret of the created application and the refresh_token I stored into my database.
The response is a new access token that can be used to make new calls to the api. And so on.

So this is not a shippable solution but I have the concept working. When I am finished with my project I can try to upload that here.

Re: Daikin Cloud Controller - BRP069C4

Posted: Thursday 03 April 2025 14:24
by pat44
Thanks hetisweergezellig,
Your strategy is promising. Yes I'm very interesting in your solution as I already have MQTT devices working in my side!