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

feat: China support #637

Merged
merged 6 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ I have baked a custom integration for Kia Uvo / Hyundai Bluelink, this will be w

## Installation ##
You can install this either manually copying files or using HACS. Configuration can be done on UI, you need to enter your username and password, (I know, translations are missing, a PR for this would be great!).
- EU, CA and US is supported by this. USA support is limited.
- EU, CA and US is supported by this. USA and China support is limited.
- Multiple cars and accounts are supported. To add additional accounts just go through setup a second time.
- update - It will fetch the cached information every 30 minutes from Kia Uvo / Hyundai Bluelink Servers. **Now Configurable**
- force update - It will ask your car for the latest data every 4 hours. **Now Configurable**
Expand Down Expand Up @@ -38,15 +38,16 @@ These can be access by going to the developer menu followed by services.
- set_charge_limits: You can control your charging capacity limits using this services
- open_charge_port / close_charge_port: Open or close the charge port.

| Service | EU | CA | USA Kia | USA Hyundai |
| ------------- | -- | -- | -------- | ------------ |
| Update | ✔ | ✔ | ✔ | ✔ |
| Force Update | ✔ | ✔ | ✔ | |
| Lock Unlock | ✔ | ✔ | ✔ | ✔ |
| start stop climate | ✔ | ✔ | ✔ | ✔ |
| start stop charge | ✔ | ✔ | ✔ | |
| set charge limits | ✔ | ✔ | ✔ | |
| open and close charge port(None functional, needs testing) | | | | |
| Service | EU | CA | USA Kia | USA Hyundai | China |
| ------------- | -- | -- | -------- | ------------ |--------|
| Update | ✔ | ✔ | ✔ | ✔ |✔|
| Force Update | ✔ | ✔ | ✔ | |✔|
| Lock Unlock | ✔ | ✔ | ✔ | ✔ |✔|
| start stop climate | ✔ | ✔ | ✔ | ✔ |✔|
| start stop charge | ✔ | ✔ | ✔ | ||
| set charge limits | ✔ | ✔ | ✔ | ||
| open and close charge port(None functional, needs testing) | | | | ||


I have posted an example screenshot from my own car.

Expand Down
3 changes: 2 additions & 1 deletion custom_components/kia_uvo/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
REGION_EUROPE: str = "Europe"
REGION_CANADA: str = "Canada"
REGION_USA: str = "USA"
REGIONS = {1: REGION_EUROPE, 2: REGION_CANADA, 3: REGION_USA}
REGION_CHINA: str = "China"
REGIONS = {1: REGION_EUROPE, 2: REGION_CANADA, 3: REGION_USA, 4: REGION_CHINA}
BRAND_KIA: str = "Kia"
BRAND_HYUNDAI: str = "Hyundai"
BRANDS = {1: BRAND_KIA, 2: BRAND_HYUNDAI}
Expand Down
2 changes: 1 addition & 1 deletion custom_components/kia_uvo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"integration_type": "hub",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/fuatakgun/kia_uvo/issues",
"requirements": ["hyundai_kia_connect_api==3.2.0"],
"requirements": ["hyundai_kia_connect_api==3.3.1"],
"version": "2.9.0"
}