Apollon77 / daikin-controller-cloud

Connect and Control Daikin Cloud devices
MIT License
98 stars 25 forks source link

Daikin Cloud changes will break this integration March 11th 2024 #128

Closed jwillemsen closed 2 months ago

jwillemsen commented 7 months ago

See https://github.com/rospogrigio/daikin_residential/issues/182#issuecomment-1933967548 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

Apollon77 commented 7 months ago

Thank you for informing ...lets see ... need to check how we change here because 200 calls a day is way too less for normal integration use cases

jwillemsen commented 7 months ago

I have released a v4.0.0 pre release of the HA daikin_onecta integration, see https://github.com/jwillemsen/daikin_onecta/releases/tag/v4.0.0. All together not a small effort, did also a lot of internal rework

Apollon77 commented 7 months ago

I have it on my plan to adjust soon

JeroenVdb commented 6 months ago

@Apollon77 I have read the topic in daikin_residential. I'm trying to find out what the impact will be for my plugin (https://github.com/JeroenVdb/homebridge-daikin-cloud).

Will I have to register as a Developer and bring my own key or let my users bring their own key?

Apollon77 commented 6 months ago

Daikin introduces a new developer portal for open source. In the end it will be a OAuth flow initially to get tokens which can be used then. In the beginning it is a central client id, later each develoepr/user needs his own client-id.

it seems that they rendered unintentionally the old ways no longer working too early which is meehhh ... I need to find some days to add this here.

Apollon77 commented 6 months ago

PS: The proxy Approach of my library and the way to get the key initially that way (see tokensafer and such) is still working and should also still work till April!

jwillemsen commented 6 months ago

Yes, looks they broke something, also users of other integrations are reporting issues, for example https://github.com/rospogrigio/daikin_residential/issues/209

GeneralMotors003 commented 6 months ago

I had exactly the same problem with homebridge and found a workaround: 1) Log in to the Daikin Onecta app (if already logged in, log out and log in again) 2) Enter new required information, which is now asked for 3) Restart Homebdrige, the login now runs without problems

JeroenVdb commented 6 months ago

Just FYI: The Tuya platform integration also requires you to first create a developer account. I guess, my for April, that would be a feasible option to let everyone bring their own key/authentication.

Apollon77 commented 6 months ago

@JeroenVdb on tuya it dependss what you want ... other story in my eyes

Apollon77 commented 6 months ago

@JeroenVdb BTW: There will be rate limits also ... e.g. 200 calls/day and such ... so the library will try to optimize that as much as possible, so next version will be a major one

staub79 commented 3 months ago
  1. Log in to the Daikin Onecta app (if already logged in, log out and log in again)
  2. Enter new required information, which is now asked for
  3. Restart Daikin-cloud adapter

This worked for me. Let's keep fingers crossed that it will stay this way ... I have written a heating/cooling automation with external temperature sensors relying on this adapter.

Apollon77 commented 3 months ago

2.0.0 Alpha versions are available on npm @next tag

Apollon77 commented 2 months ago

2.0.0 released