Closed Hailstorm030 closed 4 months ago
same issue here!
Hello,
I am also having this issue. Can I confirm that the reason for this change to be made was that Daikin discontinued to the ability to authenticate using frontend username and password as in version 1.x of this plugin? It was working fine until maybe 2 or 3 days ago.
My configuration is shown below (don't worry, fake ID/secret):
{ "platform": "DaikinCloud", "clientId": "1xXXaLJ2jb435gfhy9HsdgsaKZb", "clientSecret": "PoYsgdssdfh-b8fsg8y9mtfnt6T1ZJRJFfbQoYU1aQe3K-oTq2B2X9t_Jsdet4dfsLr5try-cRUw", "oidcCallbackServerBindAddr": "127.0.0.1", "callbackServerExternalAddress": "192.168.1.11", "callbackServerPort": "51827", "showExtraFeatures": false, "updateIntervalInMinutes": 15 }
You need to update to the 2.x version of homebridge-daikin-cloud. Like said the API for Daikin has change.
If you can't start the authorisation flow (reach the server) there is probably something wrong with the value for oidcCallbackServerBindAddr
. Unless you get a more specific error.
Can you please explain what it means "This is the address the http server binds to, this is often just localhost" ? my understanding is that the "http server" is running in my local configuration, in my particular case the raspberry pi, witch as its own ip address in my local network... when you refer "localhost" what do you mean ?
never mind, i got it! you mean, localhost as the device that is running que homebdrige, in my case, 0.0.0.0. Thank you so much for your work! i would love to pay you a coffee!
Just wanted to second that the default 127.0.0.1 for the oidcCallbackServerBindAddr didnt work for me as well (i couldn
t connect to the server). Changing to 0.0.0.0 solved the issue. Maybe change it to this value for default?
"Changing to 0.0.0.0 solved the issue " For me too !
Describe The Bug: Homebridge is running on a Raspberry Pi (10.0.20.13) on port 51826, the callbackServerExternalAddress is 10.0.20.13 and the callbackServerPort is 51827.
When I reboot Homebridge it tells me "Please navigate to https://10.0.20.13:51827 to start the authorisation flow. If it is the first time you open this url you will need to accept a security warning." but this URL does not open.
To Reproduce:
Expected behavior:
Logs:
Plugin Config:
Screenshots:
Daikin Environment:
Homebridge Environment: