Apollon77 / daikin-controller-cloud

Connect and Control Daikin Cloud devices
MIT License
96 stars 26 forks source link

Does this code work in US? #105

Closed slipsnotibm closed 1 year ago

slipsnotibm commented 1 year ago

In looking at code, it looks like it is pointing to Daikin Cloud in EU. I live in the US and am trying to use a Homebridge plugin homebridge-daikin-cloud v1.5.0. Presumably I need to log in the dkncloudna.com to validate userid and pw. Is there any way to log into the US Servers

Apollon77 commented 1 year ago

This is a good question. Seems you are the first from US that want to use it :-) In fact the library mimics what the Onecta App ios doing, so IF it is not working (did you tried it?) then we would need a "app traffic sniffing" (e.g. with Charles Proxy as Software with enabled SSL Root cert) and then I could compare whats different. If you like to do the sniffing and need more details just ask. AFte rthis send the filde please to github@fischer-ka.de and add a Link to this issue.

slipsnotibm commented 1 year ago

I was looking at Daikin Docs here where it explains api. I tried a few of the curl commands and I was able to at least login thru the api... As far as sniffing, I'd probably need help with that but its possible. ( I was able to poke around and read your code to determine you were going against EU servers but as to writing or testing, that would take more time :-) )

im-dknapi.pdf

Apollon77 commented 1 year ago

This is the not same API that the App uses, so irrelevant for this repo and such. Thats why again: Did you tried if it works? (even if it iusing aws EU URLs)? Please tyr that first because there is a good chance that it is the same - especially when you also use the "normal" Onecta App ... Please proviode more details

slipsnotibm commented 1 year ago

when I tried the Homebridge Plugin, I get [3/4/2023, 1:00:14 AM] [homebridge-daikin-cloud] Failed to get cloud devices from Daikin Cloud: Failed to login to Daikin Cloud with xxx.yyy.com: Login failed: invalid loginID or password and the plugin doesn't work. Thats why I was checking to see if you were using a different endpoint. I guess it probably won't work if you are also using a different api.

Apollon77 commented 1 year ago

Oknthen again: WHat app you use form Daikin? How that app is called? If you like ... use. harles proxy and grab the flow of Login and usage, send it to me and I check

slipsibm commented 1 year ago

Dkncloudna is the ios app

Apollon77 commented 1 year ago

Ok, then it really seems they have a different solution for US :-( Then I would still propose to grab all app traffc with Charles Proxy to check gow "near" that is to the EU variant or to the PDF you posted ...

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

stale[bot] commented 1 year ago

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions. Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.