Skip to content
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

Need Daikin Cloud rework before March 11th 2024 #205

Open
jwillemsen opened this issue Feb 8, 2024 · 25 comments
Open

Need Daikin Cloud rework before March 11th 2024 #205

jwillemsen opened this issue Feb 8, 2024 · 25 comments

Comments

@jwillemsen
Copy link
Contributor

See #182 (comment) and https://developer.cloud.daikineurope.com/login, Daikin is intentionally breaking all existing integrations including this one. They only give a month to rework the code

@jwillemsen jwillemsen changed the title Need Daikin Cloud rework before early March 2024 Need Daikin Cloud rework before March 11th 2024 Feb 8, 2024
@jwillemsen
Copy link
Contributor Author

See jwillemsen/daikin_onecta#33 for a draft PR for my forked version of the Daikin HA integration

@jwillemsen
Copy link
Contributor Author

The master branch of https://github.com/jwillemsen/daikin_residential_altherma has now support for the new Daikin Cloud setup using OAuth2. This is experimental and work in progress, but first user feedback is positive, users report that they can connect and see their devices with the new Cloud setup in HA

@jwillemsen
Copy link
Contributor Author

I have released a v4.0.0 pre release of the daikin_onecta integration, see https://github.com/jwillemsen/daikin_onecta/releases/tag/v4.0.0

@dkrushev
Copy link

Today I realized the integration is not working. Based on the (lack of) data for power consumption it stopped on Sunday (10th) evening. I followed the instructions to register my developer account. Without doing anything further the old integration started working again - syncing current data and allowing control of the units. Now I'm wondering if I should install the new integration? What is different/beneficial?

@kimme1024
Copy link

Today I realized the integration is not working. Based on the (lack of) data for power consumption it stopped on Sunday (10th) evening. I followed the instructions to register my developer account. Without doing anything further the old integration started working again - syncing current data and allowing control of the units. Now I'm wondering if I should install the new integration? What is different/beneficial?

Same here, lot's of problems with the new way of working and tried reverting to the old system and Daikin didn't seem to pull the plug yet... Obviously this will be a matter of time before it'll stop working. Let's hope that by then the new integration will work as intended.

@jwillemsen
Copy link
Contributor Author

Daikin postponed the deprecation of the old platform a little bit, so that is why it is still working, but at some point this month the old integration will stop working.

@martijnrusschen
Copy link

Not sure if it's related to this deprecation, but I'm having trouble loading the integration since today.

@infestdead
Copy link

Same issue here since yesterday.

@jwillemsen
Copy link
Contributor Author

Looks the old API has been shutdown, please migrate to https://github.com/jwillemsen/daikin_onecta

@dkrushev
Copy link

For me it is still working. Either there is some kind of staged shutdown that has not reached me or registering my Daikin account in the developer portal is somehow allowing me to use the old integration. I hope it hold a bit longer so I have the time to setup the new integration to feed the power consumption data to the same entries in the Energy dashboard.

@infestdead
Copy link

Looks the old API has been shutdown, please migrate to https://github.com/jwillemsen/daikin_onecta

Thanks! Didn't realize there was a new one, works great, via HACS.

@santiagozky
Copy link

still working for me as well.

@paulmorabito
Copy link

I have released a v4.0.0 pre release of the daikin_onecta integration, see https://github.com/jwillemsen/daikin_onecta/releases/tag/v4.0.0

What's the best way to install this? Do I need to manually download and transfer or can I do via the Home Assistant UI?

I assume also we should remove the existing integration beforehand?

@jwillemsen
Copy link
Contributor Author

See https://github.com/jwillemsen/daikin_onecta#installation for the installation @paulmorabito, HACS is the easiest

@paulmorabito
Copy link

See https://github.com/jwillemsen/daikin_onecta#installation for the installation @paulmorabito, HACS is the easiest

Thanks. I've created the developer account and installed 4.0.21 of the plugin. When I go to set it up, there is not config flow, only a box asking for the OAuth details. Is there any way to force trigger it?

@rgerhards
Copy link

I made the same mistake. Go back to the developer portal, there are some "temporary credentials" given. Copy and past them into your local dialog box. After that, things begin to work.

@paulmorabito
Copy link

paulmorabito commented Mar 24, 2024

I made the same mistake. Go back to the developer portal, there are some "temporary credentials" given. Copy and past them into your local dialog box. After that, things begin to work.

Thanks.

And for anyone else, you need to go to the API docs to find the credentials as you can't generate them yet.

@rgerhards
Copy link

For anybody else: here is a screenshot of the relevant part of the gettting started page.

For strange reasons, we are not permitted to share these semi-public credentials.
image

@dkrushev
Copy link

Is there an easy way to rename the new entities name/id so that they replace the old ones in the existing automatons, overviews cards and energy dashboard?

@vogtmh
Copy link

vogtmh commented Mar 27, 2024

Is there an easy way to rename the new entities name/id so that they replace the old ones in the existing automatons, overviews cards and energy dashboard?

I just deleted the old entities and renamed the new ones to the same name. Worked for all my dashboards and automations immediately. Historical data looks fine, too. Just the energy entities have to be readded manually as cooling and heating does now have a separate entity for each device.

@vogtmh
Copy link

vogtmh commented Mar 27, 2024

See https://github.com/jwillemsen/daikin_onecta#installation for the installation @paulmorabito, HACS is the easiest

Thanks a lot for the hard work! Worked immediately. It's just a shame that Daikin launched the new authentication without providing any way to create your own credentials. The validity of their credentials until "spring 2024" is actually a very short timeframe. I hope the user created ones will last longer.

@tane64
Copy link

tane64 commented Apr 3, 2024

It's frustrating that Daikin is doing this. For me no longer Daikin. I have also some units from GREE. Working perfect via local API

There is ESP solution Faikin. Going to replace the Daikin WiFi module.

https://github.com/revk/ESP32-Faikin

@james-fry
Copy link

It's frustrating that Daikin is doing this. For me no longer Daikin. I have also some units from GREE. Working perfect via local API

There is ESP solution Faikin. Going to replace the Daikin WiFi module.

https://github.com/revk/ESP32-Faikin

Thanks for linking this repo (which onward links to their product on amazon)- might need to resort to it.
Strangely my two daikins are still working with this repo and I didnt need the onecta cloud approach yet.

@Apollon77
Copy link

To share some details here that we learned on the "JavaScript side of things":
The rate limit is designed in a way that when doing more requests while being rate limited these requests are deducted from the "future allowed calls". So that means that dong 200 requests while being rate limited will block you just another day longer!
So really respect the rate limit and especially the "retryAfter" header when getting 429 error (aka rate limited).

There is even a small "delay" between "rest counter" request header shows 0 and the first 429 is coming ...

I already gave feedback to Daikin developers because with the above a user could in general be blocked "endlessly"

@zelo90
Copy link

zelo90 commented Dec 18, 2024

Hello!
Logged in to the developer portal with Google SSO, but I can't see anything on the page, and there is some informal message on the My Apps site.
start_page
apps_page

In the Onecta app I login with the same method, and I can see my devices.
Anyone facing the same issue? Or what I'm doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests