Closed aroberts16 closed 1 year ago
@aroberts16 this plugin uses the daikin-controller-cloud library to access the (unofficial) Daikin API. Sometimes Daikin will request a captcha to be solved before the calls work. You can follow these steps provided by the library to get past this captcha: https://github.com/Apollon77/daikin-controller-cloud/tree/01836ba64fba07c4d63207dd7b501bff3f10b5e2#login-with-e-mailpassword
I had this myself as well the first time. I managed to follow the steps and was never asked for the captcha again. Hope this helps.
How do I start the proxy?
If I remember correctly:
Modify example/example.js
and change the value of proxyOwnIp
in the options
object to the ip of your computer.
Then run the script: node example/example.js
and open the website: http://<ip-of-your-computer>:8889
. Follow the steps to login via this website with Daikin Cloud.
More information: https://github.com/Apollon77/daikin-controller-cloud/blob/01836ba64fba07c4d63207dd7b501bff3f10b5e2/PROXY.md
I tried that and I still get the captcha error.
In that case I'm afraid I can't really help you. The API is not supported by Daikin AFAIK so we can't really log a ticket for this.
I would suggest to maybe try the proxy thing again a few times and hope they don't ask the captcha again after a while. Maybe also put the output of the example.js script here. Maybe we can have a look what goes wrong.
@aroberts16 I hope you where be able to get this working. Will close this for now. If you need extra help you can just put a comment here.
Describe The Bug:
Unable to start with homebridge due to login failure.
Logs:
Error: Login failed: Login Failed Captcha Required at DaikinCloudController.login (/usr/local/lib/node_modules/homebridge-daikin-cloud/node_modules/daikin-controller-cloud/index.js:495:23) at processTicksAndRejections (node:internal/process/task_queues:96:5) at DaikinCloudPlatform.initiateDaikinCloudController (/usr/local/lib/node_modules/homebridge-daikin-cloud/src/platform.ts:106:9) at DaikinCloudPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-daikin-cloud/src/platform.ts:39:29)
Environment: