C# console application to follow the authentication flow of the Daikin Residential Controller app, by doing the same calls from code. The resulting authorization code can be used to automate Daikin airco's that use the cloud-only wifi module.
This is a proof of concept based on a PR (Apollon77/daikin-controller-cloud#17) on the https://github.com/Apollon77/daikin-controller-cloud repo.
And hopefully some inspiration to get openhab/openhab-addons#11032 solved in the Daikin OpenHAB binding.
Example
dotnet SierraNL.DaikinCloudLogin.dll --username [email protected] --password mypassword
The result will be a line similar to this:
Login succesful for [email protected], retrieved code 7cf2037f-a95f-4242-9a3e-5d8b12d8dc05
The UUID/GUID can be used in the OIDC / OAuth2 flow securing the Daikin Cloud API.