Skip to content

Commit

Permalink
feat: China support (#637)
Browse files Browse the repository at this point in the history
* feat: China support

* bump API to version with China support

* fix: black action

* Update README.md

* Update manifest.json

---------

Co-authored-by: cdnninja <cdnninja@users.noreply.github.com>
  • Loading branch information
cdnninja and cdnninja authored May 5, 2023
1 parent 3015ecf commit 64a687d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
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 | &#10004; | &#10004; | &#10004; | &#10004; |
| Force Update | &#10004; | &#10004; | &#10004; | |
| Lock Unlock | &#10004; | &#10004; | &#10004; | &#10004; |
| start stop climate | &#10004; | &#10004; | &#10004; | &#10004; |
| start stop charge | &#10004; | &#10004; | &#10004; | |
| set charge limits | &#10004; | &#10004; | &#10004; | |
| open and close charge port(None functional, needs testing) | | | | |
| Service | EU | CA | USA Kia | USA Hyundai | China |
| ------------- | -- | -- | -------- | ------------ |--------|
| Update | &#10004; | &#10004; | &#10004; | &#10004; |&#10004;|
| Force Update | &#10004; | &#10004; | &#10004; | |&#10004;|
| Lock Unlock | &#10004; | &#10004; | &#10004; | &#10004; |&#10004;|
| start stop climate | &#10004; | &#10004; | &#10004; | &#10004; |&#10004;|
| start stop charge | &#10004; | &#10004; | &#10004; | ||
| set charge limits | &#10004; | &#10004; | &#10004; | ||
| 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"
}

0 comments on commit 64a687d

Please sign in to comment.