Giter Site home page Giter Site logo

Comments (23)

fuatakgun avatar fuatakgun commented on July 20, 2024 2

thanks for feedback, recently, i had similar issue. I had assumed that force update (similar refresh button in UVO app) should get the latest location, so I did not bother to use locate functionality, apparently I was wrong :), there are some cases which we should fetch the location from locate button rather than force update

I will include location update functionality soon.

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024 1

I know that with the pimatic plugin the localization works with every refresh. Maybe you can find a hint in this code.

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024 1

After the patch, its seems to work well. 👍

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

Any progress on this?

I've created an voice alarm for warning me when my car should be charging is not, and it keeps firing while I'm driving because the location is not updated along with the rest of the sensors.

from kia_uvo.

fuatakgun avatar fuatakgun commented on July 20, 2024

No not yet, i will try to spend some time on this.

from kia_uvo.

cdnninja avatar cdnninja commented on July 20, 2024

I have done the initial call work in #277. I will need someone to put this code in and run it. Please ensure debug mode is enabled and provide the location results with removing the specifics. I am not sure if the results will contain location or just now allow us to grab a correct location.

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

Thanks a bunch!

I've replaced KiaUvoApiEU.py in my custom_components/kia_uvo folder and rebooted HA, that should be sufficient, right?

Will test it once I move my car.

from kia_uvo.

cdnninja avatar cdnninja commented on July 20, 2024

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024

I like to test as well, but when I replace the original KiaUvoApiEU.py with the that one of commit e520ce1 or 60242f0 the integration does not work anymore. Seems something is missing or I did s.th. wrong...

@Lerbaek : Do you have the same?

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

I did, but figured it was due to the branch not being up to date with master.

The trick is to just manually add the diff to your local file instead of replacing the entire thing.

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

Sorry, @cdnninja, I forgot to enable debug logging. At first glance, it looks very promising, though; I had no issues with my automation telling me to charge while away from home, and looking at the entity timelines, it seems that the timestamps for changes to the odometer and the location go hand in hand.

I've now enabled debug logging and will report back once my car has yet again been out in the world.

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024

The trick is to just manually add the diff to your local file instead of replacing the entire thing.

Okay, did this in this moment. Today I have to go by car anyway, so I can test it and report then.

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

While my impression still is that this works, it looks like the log says differently.

Looks like there's an issue with an application ID?

2022-02-27 09:59:59 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 76123.67300009727', 'msgId': 'c2cdca1d-ad6e-46f5-b572-cb7680198a5e'}
2022-02-27 09:59:59 WARNING (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed

Here's the day so far (the car has been away from home from ~10:30 to ~13:30).

2022-02-27 00:29:40 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 190 998 190.26007280000002
2022-02-27 00:29:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 00:59:40 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 205 998 205.26007690833333
2022-02-27 00:59:44 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 01:29:40 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 220 998 220.26008945833334
2022-02-27 01:29:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 01:59:40 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 235 998 235.26011133333336
2022-02-27 01:59:45 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 02:29:40 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 250 998 250.26012865833331
2022-02-27 02:29:44 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 02:59:40 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 265 998 265.2602349416667
2022-02-27 02:59:44 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 03:29:40 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 280 998 280.2602872
2022-02-27 03:29:43 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 03:59:40 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 295 998 295.260240425
2022-02-27 03:59:44 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 04:29:40 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 310 998 310.2602503166667
2022-02-27 04:29:44 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 04:59:40 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 325 998 325.26025151666664
2022-02-27 04:59:43 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 05:29:40 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 340 998 340.26026003333334
2022-02-27 05:29:44 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 05:59:40 DEBUG (SyncWorker_7) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 355 998 355.26026214166666
2022-02-27 05:59:44 DEBUG (SyncWorker_7) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 06:29:40 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 370 998 370.26028214166666
2022-02-27 06:29:44 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220226211931'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 06:29:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 370 998 370.293398375
2022-02-27 06:29:57 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRange': {'value': 616, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'offP...
2022-02-27 06:29:57 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 63521.326999902725', 'msgId': 'a7f5da25-9336-4424-a58d-b1376ac42faf'}
2022-02-27 06:29:57 WARNING (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 06:29:57 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 370 998 370.4002497
2022-02-27 06:29:59 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227062955'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 06:59:40 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 385 998 385.260285425
2022-02-27 06:59:44 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227062955'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 07:29:40 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 400 998 400.26028929166665
2022-02-27 07:29:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227062955'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 07:59:40 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 415 998 415.2604395083333
2022-02-27 07:59:44 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227062955'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 572, 'unit': 1}, 'evModeRange': {'value': 44, 'unit': 1}, 'totalAvailableRa...
2022-02-27 07:59:44 DEBUG (SyncWorker_7) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 415 998 415.294177525
2022-02-27 07:59:50 DEBUG (SyncWorker_7) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 93, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 25, 'unit': 1}, 'etc3': {'value': 15, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 563, 'unit': 1}, 'evModeRange': {'value': 53, 'unit': 1}, 'totalAvailableRange': {'value': 616, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'off...
2022-02-27 07:59:50 DEBUG (SyncWorker_7) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 68914.27800011635', 'msgId': '2755fbaa-033e-4266-bf64-825d5899a8dd'}
2022-02-27 07:59:50 WARNING (SyncWorker_7) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 07:59:50 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 415 998 415.3430965583333
2022-02-27 07:59:52 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 8, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227075948'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 93, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 25, 'unit': 1}, 'etc3': {'value': 15, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 563, 'unit': 1}, 'evModeRange': {'value': 53, 'unit': 1}, 'totalAvailableR...
2022-02-27 08:29:40 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 430 998 430.26036516666665
2022-02-27 08:29:44 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 211, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227080041'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 0, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 563, 'unit': 1}, 'evModeRange': {'value': 53, 'unit': 1}, 'totalAvailableR...
2022-02-27 08:29:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 430 998 430.290048875
2022-02-27 08:29:50 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 87, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 40, 'unit': 1}, 'etc3': {'value': 25, 'unit': 1}, 'atc': {'value': 75, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'of...
2022-02-27 08:29:50 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 70714.5039999485', 'msgId': '61ca6047-ef1f-4475-b008-256d67e7beba'}
2022-02-27 08:29:50 WARNING (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 08:29:50 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 430 998 430.3444512583333
2022-02-27 08:29:52 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 211, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227082949'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 87, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 40, 'unit': 1}, 'etc3': {'value': 25, 'unit': 1}, 'atc': {'value': 75, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvaila...
2022-02-27 08:34:52 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 432 998 432.863495225
2022-02-27 08:34:58 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 88, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 40, 'unit': 1}, 'etc3': {'value': 25, 'unit': 1}, 'atc': {'value': 70, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'of...
2022-02-27 08:34:59 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 71023.01699995995', 'msgId': 'fbc39a6a-c1ca-4bd8-9618-7463fdd52e13'}
2022-02-27 08:34:59 WARNING (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 08:34:59 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 432 998 432.9143907166667
2022-02-27 08:35:01 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 211, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227083457'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 88, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 40, 'unit': 1}, 'etc3': {'value': 25, 'unit': 1}, 'atc': {'value': 70, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvaila...
2022-02-27 08:35:21 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 433 998 433.0994801333334
2022-02-27 08:35:21 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Lock Action Request {'action': 'close', 'deviceId': '2331f498-73ac-4788-bedf-10ea3aebb0d7'}
2022-02-27 08:35:21 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Lock Action Response {'retCode': 'S', 'resCode': '0000', 'msgId': '833ec653-593d-48e7-97e6-db75205adb03'}
2022-02-27 08:35:31 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 433 998 433.18500660833337
2022-02-27 08:35:36 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 88, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 40, 'unit': 1}, 'etc3': {'value': 25, 'unit': 1}, 'atc': {'value': 70, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'off...
2022-02-27 08:35:36 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 71060.617000103', 'msgId': '1492f973-ded4-48af-adc9-a343ae421f6b'}
2022-02-27 08:35:36 WARNING (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 08:35:36 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 433 998 433.22776654999996
2022-02-27 08:35:38 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 211, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227083535'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 88, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 40, 'unit': 1}, 'etc3': {'value': 25, 'unit': 1}, 'atc': {'value': 70, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailab...
2022-02-27 08:59:40 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 445 998 445.26042458333336
2022-02-27 08:59:44 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 9, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227084816'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 90, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 35, 'unit': 1}, 'etc3': {'value': 20, 'unit': 1}, 'atc': {'value': 60, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableR...
2022-02-27 09:29:40 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 460 998 460.2605005083334
2022-02-27 09:29:46 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 2, 'type': 0}, 'head': 9, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227084816'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': True, 'batteryStatus': 90, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 35, 'unit': 1}, 'etc3': {'value': 20, 'unit': 1}, 'atc': {'value': 60, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableR...
2022-02-27 09:59:40 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 475 998 475.26051045
2022-02-27 09:59:44 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 3, 'type': 0}, 'head': 9, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227095118'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 0, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRang...
2022-02-27 09:59:44 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 475 998 475.29458329166664
2022-02-27 09:59:59 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'offP...
2022-02-27 09:59:59 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 76123.67300009727', 'msgId': 'c2cdca1d-ad6e-46f5-b572-cb7680198a5e'}
2022-02-27 09:59:59 WARNING (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 09:59:59 DEBUG (SyncWorker_8) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 475 998 475.4198719916667
2022-02-27 10:00:01 DEBUG (SyncWorker_8) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 3, 'type': 0}, 'head': 9, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227095957'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRa...
2022-02-27 10:29:40 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 490 998 490.2605060083333
2022-02-27 10:29:44 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 3, 'type': 0}, 'head': 9, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227095957'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRa...
2022-02-27 10:59:40 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 505 998 505.26049853333336
2022-02-27 10:59:45 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227103656'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 0, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRa...
2022-02-27 10:59:45 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 505 998 505.3003907083334
2022-02-27 11:00:00 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'off...
2022-02-27 11:00:00 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 79724.46300005913', 'msgId': '8eeaa7bb-e022-4db1-a527-cf282acf94bb'}
2022-02-27 11:00:00 WARNING (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 11:00:00 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 505 998 505.42653142500006
2022-02-27 11:00:02 DEBUG (SyncWorker_2) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227105958'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailable...
2022-02-27 11:05:02 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 507 998 507.9465099583333
2022-02-27 11:05:16 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'off...
2022-02-27 11:05:17 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 80040.98200011253', 'msgId': 'befcbd68-191f-4a5b-a049-3c2a0dd7afb7'}
2022-02-27 11:05:17 WARNING (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 11:05:17 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 508 998 508.0641255666667
2022-02-27 11:05:19 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227110515'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': False, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailable...
2022-02-27 11:05:32 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 508 998 508.1969461
2022-02-27 11:05:32 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Lock Action Request {'action': 'close', 'deviceId': '2331f498-73ac-4788-bedf-10ea3aebb0d7'}
2022-02-27 11:05:33 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Lock Action Response {'retCode': 'S', 'resCode': '0000', 'msgId': '0a00153a-88d3-4226-9148-3ebecb3c1ff8'}
2022-02-27 11:05:43 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 508 998 508.2827842666667
2022-02-27 11:05:47 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'off...
2022-02-27 11:05:47 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 80071.83500003815', 'msgId': 'bf6fd101-5f7e-48b6-b87e-9d933266b462'}
2022-02-27 11:05:47 WARNING (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 11:05:47 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 508 998 508.3213857666667
2022-02-27 11:05:50 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227110546'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailable...
2022-02-27 11:29:40 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 520 998 520.2605181
2022-02-27 11:29:44 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227110546'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailable...
2022-02-27 11:59:40 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 535 998 535.2605214
2022-02-27 11:59:43 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Device ID request {'ccsp-service-id': 'fdc85c00-0a2f-4c64-bcb4-2cfb1500730a', 'ccsp-application-id': 'e7bcd186-a5fd-410d-92cb-6876a42288bd', 'Stamp': 'pYO3pGysoEkvHaNnPQTzPv4/ucWoilrnWNnXGQB2ndCZym4ag/g0/Qtv2yc7tos=', 'Content-Type': 'application/json;charset=UTF-8', 'Host': 'prd.eu-ccapi.kia.com:8080', 'Connection': 'Keep-Alive', 'Accept-Encoding': 'gzip', 'User-Agent': 'okhttp/3.10.0'} {'pushRegId': 'fg5q0CtbU7c:APA91bGFq3-AWNe2q4iOnl0ZlzJCPF5GKo0B7g0M2-hdj3bBRlFN0rtr9bY0IS7a_aeM_i92yUxazW1Xu4EgJZDsoF9IrOix02Q9j_BeRcznyYRrQ9Ny3a3h_rBPsW2Zba-wRUrjbcHN', 'pushType': 'GCM', 'uuid': '436b4df6-4eb9-4e25-a704-c7e2cc5dbd67'}
2022-02-27 11:59:43 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Device ID response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'deviceId': '6a9565ce-640f-46c3-9d0f-a373248c2865'}, 'msgId': '2d6c591b-46d6-4b12-bc10-9229fb2be086'}
2022-02-27 11:59:43 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get cookies request https://prd.eu-ccapi.kia.com:8080/api/v1/user/oauth2/authorize?response_type=code&state=test&client_id=fdc85c00-0a2f-4c64-bcb4-2cfb1500730a&redirect_uri=https://prd.eu-ccapi.kia.com:8080/api/v1/user/oauth2/redirect&lang=en
2022-02-27 11:59:43 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get cookies response {'TS012b00dd': '01cbaa6f709f73b16466f14d690c8bf5405f61f381dc35fb0b32556a111f70aa7f52935ea97cc6a15a1ae234405ce42c54084e0466cdf050017f029b3955eede8ede710e40', 'account': 'MDI1ZDBhNjYtZjEyOS00MDFhLWIzM2YtZmY2NTQwYmYwMmVk.fe93ff253fadf975699572f4485ed4c79188a3f2'}
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Sign In Response {'redirectUrl': 'https://prd.eu-ccapi.kia.com:8080/api/v1/user/oauth2/redirect?code=P4BZN7MAPBSTKK7AIVG44A&state=test', 'popup': False, 'method': '', 'upgrade': False, 'integrated': False, 'deleteAccountLink': ''}
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Access Token Data {'Authorization': 'Basic ZmRjODVjMDAtMGEyZi00YzY0LWJjYjQtMmNmYjE1MDA3MzBhOnNlY3JldA==', 'ccsp-service-id': 'fdc85c00-0a2f-4c64-bcb4-2cfb1500730a', 'ccsp-application-id': 'e7bcd186-a5fd-410d-92cb-6876a42288bd', 'Stamp': 'pYO3pGysoEkvHaNnPQTzPv4/ucWoilrnWNnXGQB2ndCZym4ag/g0/Qtv2yc7tos=', 'Content-type': 'application/x-www-form-urlencoded', 'Host': 'prd.eu-ccapi.kia.com:8080', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'okhttp/3.10.0'}grant_type=authorization_code&redirect_uri=https%3A%2F%2Fprd.eu-ccapi.kia.com%3A8080%2Fapi%2Fv1%2Fuser%2Foauth2%2Fredirect&code=P4BZN7MAPBSTKK7AIVG44A
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Access Token Response {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiJlNjk2NmEzNC00NTQyLTQxYTItYTM1YS0xNzQ3ZGE1N2EzMDIiLCJzaWQiOiJmZGM4NWMwMC0wYTJmLTRjNjQtYmNiNC0yY2ZiMTUwMDczMGEiLCJleHAiOjE2NDYwNDU5ODQsImlhdCI6MTY0NTk1OTU4NCwiaXNzIjoidXZvIn0.W1mXIbL8wZC-9uPswQrEmONvz3TnUiJcKKpyW0igAv6XRlXowYqpA_-YogewGo9fxNex5L6EFkvdzno8gPd9d9lTBl_dtgHaYG-UL8DUTZc1khIjulCzuXXloMMYX6b0gYJWqWZx4QCtkXqyANSzTLMztmMoklsGib3HbU0fylCzjvxyLhs8Hp5tO3RrrhmAIm023ejMpEPZ5mteCYtwz3QWcnY_6xbd1RH9w1sHldoZphBPuxV2uZDBf75k3AxoErpZJqAUsPQgEB14b7CAYYHkKaNjwGFeB4mWdGtjcFh8jm3WFPqTwmiAt55yG8Pv7bp2vJxcXfvS5hN2L7SBxA', 'token_type': 'Bearer', 'refresh_token': 'VQNW-VKGUWG6SE-Y7DBWRA', 'expires_in': 86400}
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Access Token Value Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiJlNjk2NmEzNC00NTQyLTQxYTItYTM1YS0xNzQ3ZGE1N2EzMDIiLCJzaWQiOiJmZGM4NWMwMC0wYTJmLTRjNjQtYmNiNC0yY2ZiMTUwMDczMGEiLCJleHAiOjE2NDYwNDU5ODQsImlhdCI6MTY0NTk1OTU4NCwiaXNzIjoidXZvIn0.W1mXIbL8wZC-9uPswQrEmONvz3TnUiJcKKpyW0igAv6XRlXowYqpA_-YogewGo9fxNex5L6EFkvdzno8gPd9d9lTBl_dtgHaYG-UL8DUTZc1khIjulCzuXXloMMYX6b0gYJWqWZx4QCtkXqyANSzTLMztmMoklsGib3HbU0fylCzjvxyLhs8Hp5tO3RrrhmAIm023ejMpEPZ5mteCYtwz3QWcnY_6xbd1RH9w1sHldoZphBPuxV2uZDBf75k3AxoErpZJqAUsPQgEB14b7CAYYHkKaNjwGFeB4mWdGtjcFh8jm3WFPqTwmiAt55yG8Pv7bp2vJxcXfvS5hN2L7SBxA
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Refresh Token Data grant_type=refresh_token&redirect_uri=https%3A%2F%2Fwww.getpostman.com%2Foauth2%2Fcallback&refresh_token=VQNW-VKGUWG6SE-Y7DBWRA
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Refresh Token Response {'access_token': 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaWQiOiI1YmIyYzcyMDlhOTk0MzA0MTk0MzZlYzQiLCJ1aWQiOiJlNjk2NmEzNC00NTQyLTQxYTItYTM1YS0xNzQ3ZGE1N2EzMDIiLCJzaWQiOiJmZGM4NWMwMC0wYTJmLTRjNjQtYmNiNC0yY2ZiMTUwMDczMGEiLCJleHAiOjE2NDYwNDU5ODQsImlhdCI6MTY0NTk1OTU4NCwiaXNzIjoidXZvIn0.W1mXIbL8wZC-9uPswQrEmONvz3TnUiJcKKpyW0igAv6XRlXowYqpA_-YogewGo9fxNex5L6EFkvdzno8gPd9d9lTBl_dtgHaYG-UL8DUTZc1khIjulCzuXXloMMYX6b0gYJWqWZx4QCtkXqyANSzTLMztmMoklsGib3HbU0fylCzjvxyLhs8Hp5tO3RrrhmAIm023ejMpEPZ5mteCYtwz3QWcnY_6xbd1RH9w1sHldoZphBPuxV2uZDBf75k3AxoErpZJqAUsPQgEB14b7CAYYHkKaNjwGFeB4mWdGtjcFh8jm3WFPqTwmiAt55yG8Pv7bp2vJxcXfvS5hN2L7SBxA', 'token_type': 'Bearer', 'expires_in': 86400}
2022-02-27 11:59:44 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 535 998 535.2956540083334
2022-02-27 11:59:45 DEBUG (SyncWorker_1) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicles Response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicles': [{'vin': 'U5YH581AGML007512', 'vehicleId': '9757ecbc-b778-4b2b-9f36-23a8a1f76e41', 'vehicleName': 'CEED', 'type': 'PE', 'nickname': 'CEED', 'master': True, 'carShare': 0, 'regDate': '2021-04-30 14:50:43.945', 'detailInfo': {'inColor': 'WK', 'outColor': '1K', 'saleCarmdlCd': 'JM', 'bodyType': '2', 'saleCarmdlEnNm': 'CEED'}}]}, 'msgId': '6d7b021f-8dff-4a9b-80b4-f66ca8a6b75b'}
2022-02-27 11:59:45 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 535 998 535.29776375
2022-02-27 11:59:49 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227110546'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailable...
2022-02-27 12:29:40 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 550 998 550.2605650916666
2022-02-27 12:29:44 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227110546'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 20, 'unit': 1}, 'etc3': {'value': 10, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailable...
2022-02-27 12:29:44 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 550 998 550.2908095833334
2022-02-27 12:29:59 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRange': {'value': 607, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'offPe...
2022-02-27 12:29:59 DEBUG (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 1727.2829999923706', 'msgId': '0bb33f81-99a4-4f9f-a765-d3b7fc5eb2d0'}
2022-02-27 12:29:59 WARNING (SyncWorker_0) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed
2022-02-27 12:29:59 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 550 998 550.4171522
2022-02-27 12:30:01 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227122956'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRa...
2022-02-27 12:59:40 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 565 998 565.2606186583334
2022-02-27 12:59:45 DEBUG (SyncWorker_6) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227122956'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRa...
2022-02-27 13:29:40 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-02-26 17:09:09.322000+00:00 120000 580 998 580.2608056500001
2022-02-27 13:29:44 DEBUG (SyncWorker_4) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': xx.xxxxxx, 'alt': 0, 'type': 0}, 'head': 68, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 10, 'pdop': 10}, 'time': '20220227122956'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 94, 'batteryPlugin': 0, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 561, 'unit': 1}, 'evModeRange': {'value': 46, 'unit': 1}, 'totalAvailableRa...

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024

I can see exactly the same in my log
Many messages like this:
2022-02-27 11:30:04 DEBUG (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'F', 'resCode': '4017', 'resMsg': 'Invalid request value - Invalid Application Id. - 36435.551000118256', 'msgId': '331502ca-d3be-4d2d-8546-a5e49cea56d5'} 2022-02-27 11:30:04 WARNING (SyncWorker_5) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get vehicle location failed

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

After another 4 days, I still have the impression that things work as intended now, except for the logging.

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024

I cannot confirm that it works.

My expectation would be, that the location gets updated with every force scan.

Today I drove over 300km and the location wasn't updated over the whole trip. After I arrived, the position changed from my start location to my target location after a while, but no update during the trip.

from kia_uvo.

cdnninja avatar cdnninja commented on July 20, 2024

I don't think it is working based on the error above. Hard for me to correct since I am not in the EU. Ideally having someone familiar with python who can test. I will take a look though.

from kia_uvo.

cdnninja avatar cdnninja commented on July 20, 2024

Just to confirm before you used my file were you using the latest release? App id issues recently existed.

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

I sincerely appreciate you helping to resolve this issue!

While I still haven't experienced a mistriggered charging alarm since I added the snippets, I've found an example in my timeline of the location not being updated when it should have been, so I suppose I'll have to concur.

I updated the integration just before adding the snippets, and am still running on v1.5.0.

I'm a .NET developer by trade and have very limited experience with Python, but I'll try and see if I can spot the issue.

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

Think I got it working:

2022-03-05 07:09:26 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Received forced vehicle data {'retCode': 'S', 'resCode': '0000', 'resMsg': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 481, 'unit': 1}, 'evModeRange': {'value': 47, 'unit': 1}, 'totalAvailableRange': {'value': 528, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [6], 'time': {'time': '0800', 'timeSection': 0}}, 'reservChargeSet': False}}, 'offpeakPowerInfo': {'offPea...
2022-03-05 07:09:26 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-03-05 05:03:07.752000+00:00 120000 33 998 33.156165308333335
2022-03-05 07:09:29 DEBUG (SyncWorker_9) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - Get Vehicle Location {'retCode': 'S', 'resCode': '0000', 'resMsg': {'gpsDetail': {'coord': {'lat': xx.xxxxxx, 'lon': x.xxxxxx, 'alt': 0, 'type': 0}, 'head': 0, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20220305070927'}, 'drvDistance': {'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 1}, 'evModeRange': {'value': 0, 'unit': 1}, 'totalAvailableRange': {'value': 0, 'unit': 1}}, 'type': 2}}, 'msgId': '01caa8fa-e68a-4126-aee5-34cd1a0785b9'}
2022-03-05 07:09:29 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_stamp 2022-03-05 05:03:07.752000+00:00 120000 33 998 33.180433075
2022-03-05 07:09:31 DEBUG (SyncWorker_3) [custom_components.kia_uvo.KiaUvoApiEU] kia_uvo - get_cached_vehicle_status response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': xx.xxxxxx, 'lon': x.xxxxxx, 'alt': 0, 'type': 0}, 'head': 0, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20220305070927'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'lowFuelLight': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 100, 'batteryPlugin': 2, 'remainTime2': {'etc2': {'value': 0, 'unit': 1}, 'etc3': {'value': 0, 'unit': 1}, 'atc': {'value': 0, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 1}, 'evModeRange': {'value': 0, 'unit': 1}, 'totalAvailableRange': {...
2022-03-05 07:09:31 DEBUG (MainThread) [custom_components.kia_uvo.Vehicle] kia_uvo - LastUpdated 2022-03-05 07:09:26+01:00 - Timezone tzfile('/usr/share/zoneinfo/Europe/Berlin')
2022-03-05 07:09:31 DEBUG (MainThread) [custom_components.kia_uvo.Vehicle] kia_uvo - Engine type set VEHICLE_ENGINE_TYPE.PHEV

I just aligned the headers with the ones from update_vehicle_status, since I noticed that they have changed since the PR was created.

Not sure I understand the difference between token.access_token and token.refresh_token, both seem to work the same. I've kept it to access_token as it was in the PR.

Working method:

def update_location(self, token: Token):
    url = self.SPA_API_URL + "vehicles/" + token.vehicle_id + "/location"
    headers = {
        "Authorization": token.access_token,
        "Stamp": self.get_stamp(),
        "ccsp-service-id": self.CCSP_SERVICE_ID,
        "ccsp-application-id": self.APP_ID,
        "ccsp-device-id": token.device_id,
        "Host": self.BASE_URL,
        "Connection": "Keep-Alive",
        "Accept-Encoding": "gzip",
        "User-Agent": USER_AGENT_OK_HTTP,
    }
    try:
        response = requests.get(url, headers=headers)
        response = response.json()
        _LOGGER.debug(f"{DOMAIN} - Get Vehicle Location {response}")
        if response["resCode"] != "0000":
            raise Exception("No Location Located")

    except:
        _LOGGER.warning(f"{DOMAIN} - Get vehicle location failed")

from kia_uvo.

Lerbaek avatar Lerbaek commented on July 20, 2024

I'v added the changes as a suggestion for #277.

from kia_uvo.

0rTiN avatar 0rTiN commented on July 20, 2024

Sorry guys, I only now get back to help here. I have the change now also installed on my system and will test it in the next few days.

from kia_uvo.

cdnninja avatar cdnninja commented on July 20, 2024

Let me know if you run into issues. Closing this in the meantime.

from kia_uvo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.