Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

China Server Support #311

Closed
nekopoi opened this issue Nov 15, 2024 · 6 comments
Closed

China Server Support #311

nekopoi opened this issue Nov 15, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@nekopoi
Copy link

nekopoi commented Nov 15, 2024

Description of Enhancement

Installed plugin, was confused with the required fields as HomeConnect is on China Mainland server. The China Mainland server uses mobile number to login instead of SigID Email address, the Developer portal can set this up, but seems not implanted to the plugin yet. I've tried to use that as login credentials (username field) which didn't work. Home Assistant's HACS plugin, HomeConnect Alt is added the support and can be used successfully, But I'm not using HA's bridge since I'm prefer HB more:) Any possible adding this and I'm welling to provide help.

Home Connect Mapping

Support HomeConnect China server Login

HomeKit Mapping

No response

Home Connect Appliance(s)

No response

@nekopoi nekopoi added the enhancement New feature or request label Nov 15, 2024
@nekopoi
Copy link
Author

nekopoi commented Nov 15, 2024

The HACS Plugin for HomeConnect Alt: https://github.com/ekutner/home-connect-hass?tab=readme-ov-file
I'm not really a developer so not good at coding. but I think it can be referable.

Also, API domain special for China: api.home-connect.cn. Doc Link: https://api-docs.home-connect.com/general/#endpoints-and-data-encoding

@thoukydides
Copy link
Owner

Based on a quick look it appears that the only required change should be to use api.home-connect.cn instead of api.home-connect.com (and to mention setting the "Sync to China" option in the documentation for creating the application).

I don't recall seeing that alternative endpoint in the Home Connect API documentation previously, and there's nothing about it in the API ChangeLog, so I wonder when it was added. The earliest reference I can find to a separate endpoint for China was about a year ago.

Anyway, I will add a configuration option for this.

@nekopoi
Copy link
Author

nekopoi commented Nov 15, 2024

Great appreciated thoukydides !

@thoukydides
Copy link
Owner

Please try v1.1.0.

Either add "china": true to config.json or set Server Location to China within the configuration UI.

@nekopoi
Copy link
Author

nekopoi commented Nov 15, 2024

It's working!!! Right away! Many thanks thoukydides

@thoukydides
Copy link
Owner

Thanks for confirming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants