hyundai-kia-connect-api 3.24.1__py2.py3-none-any.whl → 3.24.3__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hyundai-kia-connect-api might be problematic. Click here for more details.
- hyundai_kia_connect_api/KiaUvoAPIUSA.py +3 -3
- hyundai_kia_connect_api/KiaUvoApiAU.py +10 -9
- {hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/METADATA +5 -5
- {hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/RECORD +8 -8
- {hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/AUTHORS.rst +0 -0
- {hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/LICENSE +0 -0
- {hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/WHEEL +0 -0
- {hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/top_level.txt +0 -0
@@ -648,9 +648,9 @@ class KiaUvoAPIUSA(ApiImpl):
|
|
648
648
|
"airCtrl": options.climate,
|
649
649
|
"defrost": options.defrost,
|
650
650
|
"heatingAccessory": {
|
651
|
-
"rearWindow":
|
652
|
-
"sideMirror":
|
653
|
-
"steeringWheel":
|
651
|
+
"rearWindow": 1 if options.heating in [3, 4] else 0,
|
652
|
+
"sideMirror": 1 if options.heating == 4 else 0,
|
653
|
+
"steeringWheel": 1 if options.heating in [2, 4] else 0,
|
654
654
|
},
|
655
655
|
"ignitionOnDuration": {
|
656
656
|
"unit": 4,
|
@@ -302,15 +302,16 @@ class KiaUvoApiAU(ApiImplType1):
|
|
302
302
|
else:
|
303
303
|
vehicle.last_updated_at = dt.datetime.now(self.data_timezone)
|
304
304
|
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
305
|
+
if get_child_value(state, "status.odometer.value"):
|
306
|
+
vehicle.odometer = (
|
307
|
+
get_child_value(state, "status.odometer.value"),
|
308
|
+
DISTANCE_UNITS[
|
309
|
+
get_child_value(
|
310
|
+
state,
|
311
|
+
"status.odometer.unit",
|
312
|
+
)
|
313
|
+
],
|
314
|
+
)
|
314
315
|
vehicle.car_battery_percentage = get_child_value(state, "status.battery.batSoc")
|
315
316
|
vehicle.engine_is_running = get_child_value(state, "status.engine")
|
316
317
|
|
{hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/METADATA
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hyundai_kia_connect_api
|
3
|
-
Version: 3.24.
|
3
|
+
Version: 3.24.3
|
4
4
|
Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
|
5
|
-
Home-page: https://github.com/
|
5
|
+
Home-page: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api
|
6
6
|
Author: Fuat Akgun
|
7
7
|
Author-email: fuatakgun@gmail.com
|
8
8
|
License: MIT license
|
@@ -29,14 +29,14 @@ I no longer have a Kia or Hyundai so don't maintain this like I used to. Others
|
|
29
29
|
Introduction
|
30
30
|
============
|
31
31
|
|
32
|
-
This is a Kia UVO, Hyundai Bluelink, Genesis Connect(Canada Only) written in python. It is primary consumed by home assistant. If you are looking for a home assistant Kia / Hyundai implementation please look here: https://github.com/
|
32
|
+
This is a Kia UVO, Hyundai Bluelink, Genesis Connect(Canada Only) written in python. It is primary consumed by home assistant. If you are looking for a home assistant Kia / Hyundai implementation please look here: https://github.com/Hyundai-Kia-Connect/kia_uvo. Much of this base code came from reading bluelinky (https://github.com/Hacksore/bluelinky) and contributions to the kia_uvo home assistant project.
|
33
33
|
|
34
34
|
Usage
|
35
35
|
=====
|
36
36
|
|
37
37
|
This package is designed to simplify the complexity of using multiple regions. It attempts to standardize the usage regardless of what brand or region the car is in. That isn't always possible though, in particular some features differ from one to the next.
|
38
38
|
|
39
|
-
Python 3.
|
39
|
+
Python 3.10 or newer is required to use this package. Vehicle manager is the key class that is called to manage the vehicle lists. One vehicle manager should be used per login. Key data points required to instantiate vehicle manager are::
|
40
40
|
|
41
41
|
region: int
|
42
42
|
brand: int,
|
@@ -44,7 +44,7 @@ Python 3.9 or newer is required to use this package. Vehicle manager is the key
|
|
44
44
|
password: str
|
45
45
|
pin: str (required for CA, and potentially USA, otherwise pass a blank string)
|
46
46
|
|
47
|
-
Key values for the int exist in the constant(https://github.com/
|
47
|
+
Key values for the int exist in the constant(https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/blob/master/hyundai_kia_connect_api/const.py) file as::
|
48
48
|
|
49
49
|
REGIONS = {1: REGION_EUROPE, 2: REGION_CANADA, 3: REGION_USA, 4: REGION_CHINA, 5: REGION_AUSTRALIA}
|
50
50
|
BRANDS = {1: BRAND_KIA, 2: BRAND_HYUNDAI, 3: BRAND_GENESIS}
|
{hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/RECORD
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
hyundai_kia_connect_api/ApiImpl.py,sha256=7tB6PZTEVlw-GCfEjU4ekq_ZgnFseYLrEYpbUyEoL84,6866
|
2
2
|
hyundai_kia_connect_api/ApiImplType1.py,sha256=PnKwpbCoYGOXBWzBLIlDSrC6daIYeW9qlfW7TM4HCU0,12184
|
3
3
|
hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=MK1cFcnuZebogz32-nXjHt0pAgQ1-2lrurw8SADX6ww,36690
|
4
|
-
hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=
|
5
|
-
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=
|
4
|
+
hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=LbEh7EM19kpvhwPSMpEYIHVNUSOJsuvNjcXJzyc_P8A,31338
|
5
|
+
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=tslh0gzvPBwYJmcWlf9B0l7PyYZdy2e7GqpRkl8_Svk,48471
|
6
6
|
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=B3Lks_ONr3l01QLl-GQBPdktXj9PZWKuQKRLYmJ7kP4,30763
|
7
7
|
hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=cwIPZ0dU6HolKdooUQeQKlLAic6YU8dQmNs0VQDBgpQ,47035
|
8
8
|
hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=_wNkctkIO2hrf1K2LTZPtHWZ5ewTcXqTv0s_AXRXI2I,68254
|
@@ -13,9 +13,9 @@ hyundai_kia_connect_api/__init__.py,sha256=IkyVeIMbcFJZgLaiiNnUVA1Ferxvrm1bXHKVg
|
|
13
13
|
hyundai_kia_connect_api/const.py,sha256=ofi_ZfGxJYo0FWIcGFbIMSMRdKRtaK4GUDhFiQRvZeI,2007
|
14
14
|
hyundai_kia_connect_api/exceptions.py,sha256=m7gyDnvA5OVAK4EXSP_ZwE0s0uV8HsGUV0tiYwqofK0,1343
|
15
15
|
hyundai_kia_connect_api/utils.py,sha256=J0aXUX-nKIoS3XbelatNh-DZlHRU2_DYz_Mg_ZUKQJU,1957
|
16
|
-
hyundai_kia_connect_api-3.24.
|
17
|
-
hyundai_kia_connect_api-3.24.
|
18
|
-
hyundai_kia_connect_api-3.24.
|
19
|
-
hyundai_kia_connect_api-3.24.
|
20
|
-
hyundai_kia_connect_api-3.24.
|
21
|
-
hyundai_kia_connect_api-3.24.
|
16
|
+
hyundai_kia_connect_api-3.24.3.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
|
17
|
+
hyundai_kia_connect_api-3.24.3.dist-info/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
|
18
|
+
hyundai_kia_connect_api-3.24.3.dist-info/METADATA,sha256=dhTvvVmh6yuPIWE0faQNy_NNjod86Q9AZF6ZzfcdTQU,6142
|
19
|
+
hyundai_kia_connect_api-3.24.3.dist-info/WHEEL,sha256=OpXWERl2xLPRHTvd2ZXo_iluPEQd8uSbYkJ53NAER_Y,109
|
20
|
+
hyundai_kia_connect_api-3.24.3.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
|
21
|
+
hyundai_kia_connect_api-3.24.3.dist-info/RECORD,,
|
{hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/AUTHORS.rst
RENAMED
File without changes
|
{hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.24.1.dist-info → hyundai_kia_connect_api-3.24.3.dist-info}/top_level.txt
RENAMED
File without changes
|