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
251 stars 9 forks source link

Unable to install Onecta integration #124

Closed ehajer closed 6 months ago

ehajer commented 6 months ago

I seem to be unable to install the Onecta Integration. After being redirected to my Daikin account during the"Add Integration" procedure and after logging into this, I have to hit the "I agree" button. Then I 'm being redirected to "my.home-assistant.io/redirect/oauth/....." to link the account to Home Assistant. All going well and as expected so far.

After linking the account to my instance of Home Assistant I am redirected again back to the Integrations page with the following popup:

image

This is what I found in the log:

image

I am running the Daikin Residential Controller Integration already for some time and I am very pleased with it. It would be very nice to switch to the new Onecta app, but without succes so far....

jwillemsen commented 6 months ago

See #41

jwillemsen commented 6 months ago

Or #108

ehajer commented 6 months ago

Oké, thanks. I found it at last. The trick was to delete the earlier oauth credentials. After some hours of surfing the net I came accross this option within Home Assistant: image

After selecting the Application credentials: image I just selected and deleted the Daikin credentials and reinstalled the Onecta Integration without any problems.

Maybe it's an idea to add this procedure to delete the oauth settings aswell to the docs? This is not a well known setting in Home Assistant . At least it wasn't for me!

jwillemsen commented 6 months ago

Great that you found it, I added a link to the readme to https://www.home-assistant.io/integrations/application_credentials/