Skip to content

Adopt the bruestel redirect-URL login flow in hc-login.py#276

Open
Asmir1975 wants to merge 1 commit into
hcpy2-0:mainfrom
Asmir1975:hc-login-region-and-redirect-url
Open

Adopt the bruestel redirect-URL login flow in hc-login.py#276
Asmir1975 wants to merge 1 commit into
hcpy2-0:mainfrom
Asmir1975:hc-login-region-and-redirect-url

Conversation

@Asmir1975

Copy link
Copy Markdown
Contributor

Replaces the manual F12 code/state copy with the redirect-URL login from bruestel/homeconnect-profile-downloader
You paste the whole hcauth://auth/prod?... URL and it's parsed out, with a state check against the current attempt.

The port also brings region selection (EU/NA/CN), so CN accounts work now, and it skips demo appliances (no local support).

Tested on EU only (Siemens dishwasher + hob). I have no NA/CN account, so those two hosts come as-is from bruestel and could use a second pair of eyes. EU OAuth host unchanged.

…ion)

Replaces the manual F12 code/state copy with the redirect-URL login from
bruestel/homeconnect-profile-downloader: paste the whole hcauth://auth/prod?...
URL and it gets parsed out, with a state check against the current attempt.

Region selection is derived into both the OAuth host and the asset host.
Previously the OAuth host was fixed and the asset host was tried from a
hard-coded EU/NA list, with no CN option. Demo appliances (isDemo) are skipped.

Tested on EU only. The NA/CN hosts are taken as-is from bruestel.
@Asmir1975
Asmir1975 force-pushed the hc-login-region-and-redirect-url branch from 0c4be97 to 6e5f0b7 Compare July 4, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant