jwillemsen / daikin_onecta

Home Assistant Integration for devices supported by the Daikin Onecta App
https://github.com/jwillemsen/daikin_onecta
GNU General Public License v3.0
295 stars 9 forks source link

[Issue]: Daikin Developer Portal unable to create application #279

Closed swissmike64 closed 2 months ago

swissmike64 commented 3 months ago

unable to create DCR from HTTP Invalid response:Error: invalid dcr http response

daikin

jwillemsen commented 2 months ago

See https://developer.cloud.daikineurope.com/docs/b0dffcaa-7b51-428a-bdff-a7c8a64195c0/getting_started for temporary global credentials for anyone who can't create an application at this moment using the Daikin portal

HolFl465 commented 2 months ago

I was able to configure the add-on with the temporary credentials but I don't see any devices in home assistant.

It's the same account, the add-on is loaded and happy.

The only entity I can see is for updates. I already restarted home assistant.

Is this normal with these credentials?

jwillemsen commented 2 months ago

I was able to configure the add-on with the temporary credentials but I don't see any devices in home assistant.

It's the same account, the add-on is loaded and happy.

The only entity I can see is for updates. I already restarted home assistant.

Is this normal with these credentials?

In the past we had global credentials for everyone, that worked at that moment without real problems. Did you use the same login method and email address?

HolFl465 commented 2 months ago

I use SSO with Google on both dev cloud and onecta mobile app.

jwillemsen commented 2 months ago

Try to restart HA, check the HA logs and check the integration diagnostics. When you still see no devices in HA but you do see them in the onecta app contact Daikin to get their assistance

HolFl465 commented 2 months ago

There was a box to tick at the beggining. It works now.

UK-JustinSmall commented 2 months ago

No devices are being added. All I can see is Daikin Onecta update in entities

jwillemsen commented 2 months ago

No devices are being added. All I can see is Daikin Onecta update in entities

Make sure you use the same email address and login method, if that is the case, please open a new issue with the logs, integration diagnostics, and any information

HolFl465 commented 2 months ago

No devices are being added. All I can see is Daikin Onecta update in entities

I had the same issue because I didn't tick the box at the beggining asking if I allow them to have control over my devices.

UK-JustinSmall commented 2 months ago

A case of two different accounts - fixed it by creating a new account with old email address at Daikin and after being kicked out the mobile app and logging back in I can see more entities :-)

I was looking at ESP32 but then heard that this invalidates the warranty if I fit that so may have to live with this for now.

martinflux commented 2 months ago

Hi! It seems that Daikin is close to delivering a fix for the issue: “The issue has been identified and a fix is being implemented”.

Question: Is there an easy way to replace the temporary API key/secret or is the solution rather the deletion and new setup of the integration?

Thx for advice!

Regards, Martin

oliver-kriska commented 2 months ago

still same issue

unable to create DCR from HTTP. HTTP ERROR:AxiosError: Request failed with status code 503

jwillemsen commented 2 months ago

Question: Is there an easy way to replace the temporary API key/secret or is the solution rather the deletion and new setup of the integration?

Not sure, so far I know when Daikin revokes the temporary credentials you will get a reauthorize option in HA, but I haven't tested that myself, my home setup works and I don't want to break it

jwillemsen commented 2 months ago

Daikin has deployed a fix, please retry to create an application on the Daikin portal

IngmarG commented 2 months ago

I can confirm it now works

UK-JustinSmall commented 2 months ago

Created the app. Added it back into home assistant entered the keys, now no devices or entities showing

From: Johnny Willemsen @.> Sent: 04 September 2024 15:26 To: jwillemsen/daikin_onecta @.> Cc: UK-JustinSmall @.>; Comment @.> Subject: Re: [jwillemsen/daikin_onecta] [Issue]: Daikin Developer Portal unable to create application (Issue #279)

Daikin has deployed a fix, please retry to create an application on the Daikin portal

— Reply to this email directly, view it on GitHub https://github.com/jwillemsen/daikin_onecta/issues/279#issuecomment-2329216292 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6ZD2M74UJFQOJNLJJB6QKTZU4KAPAVCNFSM6AAAAABMK23RISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRZGIYTMMRZGI . You are receiving this because you commented. https://github.com/notifications/beacon/A6ZD2M6PDASVE3FPJMRTKP3ZU4KAPA5CNFSM6AAAAABMK23RISWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUK2UCSI.gif Message ID: @. @.> >

jwillemsen commented 2 months ago

@UK-JustinSmall Check the HA logs whether there are errors. Strange that it worked with the temporary credentials, maybe you added by accident somewhere a space?

Russ147 commented 2 months ago

I can confirm that the fix works

UK-JustinSmall commented 2 months ago

@UK-JustinSmall Check the HA logs whether there are errors. Strange that it worked with the temporary credentials, maybe you added by accident somewhere a space?

I got it, school boy error, Thanks again :-)

oliverbiegel commented 2 months ago

I have created credentials on the Daikin developer portal but after entering them in Home assistant, I was forwarded to a Daikin webpage saying that something went wrong. I have now deleted the app in the developer portal and created new credentials. However, now, when I try to add a new integration in Home Assistant, I don't even get the pop-up asking me for the credentials. I directly get redirected to the Daikin webpage "Something went wrong". Reinstalling the repository doesn't help either, the pop-up that asks for the credentials doesn't appear anymore. When I try to add the integration in another browser, there appears the following pop-up message: 2024-09-11 10_32_58-Clipboard "Already_in_progress" Can somebody help me with this problem please? Thank you very much!

jwillemsen commented 2 months ago

You probably have some old credentials, see readme how to remove them and after you removed them restart HA

oliverbiegel commented 2 months ago

You probably have some old credentials, see readme how to remove them and after you removed them restart HA

Thank you very much for the fast reply, that helped!

isidrodaniel commented 3 weeks ago

I have created credentials on the Daikin developer portal but after entering them in Home assistant, I was forwarded to a Daikin webpage saying that something went wrong. I have now deleted the app in the developer portal and created new credentials. However, now, when I try to add a new integration in Home Assistant, I don't even get the pop-up asking me for the credentials. I directly get redirected to the Daikin webpage "Something went wrong". Reinstalling the repository doesn't help either, the pop-up that asks for the credentials doesn't appear anymore. When I try to add the integration in another browser, there appears the following pop-up message: 2024-09-11 10_32_58-Clipboard "Already_in_progress" Can somebody help me with this problem please? Thank you very much!

isidrodaniel commented 3 weeks ago

I also was able to create the APP on the Daikin page, and obtained the credentials. Then when adding the integration in HA got the web page with the message "something went wrong'. I deleted the onecta app in HACS, deleted the old credentials and tried several times without any luck. I exposed the issue to Daikin support but they haven't give any help on this. I getting frustrated as I paid good money for something that was working fine before the OEM started to temper and making things overcomplicated without any necessity! So if someone has some suggestion I truly appreciate it. Noite: O the logs I could not find any entries related with ONECTA. At least I don't see any specific entry with Daikin or ONECTA labeled. Thanks in advance for the attention and sorry for the steam blow about Daikin, but why are really getting in to my nerves!

jwillemsen commented 3 weeks ago

For the already in progress error restart HA, try a different browser, search the closed issues for more ideas