question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Force updating, unintentionally

See original GitHub issue

Region and Brand of car EU Kia

Version of the integration .35

Describe the bug I don’t know if this is a bug or feature, but I don’t to wake to car up, just listen to the data being sent from the car to the cloud, to save battery. In the configuration settings I have set the Force Refresh Interval (min) to 999, No Force Refresh Start Hour to 0 and No Force Refresh Finish Hour to 23, still it sometimes is force updating.

Debug logs if an “error” occurred

2022-11-24 12:51:05.002 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-23 21:03:28.263000+00:00 120000 443 998 443.8061637083334
2022-11-24 12:51:19.741 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - 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': '02H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 42, 'batteryPlugin': 0, 'remainTime2': {'etc1': {'value': 31, 'unit': 1}, 'etc2': {'value': 740, 'unit': 1}, 'etc3': {'value': 170, 'unit': 1}, 'atc': {'value': 740, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'evModeRange': {'value': 172, 'unit': 1}, 'totalAvailableRange': {'value': 172, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [9], 'time': {'time': '1200', 'timeSection': 0}}, 'reservChargeSet': False, 'reservFatcSet': {'defrost': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'airCtrl': 0, 'heating1': 0}}}, 'offpeakPowerInfo': {'offPeakPowerTime1': {'starttime': {'time': '1200', 'timeSection': 0}, 'endtime': {'time': '1200', 'timeSection': 0}}, 'offPeakPowerFlag': 0}, 'reserveChargeInfo2': {'reservChargeInfoDetail': {'reservInfo': {'day': [9], 'time': {'time': '1200', 'timeSection': 0}}, 'reservChargeSet': False, 'reservFatcSet': {'defrost': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'airCtrl': 0, 'heating1': 0}}}, 'reservFlag': 0, 'ect': {'start': {'day': 0, 'time': {'time': '0000', 'timeSection': 0}}, 'end': {'day': 0, 'time': {'time': '0000', 'timeSection': 0}}}, 'targetSOClist': [{'targetSOClevel': 80, 'dte': {'rangeByFuel': {'evModeRange': {'value': 346, 'unit': 1}, 'totalAvailableRange': {'value': 346, 'unit': 1}}, 'type': 2}, 'plugType': 0}, {'targetSOClevel': 80, 'dte': {'rangeByFuel': {'evModeRange': {'value': 346, 'unit': 1}, 'totalAvailableRange': {'value': 346, 'unit': 1}}, 'type': 2}, 'plugType': 1}]}, 'chargePortDoorOpenStatus': 2, 'batteryPreconditioning': False}, 'ign3': False, 'hoodOpen': False, 'transCond': False, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 92, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'breakOilStatus': False, 'sleepModeCheck': False, 'time': '20221124125119', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '19:09:49'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'msgId': '2629b19e-4741-4e7d-a053-c83abc6c6fe3'}
2022-11-24 12:51:19.742 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-23 21:03:28.263000+00:00 120000 443 998 443.92899500833335
2022-11-24 12:51:22.231 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - _get_location response {'retCode': 'S', 'resCode': '0000', 'resMsg': {'gpsDetail': {'coord': {'lat': 59.260536, 'lon': 15.213003, 'alt': 0, 'type': 0}, 'head': 0, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20221124115120'}, 'drvDistance': {'rangeByFuel': {'evModeRange': {'value': 172, 'unit': 1}, 'totalAvailableRange': {'value': 172, 'unit': 1}}, 'type': 2}}, 'msgId': '9b3dcd37-092c-4930-8dea-7f7f4c0c0b2e'}
2022-11-24 12:51:22.232 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - SOC Levels couldn't be found. May not be an EV.
2022-11-24 12:51:22.232 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20221124115120
2022-11-24 12:51:22.232 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2022-11-24 11:51:20+01:00
2022-11-24 12:51:22.232 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2022-11-23 21:03:28.263000+00:00 120000 443 998 443.94974694166666
2022-11-24 12:51:22.592 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_cached_vehicle_status response {'vehicleLocation': {'coord': {'lat': 59.260536, 'lon': 15.213003, 'alt': 0, 'type': 0}, 'head': 0, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20221124125120'}, 'vehicleStatus': {'airCtrlOn': False, 'engine': False, 'doorLock': True, 'doorOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'trunkOpen': False, 'airTemp': {'value': '02H', 'unit': 0, 'hvacTempType': 1}, 'defrost': False, 'acc': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 42, 'batteryPlugin': 0, 'remainTime2': {'etc1': {'value': 31, 'unit': 1}, 'etc2': {'value': 740, 'unit': 1}, 'etc3': {'value': 170, 'unit': 1}, 'atc': {'value': 740, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'evModeRange': {'value': 172, 'unit': 1}, 'totalAvailableRange': {'value': 172, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [9], 'time': {'time': '1200', 'timeSection': 0}}, 'reservChargeSet': False, 'reservFatcSet': {'defrost': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'airCtrl': 0, 'heating1': 0}}}, 'offpeakPowerInfo': {'offPeakPowerTime1': {'starttime': {'time': '1200', 'timeSection': 0}, 'endtime': {'time': '1200', 'timeSection': 0}}, 'offPeakPowerFlag': 0}, 'reserveChargeInfo2': {'reservChargeInfoDetail': {'reservInfo': {'day': [9], 'time': {'time': '1200', 'timeSection': 0}}, 'reservChargeSet': False, 'reservFatcSet': {'defrost': False, 'airTemp': {'value': '00H', 'unit': 0, 'hvacTempType': 1}, 'airCtrl': 0, 'heating1': 0}}}, 'reservFlag': 0, 'ect': {'start': {'day': 0, 'time': {'time': '0000', 'timeSection': 0}}, 'end': {'day': 0, 'time': {'time': '0000', 'timeSection': 0}}}, 'targetSOClist': [{'targetSOClevel': 80, 'dte': {'rangeByFuel': {'evModeRange': {'value': 346, 'unit': 1}, 'totalAvailableRange': {'value': 346, 'unit': 1}}, 'type': 2}, 'plugType': 0}, {'targetSOClevel': 80, 'dte': {'rangeByFuel': {'evModeRange': {'value': 346, 'unit': 1}, 'totalAvailableRange': {'value': 346, 'unit': 1}}, 'type': 2}, 'plugType': 1}]}, 'chargePortDoorOpenStatus': 2, 'batteryPreconditioning': False}, 'ign3': False, 'hoodOpen': False, 'transCond': False, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 92, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 0}, 'powerAutoCutMode': 2}, 'lampWireStatus': {'stopLamp': {'stopLampStatus': False, 'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'turnSignalLampStatus': False, 'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'windowOpen': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'breakOilStatus': False, 'sleepModeCheck': False, 'time': '20221124125119', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '19:09:49'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'odometer': {'value': 3343.1, 'unit': 1}}
2022-11-24 12:51:22.592 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20221124125119
2022-11-24 12:51:22.593 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2022-11-24 12:51:19+01:00
2022-11-24 12:51:22.593 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20221124125120
2022-11-24 12:51:22.593 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2022-11-24 12:51:20+01:00
2022-11-24 12:51:22.595 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 17.594 seconds (success: True)

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
rindlerblablacommented, Nov 29, 2022

Haven’t noticed this behavior anymore. Think you can close this one.

1reaction
cdnninjacommented, Nov 28, 2022

Blackout is implemented again in v2.0.37. This should allow you to not force update.

As for the time, it isn’t from when the integration is started but rather what the cloud report last update time. So if the car checks in once in awhile it will never call force update.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I accidentally clicked update to windows 11
I want to update to windows 11 but I accidentally clicked stay on windows 10, how can I get the upgrade now? I...
Read more >
WHAT WILL HAPPEN IF YOU SHUT DOWN YOUR ...
Whether intentional or accidental, your PC shutting down or rebooting during updates can corrupt your Windows operating system and you could ...
Read more >
I accidentally shut down my laptop during an update. It is now ...
My Windows 10 was updating when I accidentally force shut down, now when I turn it on, I'm stuck in the updating screen...
Read more >
how do I stop softwareupdate process? - Apple Community
I am on limited bandwidth and accidentally started a software update, which was going to use over 4 gigs of data. I tried...
Read more >
Repository is not clean. Please commit or stash any changes ...
I have tried using mention command for upgrading from angular 8 to angular 9, but was still getting the error. Then i have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found