Apollon77 / daikin-controller-cloud

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

Login not working: missing required fields for registration #131

Closed JeroenVdb closed 4 months ago

JeroenVdb commented 8 months ago

Describe the bug
I use your module in https://github.com/JeroenVdb/homebridge-daikin-cloud, a user opened an issue not being able to log in: https://github.com/JeroenVdb/homebridge-daikin-cloud/issues/51

Login failed: Missing required fields for registration: data.profile.communicationLanguage, data.profile.countryResidence

Is it possible Daikin already did some changes that impact this login functionality?

Versions:

Apollon77 commented 8 months ago

Yes we need to update. The library still supports the Proxy way that still should work. Use this please in the meantime till an update is available

jenssegers commented 8 months ago

Would this require a big refactor or simply adding additional fields to the login method? Can we help in any way?

Apollon77 commented 8 months ago

I did not looked into it ... I would hope that a temporary workaround for now till april could be to add the two fields in the relevant place with meaningful values. But in general it will be a change needed to use the enw Developer portal. Anyone that want to try to find out where these new fields are needed are welcome

JeroenVdb commented 8 months ago

I think the workaround from https://github.com/Apollon77/daikin-controller-cloud/issues/128#issuecomment-1986872478 is sufficient for closing this issue. I guess it's better to focus the attention on integration of the new API.

I added some extra explanation for now to the error message in my plugin: https://github.com/JeroenVdb/homebridge-daikin-cloud/commit/1362be1acf0684ef2017667f066d5a73688637f8

Apollon77 commented 8 months ago

lets leave open :-)

Apollon77 commented 4 months ago

2.0.0 is different anway