External integration - Daikin Cloud

Hello,

For information and to avoid duplicates, I will have to launch Claude on a Daikin integration tomorrow :wink:

The video on developing an external integration really gave me the urge to get started :grin:

I might also need testers :winking_face_with_tongue:

I’ll keep you posted :smiling_face:

It’s developed and available only for testing at the moment:

However, I’ll wait for the next version to test authentication after this PR is released:

@pierre-gilles Any idea when the next version with the redirect page will be released?

Thanks

I’m trying to do that tonight :slight_smile:

It’s live in 4.84.4:

Thanks :slight_smile:

OAuth2 works well and I was able to run some tests
There are still a few bugs being fixed, but I’m waiting for the next Claude reset to continue :slight_smile: I’ve used up all my tokens :sweat_smile:
I should be able to release a stable version tomorrow

The integration is ready :slight_smile:
It should be available to everyone in about 1 hour :wink:

@prohand

For my personal information, which Daikin devices would be compatible with this integration?

The air conditioners will be compatible :wink:
What Daikin device do you have?

You can check the readme here:

currently no ahah
but maybe soon ^^

Attention, here we only handle air conditioners that are connected to the Daikin cloud and use the Onecta app :wink:

It’s available :slight_smile:

Small fix because the values were not refreshed after the first cloud connection:

On a first installation, the order is: the container connects to Gladys before the Daikin account exists. The connected handler (index.js:241) detects !api.isConnected, displays “no linked account” and returns — it never reaches step 4, startPolling().

Then the user does the OAuth: onOAuthCallback did a single read (refreshAndPublish) to populate the Discovery screen
 and nothing more. The timer was therefore never armed. The only ways to start it were a container restart, or a change in the interval in the config (only case where onConfigUpdated called startPolling()).

Hence the exact symptom: first correct values, then no refresh every 900 s.

Version 1.0.7 available :slight_smile:

Great integration and thanks. I have a suggestion. I find your logo/icon way too generic. I’ll add the brand or protocol on top. It will be more explicit.

Available in the next version, which should be available within the hour:

Make sure to clear your cache if you don’t see the correct image after the update

I wanted to get your opinion on a feature I started developing with claude, but it involves a counterpart in energy tracking.

Basically, I noticed that in the energy tracking section, this appeared:

This was also at level 0 initially, but you’ll understand better a bit later :upside_down_face:
image

I thought we could leverage Gladys’ energy tracking with this information that comes back to Gladys:

So I asked him to create two features for me: « 30-minute Consumption Â» and « 30-minute Cost Â».

After testing it on August 8th, the consumption value exactly matches what I have in the Daikin app (same for September 9th):

The catch is that in energy tracking, « Energy this month Â» and « Energy this year Â» remain at level 0 from the integration, as indicated in the doc here:

Basically, it looks like this:

For you, can I push this version to production with the 30-minute consumption and cost, or are there things to review?

Thanks :wink: