hyundai-kia-connect-api 3.14.3__py2.py3-none-any.whl → 3.15.1__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.
- hyundai_kia_connect_api/KiaUvoApiEU.py +21 -14
- hyundai_kia_connect_api/Vehicle.py +1 -0
- {hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/METADATA +1 -1
- {hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/RECORD +8 -8
- {hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/AUTHORS.rst +0 -0
- {hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/LICENSE +0 -0
- {hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/WHEEL +0 -0
- {hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/top_level.txt +0 -0
@@ -466,15 +466,12 @@ class KiaUvoApiEU(ApiImpl):
|
|
466
466
|
)
|
467
467
|
|
468
468
|
# TODO: should the windows and trunc also be checked?
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
)
|
475
|
-
vehicle.is_locked = True
|
476
|
-
else:
|
477
|
-
vehicle.is_locked = False
|
469
|
+
vehicle.is_locked = not (
|
470
|
+
vehicle.front_left_door_is_open
|
471
|
+
or vehicle.front_right_door_is_open
|
472
|
+
or vehicle.back_left_door_is_open
|
473
|
+
or vehicle.back_right_door_is_open
|
474
|
+
)
|
478
475
|
|
479
476
|
vehicle.hood_is_open = get_child_value(state, "Body.Hood.Open")
|
480
477
|
vehicle.front_left_window_is_open = get_child_value(
|
@@ -573,6 +570,9 @@ class KiaUvoApiEU(ApiImpl):
|
|
573
570
|
vehicle.ev_charge_limits_dc = get_child_value(
|
574
571
|
state, "Green.ChargingInformation.TargetSoC.Quick"
|
575
572
|
)
|
573
|
+
vehicle.ev_v2l_discharge_limit = get_child_value(
|
574
|
+
state, "Green.Electric.SmartGrid.VehicleToLoad.DischargeLimitation.SoC"
|
575
|
+
)
|
576
576
|
vehicle.ev_target_range_charge_AC = (
|
577
577
|
get_child_value(
|
578
578
|
state,
|
@@ -605,11 +605,11 @@ class KiaUvoApiEU(ApiImpl):
|
|
605
605
|
get_child_value(state, "Green.Reservation.Departure.Schedule2.Enable")
|
606
606
|
)
|
607
607
|
|
608
|
-
# TODO: vehicle.ev_first_departure_days --> Green.Reservation.Departure.Schedule1.(Mon,Tue,Wed,Thu,Fri,Sat,Sun)
|
609
|
-
# TODO: vehicle.ev_second_departure_days --> Green.Reservation.Departure.Schedule2.(Mon,Tue,Wed,Thu,Fri,Sat,Sun)
|
610
|
-
# TODO: vehicle.ev_first_departure_time --> Green.Reservation.Departure.Schedule1.(Min,Hour)
|
611
|
-
# TODO: vehicle.ev_second_departure_time --> Green.Reservation.Departure.Schedule2.(Min,Hour)
|
612
|
-
# TODO: vehicle.ev_off_peak_charge_only_enabled --> unknown settings are in --> Green.Reservation.OffPeakTime and OffPeakTime2
|
608
|
+
# TODO: vehicle.ev_first_departure_days --> Green.Reservation.Departure.Schedule1.(Mon,Tue,Wed,Thu,Fri,Sat,Sun) # noqa
|
609
|
+
# TODO: vehicle.ev_second_departure_days --> Green.Reservation.Departure.Schedule2.(Mon,Tue,Wed,Thu,Fri,Sat,Sun) # noqa
|
610
|
+
# TODO: vehicle.ev_first_departure_time --> Green.Reservation.Departure.Schedule1.(Min,Hour) # noqa
|
611
|
+
# TODO: vehicle.ev_second_departure_time --> Green.Reservation.Departure.Schedule2.(Min,Hour) # noqa
|
612
|
+
# TODO: vehicle.ev_off_peak_charge_only_enabled --> unknown settings are in --> Green.Reservation.OffPeakTime and OffPeakTime2 # noqa
|
613
613
|
|
614
614
|
vehicle.washer_fluid_warning_is_on = get_child_value(
|
615
615
|
state, "Body.Windshield.Front.WasherFluid.LevelLow"
|
@@ -1264,6 +1264,9 @@ class KiaUvoApiEU(ApiImpl):
|
|
1264
1264
|
)
|
1265
1265
|
result.day_list.append(processed_day)
|
1266
1266
|
|
1267
|
+
if len(result.day_list) > 0: # sort on increasing yyyymmdd
|
1268
|
+
result.day_list.sort(key=lambda k: k.yyyymmdd)
|
1269
|
+
|
1267
1270
|
vehicle.month_trip_info = result
|
1268
1271
|
|
1269
1272
|
def update_day_trip_info(
|
@@ -1311,6 +1314,10 @@ class KiaUvoApiEU(ApiImpl):
|
|
1311
1314
|
max_speed=trip["tripMaxSpeed"],
|
1312
1315
|
)
|
1313
1316
|
result.trip_list.append(processed_trip)
|
1317
|
+
|
1318
|
+
if len(result.trip_list) > 0: # sort on descending hhmmss
|
1319
|
+
result.trip_list.sort(reverse=True, key=lambda k: k.hhmmss)
|
1320
|
+
|
1314
1321
|
vehicle.day_trip_info = result
|
1315
1322
|
|
1316
1323
|
def _get_driving_info(self, token: Token, vehicle: Vehicle) -> dict:
|
@@ -158,6 +158,7 @@ class Vehicle:
|
|
158
158
|
|
159
159
|
ev_charge_limits_dc: typing.Union[int, None] = None
|
160
160
|
ev_charge_limits_ac: typing.Union[int, None] = None
|
161
|
+
ev_v2l_discharge_limit: typing.Union[int, None] = None
|
161
162
|
|
162
163
|
# energy consumed and regenerated since the vehicle was paired with the account
|
163
164
|
# (so not necessarily for the vehicle's lifetime)
|
{hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: hyundai_kia_connect_api
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.15.1
|
4
4
|
Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
|
5
5
|
Home-page: https://github.com/fuatakgun/hyundai_kia_connect_api
|
6
6
|
Author: Fuat Akgun
|
{hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/RECORD
RENAMED
@@ -4,17 +4,17 @@ hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=zDSnfUtdExnb1e-x6-qQgqd5nlDaWIHqQ
|
|
4
4
|
hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=V6AJWo5WmQr4FIxcTBF0ajt9YPGqjkux0P4GALRsGMc,48363
|
5
5
|
hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=7bcDLcJ3JLLoWldPy514eKhWUAo1Gb1mu_3SaXno4v8,30358
|
6
6
|
hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=MjXdDdm1wDVvFZhgg8AjAF6X2SB-AIFMTE5iRmr80QM,47384
|
7
|
-
hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=
|
7
|
+
hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=GqJhJWJ8vD07OG6dIOj5nammzr7822TNcW031A6AQUw,68001
|
8
8
|
hyundai_kia_connect_api/Token.py,sha256=ZsPvXh1ID7FUTGHAqhZUZyrKT7xVbOtIn6FRJn4Ygf0,370
|
9
|
-
hyundai_kia_connect_api/Vehicle.py,sha256=
|
9
|
+
hyundai_kia_connect_api/Vehicle.py,sha256=jx8m3z9QRg9BvLLMT8wL0yD6jCnsA_w1nYE19Pm0bUo,13644
|
10
10
|
hyundai_kia_connect_api/VehicleManager.py,sha256=JdJ8tUCVGciVC1SJubmMQqEZ7KXp6DlI_UiOQPkDeN4,9654
|
11
11
|
hyundai_kia_connect_api/__init__.py,sha256=6UwXW6Lj5VnRtWNOt_0dLFdOYlcbysHCc6ol_XAC5YM,479
|
12
12
|
hyundai_kia_connect_api/const.py,sha256=C25jgV79u7SZF5xDy96gol_CekIkyI4h3goTyDEmng0,1967
|
13
13
|
hyundai_kia_connect_api/exceptions.py,sha256=m7gyDnvA5OVAK4EXSP_ZwE0s0uV8HsGUV0tiYwqofK0,1343
|
14
14
|
hyundai_kia_connect_api/utils.py,sha256=rfhERPXkzqelsaieLtiAyN9xDDTheNyKX5aBPRLrHf4,1117
|
15
|
-
hyundai_kia_connect_api-3.
|
16
|
-
hyundai_kia_connect_api-3.
|
17
|
-
hyundai_kia_connect_api-3.
|
18
|
-
hyundai_kia_connect_api-3.
|
19
|
-
hyundai_kia_connect_api-3.
|
20
|
-
hyundai_kia_connect_api-3.
|
15
|
+
hyundai_kia_connect_api-3.15.1.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
|
16
|
+
hyundai_kia_connect_api-3.15.1.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
|
17
|
+
hyundai_kia_connect_api-3.15.1.dist-info/METADATA,sha256=3MwcoBstrA3qyeD5x0x5GfZGespY0K9-Bu0QAWixbuU,5770
|
18
|
+
hyundai_kia_connect_api-3.15.1.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
|
19
|
+
hyundai_kia_connect_api-3.15.1.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
|
20
|
+
hyundai_kia_connect_api-3.15.1.dist-info/RECORD,,
|
{hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/AUTHORS.rst
RENAMED
File without changes
|
{hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/LICENSE
RENAMED
File without changes
|
File without changes
|
{hyundai_kia_connect_api-3.14.3.dist-info → hyundai_kia_connect_api-3.15.1.dist-info}/top_level.txt
RENAMED
File without changes
|