Daikin Cloud Controller - BRP069C4

For heating/cooling related questions in Domoticz

Moderator: leecollings

dorenberg
Posts: 111
Joined: Monday 22 June 2015 20:18
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10982
Location: Veghel, The Netherlands
Contact:

Re: Daikin Cloud Controller - BRP069C4

Post by dorenberg »

So I guess we have to wait a bit. I have no clue how to fix it.
pat44
Posts: 9
Joined: Saturday 23 September 2023 12:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Daikin Cloud Controller - BRP069C4

Post 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.
User avatar
waltervl
Posts: 5852
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Daikin Cloud Controller - BRP069C4

Post by waltervl »

In this discussion Daikin AC is also discussed: viewtopic.php?t=21126&start=80
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
pat44
Posts: 9
Joined: Saturday 23 September 2023 12:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Daikin Cloud Controller - BRP069C4

Post by pat44 »

Thanks @waltervl for your quick answer.
So today, there is no straigthforward solution. :(
hetisweergezellig
Posts: 1
Joined: Monday 31 March 2025 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Daikin Cloud Controller - BRP069C4

Post 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.
pat44
Posts: 9
Joined: Saturday 23 September 2023 12:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Daikin Cloud Controller - BRP069C4

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest