Closed rindlerblabla closed 1 year ago
So to confirm with debugging enabled nothing logs for the integration? Not looking errors but rather anything.
No, nothing at all when running the service.
If no logs for kia_uvo something is wrong with your debug config.
When force updating or when setting the charge limit manually I get a debug response, but when using the service I get no response at all.
Have you tried restarting and checked the logs a few minutes after you ran the service?
I also would encourage you to post logs regardless. I have it here often where people won't post logs thinking no relevant but it actually contains the clues I need.
So, for example, when triggering the climate service it responds:
2023-01-25 07:00:00.393 DEBUG (SyncWorker_5) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Start Climate Action Request: {'action': 'start', 'hvacType': 0, 'options': {'defrost': False, 'heating1': 1}, 'tempCode': '0EH', 'unit': 'C'}
But when triggering the charge limit service with an AC value of 100
nothing happens. When updating manually from the cloud five minutes later it still shows the earlier target value 90
.
2023-01-25 08:01:36.827 DEBUG (MainThread) [custom_components.kia_uvo.services] Call:{'device_id': '****'}
2023-01-25 08:01:36.832 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 59 998 59.314737550000004
2023-01-25 08:01:37.820 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': **, 'lon': **, 'alt': 0, 'type': 0}, 'head': 0, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20230125075632'}, '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': 87, 'batteryPlugin': 0, 'remainTime2': {'etc1': {'value': 32, 'unit': 1}, 'etc2': {'value': 60, 'unit': 1}, 'etc3': {'value': 30, 'unit': 1}, 'atc': {'value': 60, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'evModeRange': {'value': 368, 'unit': 1}, 'totalAvailableRange': {'value': 368, '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': 332, 'unit': 1}, 'totalAvailableRange': {'value': 332, 'unit': 1}}, 'type': 2}, 'plugType': 0}, {'targetSOClevel': 90, 'dte': {'rangeByFuel': {'evModeRange': {'value': 377, 'unit': 1}, 'totalAvailableRange': {'value': 377, 'unit': 1}}, 'type': 2}, 'plugType': 1}]}, 'chargePortDoorOpenStatus': 2, 'batteryPreconditioning': False}, 'ign3': True, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 88, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 65}, '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': '20230125075642', 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'odometer': {'value': 8229.1, 'unit': 1}}}, 'msgId': '9b1a21d2-a4e3-47c3-b14a-bb887f984b80'}
2023-01-25 08:01:37.820 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20230125075642
2023-01-25 08:01:37.820 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-01-25 07:56:42+01:00
2023-01-25 08:01:37.821 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20230125075632
2023-01-25 08:01:37.821 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-01-25 07:56:32+01:00
2023-01-25 08:01:37.821 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 59 998 59.322980316666666
2023-01-25 08:01:38.166 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_driving_info responseAlltime {'retCode': 'S', 'resCode': '0000', 'resMsg': {'drivingInfo': [{'drivingPeriod': 0, 'totalPwrCsp': 1157991, 'motorPwrCsp': 875351, 'climatePwrCsp': 224149, 'eDPwrCsp': 57120, 'batteryMgPwrCsp': 1311, 'regenPwr': 169633, 'calculativeOdo': 5789}, {'drivingPeriod': 1, 'totalPwrCsp': 14296, 'motorPwrCsp': 10806, 'climatePwrCsp': 2767, 'eDPwrCsp': 705, 'batteryMgPwrCsp': 16, 'regenPwr': 2094, 'calculativeOdo': 71.46913580246914}], 'drivingInfoDetail': [{'drivingPeriod': 1, 'drivingDate': '202301', 'totalPwrCsp': 428016, 'motorPwrCsp': 327981, 'climatePwrCsp': 79705, 'eDPwrCsp': 19880, 'batteryMgPwrCsp': 450, 'regenPwr': 65007, 'calculativeOdo': 2122}, {'drivingPeriod': 1, 'drivingDate': '202212', 'totalPwrCsp': 477973, 'motorPwrCsp': 354679, 'climatePwrCsp': 100153, 'eDPwrCsp': 22710, 'batteryMgPwrCsp': 401, 'regenPwr': 63776, 'calculativeOdo': 2375}, {'drivingPeriod': 1, 'drivingDate': '202211', 'totalPwrCsp': 225101, 'motorPwrCsp': 171007, 'climatePwrCsp': 40694, 'eDPwrCsp': 12960, 'batteryMgPwrCsp': 410, 'regenPwr': 35007, 'calculativeOdo': 1129}, {'drivingPeriod': 1, 'drivingDate': '202210', 'totalPwrCsp': 26901, 'motorPwrCsp': 21684, 'climatePwrCsp': 3597, 'eDPwrCsp': 1570, 'batteryMgPwrCsp': 50, 'regenPwr': 5843, 'calculativeOdo': 163}]}, 'msgId': '85174868-0ecb-41bf-a355-823977d47eb4'}
2023-01-25 08:01:38.167 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 59 998 59.32586253333333
2023-01-25 08:01:38.529 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_driving_info response30d {'retCode': 'S', 'resCode': '0000', 'resMsg': {'drivingInfo': [{'drivingPeriod': 0, 'totalPwrCsp': 465460, 'motorPwrCsp': 358158, 'climatePwrCsp': 85182, 'eDPwrCsp': 21640, 'batteryMgPwrCsp': 450, 'regenPwr': 69000, 'calculativeOdo': 2320}, {'drivingPeriod': 1, 'totalPwrCsp': 17902, 'motorPwrCsp': 13775, 'climatePwrCsp': 3276, 'eDPwrCsp': 832, 'batteryMgPwrCsp': 17, 'regenPwr': 2653, 'calculativeOdo': 89.23076923076923}, {'drivingPeriod': 2, 'totalPwrCsp': 18526, 'motorPwrCsp': 16098, 'climatePwrCsp': 1728, 'eDPwrCsp': 700, 'batteryMgPwrCsp': 0, 'regenPwr': 2583, 'calculativeOdo': 93}], 'drivingInfoDetail': [{'drivingPeriod': 0, 'drivingDate': '20230125', 'totalPwrCsp': 10249, 'motorPwrCsp': 9079, 'climatePwrCsp': 870, 'eDPwrCsp': 300, 'batteryMgPwrCsp': 0, 'regenPwr': 834, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20230124', 'totalPwrCsp': 17674, 'motorPwrCsp': 14805, 'climatePwrCsp': 2069, 'eDPwrCsp': 750, 'batteryMgPwrCsp': 50, 'regenPwr': 3208, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230123', 'totalPwrCsp': 20169, 'motorPwrCsp': 15958, 'climatePwrCsp': 3621, 'eDPwrCsp': 590, 'batteryMgPwrCsp': 0, 'regenPwr': 1786, 'calculativeOdo': 96}, {'drivingPeriod': 0, 'drivingDate': '20230122', 'totalPwrCsp': 18869, 'motorPwrCsp': 11075, 'climatePwrCsp': 6604, 'eDPwrCsp': 1190, 'batteryMgPwrCsp': 0, 'regenPwr': 3344, 'calculativeOdo': 84}, {'drivingPeriod': 0, 'drivingDate': '20230120', 'totalPwrCsp': 19680, 'motorPwrCsp': 16369, 'climatePwrCsp': 2471, 'eDPwrCsp': 840, 'batteryMgPwrCsp': 0, 'regenPwr': 1721, 'calculativeOdo': 97}, {'drivingPeriod': 0, 'drivingDate': '20230119', 'totalPwrCsp': 9048, 'motorPwrCsp': 6470, 'climatePwrCsp': 1808, 'eDPwrCsp': 770, 'batteryMgPwrCsp': 0, 'regenPwr': 2116, 'calculativeOdo': 49}, {'drivingPeriod': 0, 'drivingDate': '20230118', 'totalPwrCsp': 19251, 'motorPwrCsp': 14799, 'climatePwrCsp': 3852, 'eDPwrCsp': 580, 'batteryMgPwrCsp': 20, 'regenPwr': 1565, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230117', 'totalPwrCsp': 18610, 'motorPwrCsp': 14816, 'climatePwrCsp': 2994, 'eDPwrCsp': 720, 'batteryMgPwrCsp': 80, 'regenPwr': 1884, 'calculativeOdo': 94}, {'drivingPeriod': 0, 'drivingDate': '20230116', 'totalPwrCsp': 29077, 'motorPwrCsp': 22479, 'climatePwrCsp': 4948, 'eDPwrCsp': 1650, 'batteryMgPwrCsp': 0, 'regenPwr': 6066, 'calculativeOdo': 153}, {'drivingPeriod': 0, 'drivingDate': '20230114', 'totalPwrCsp': 3098, 'motorPwrCsp': 2149, 'climatePwrCsp': 669, 'eDPwrCsp': 280, 'batteryMgPwrCsp': 0, 'regenPwr': 1157, 'calculativeOdo': 15}, {'drivingPeriod': 0, 'drivingDate': '20230113', 'totalPwrCsp': 19982, 'motorPwrCsp': 16572, 'climatePwrCsp': 2670, 'eDPwrCsp': 640, 'batteryMgPwrCsp': 100, 'regenPwr': 1691, 'calculativeOdo': 96}, {'drivingPeriod': 0, 'drivingDate': '20230112', 'totalPwrCsp': 17530, 'motorPwrCsp': 15447, 'climatePwrCsp': 1543, 'eDPwrCsp': 540, 'batteryMgPwrCsp': 0, 'regenPwr': 1987, 'calculativeOdo': 94}, {'drivingPeriod': 0, 'drivingDate': '20230111', 'totalPwrCsp': 18865, 'motorPwrCsp': 16007, 'climatePwrCsp': 2178, 'eDPwrCsp': 680, 'batteryMgPwrCsp': 0, 'regenPwr': 1725, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230110', 'totalPwrCsp': 19108, 'motorPwrCsp': 15214, 'climatePwrCsp': 3164, 'eDPwrCsp': 660, 'batteryMgPwrCsp': 70, 'regenPwr': 1531, 'calculativeOdo': 93}, {'drivingPeriod': 0, 'drivingDate': '20230109', 'totalPwrCsp': 18064, 'motorPwrCsp': 15488, 'climatePwrCsp': 1986, 'eDPwrCsp': 590, 'batteryMgPwrCsp': 0, 'regenPwr': 1868, 'calculativeOdo': 93}, {'drivingPeriod': 0, 'drivingDate': '20230108', 'totalPwrCsp': 45218, 'motorPwrCsp': 36848, 'climatePwrCsp': 5840, 'eDPwrCsp': 2530, 'batteryMgPwrCsp': 0, 'regenPwr': 9234, 'calculativeOdo': 301}, {'drivingPeriod': 0, 'drivingDate': '20230107', 'totalPwrCsp': 9987, 'motorPwrCsp': 5432, 'climatePwrCsp': 3705, 'eDPwrCsp': 850, 'batteryMgPwrCsp': 0, 'regenPwr': 2338, 'calculativeOdo': 30}, {'drivingPeriod': 0, 'drivingDate': '20230106', 'totalPwrCsp': 7577, 'motorPwrCsp': 3901, 'climatePwrCsp': 3076, 'eDPwrCsp': 540, 'batteryMgPwrCsp': 60, 'regenPwr': 1319, 'calculativeOdo': 24}, {'drivingPeriod': 0, 'drivingDate': '20230105', 'totalPwrCsp': 12961, 'motorPwrCsp': 8359, 'climatePwrCsp': 3832, 'eDPwrCsp': 770, 'batteryMgPwrCsp': 0, 'regenPwr': 2886, 'calculativeOdo': 56}, {'drivingPeriod': 0, 'drivingDate': '20230104', 'totalPwrCsp': 23196, 'motorPwrCsp': 12673, 'climatePwrCsp': 8823, 'eDPwrCsp': 1630, 'batteryMgPwrCsp': 70, 'regenPwr': 5269, 'calculativeOdo': 87}, {'drivingPeriod': 0, 'drivingDate': '20230103', 'totalPwrCsp': 7222, 'motorPwrCsp': 4050, 'climatePwrCsp': 2702, 'eDPwrCsp': 470, 'batteryMgPwrCsp': 0, 'regenPwr': 1770, 'calculativeOdo': 26}, {'drivingPeriod': 0, 'drivingDate': '20230102', 'totalPwrCsp': 62581, 'motorPwrCsp': 49991, 'climatePwrCsp': 10280, 'eDPwrCsp': 2310, 'batteryMgPwrCsp': 0, 'regenPwr': 9708, 'calculativeOdo': 302}, {'drivingPeriod': 0, 'drivingDate': '20221230', 'totalPwrCsp': 8545, 'motorPwrCsp': 6964, 'climatePwrCsp': 1271, 'eDPwrCsp': 310, 'batteryMgPwrCsp': 0, 'regenPwr': 870, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20221229', 'totalPwrCsp': 8699, 'motorPwrCsp': 7695, 'climatePwrCsp': 714, 'eDPwrCsp': 290, 'batteryMgPwrCsp': 0, 'regenPwr': 749, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20221228', 'totalPwrCsp': 13241, 'motorPwrCsp': 9645, 'climatePwrCsp': 2716, 'eDPwrCsp': 850, 'batteryMgPwrCsp': 0, 'regenPwr': 1485, 'calculativeOdo': 57}, {'drivingPeriod': 0, 'drivingDate': '20221227', 'totalPwrCsp': 18310, 'motorPwrCsp': 14327, 'climatePwrCsp': 3423, 'eDPwrCsp': 500, 'batteryMgPwrCsp': 60, 'regenPwr': 1317, 'calculativeOdo': 94}]}, 'msgId': 'b798e2ca-83b8-4e75-a24b-9fac553aed38'}
2023-01-25 08:01:38.540 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 59 998 59.32896916666667
2023-01-25 08:01:38.899 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': **, 'lon': **, 'alt': 0, 'type': 0}, 'head': 0, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20230125075632'}, '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': 87, 'batteryPlugin': 0, 'remainTime2': {'etc1': {'value': 32, 'unit': 1}, 'etc2': {'value': 60, 'unit': 1}, 'etc3': {'value': 30, 'unit': 1}, 'atc': {'value': 60, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'evModeRange': {'value': 368, 'unit': 1}, 'totalAvailableRange': {'value': 368, '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': 332, 'unit': 1}, 'totalAvailableRange': {'value': 332, 'unit': 1}}, 'type': 2}, 'plugType': 0}, {'targetSOClevel': 90, 'dte': {'rangeByFuel': {'evModeRange': {'value': 377, 'unit': 1}, 'totalAvailableRange': {'value': 377, 'unit': 1}}, 'type': 2}, 'plugType': 1}]}, 'chargePortDoorOpenStatus': 2, 'batteryPreconditioning': False}, 'ign3': True, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 88, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 65}, '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': '20230125075642', 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'odometer': {'value': 8229.1, 'unit': 1}}}, 'msgId': 'c516ea0b-0e39-463c-a938-55a855676c44'}
2023-01-25 08:01:38.899 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20230125075642
2023-01-25 08:01:38.900 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-01-25 07:56:42+01:00
2023-01-25 08:01:38.900 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20230125075632
2023-01-25 08:01:38.901 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-01-25 07:56:32+01:00
2023-01-25 08:01:38.901 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 59 998 59.331977025
2023-01-25 08:01:39.240 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_driving_info responseAlltime {'retCode': 'S', 'resCode': '0000', 'resMsg': {'drivingInfo': [{'drivingPeriod': 0, 'totalPwrCsp': 1157991, 'motorPwrCsp': 875351, 'climatePwrCsp': 224149, 'eDPwrCsp': 57120, 'batteryMgPwrCsp': 1311, 'regenPwr': 169633, 'calculativeOdo': 5789}, {'drivingPeriod': 1, 'totalPwrCsp': 14296, 'motorPwrCsp': 10806, 'climatePwrCsp': 2767, 'eDPwrCsp': 705, 'batteryMgPwrCsp': 16, 'regenPwr': 2094, 'calculativeOdo': 71.46913580246914}], 'drivingInfoDetail': [{'drivingPeriod': 1, 'drivingDate': '202301', 'totalPwrCsp': 428016, 'motorPwrCsp': 327981, 'climatePwrCsp': 79705, 'eDPwrCsp': 19880, 'batteryMgPwrCsp': 450, 'regenPwr': 65007, 'calculativeOdo': 2122}, {'drivingPeriod': 1, 'drivingDate': '202212', 'totalPwrCsp': 477973, 'motorPwrCsp': 354679, 'climatePwrCsp': 100153, 'eDPwrCsp': 22710, 'batteryMgPwrCsp': 401, 'regenPwr': 63776, 'calculativeOdo': 2375}, {'drivingPeriod': 1, 'drivingDate': '202211', 'totalPwrCsp': 225101, 'motorPwrCsp': 171007, 'climatePwrCsp': 40694, 'eDPwrCsp': 12960, 'batteryMgPwrCsp': 410, 'regenPwr': 35007, 'calculativeOdo': 1129}, {'drivingPeriod': 1, 'drivingDate': '202210', 'totalPwrCsp': 26901, 'motorPwrCsp': 21684, 'climatePwrCsp': 3597, 'eDPwrCsp': 1570, 'batteryMgPwrCsp': 50, 'regenPwr': 5843, 'calculativeOdo': 163}]}, 'msgId': '49b9307d-59a9-431f-bce1-ab1d4905efcb'}
2023-01-25 08:01:39.241 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 59 998 59.334808675000005
2023-01-25 08:01:39.599 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_driving_info response30d {'retCode': 'S', 'resCode': '0000', 'resMsg': {'drivingInfo': [{'drivingPeriod': 0, 'totalPwrCsp': 465460, 'motorPwrCsp': 358158, 'climatePwrCsp': 85182, 'eDPwrCsp': 21640, 'batteryMgPwrCsp': 450, 'regenPwr': 69000, 'calculativeOdo': 2320}, {'drivingPeriod': 1, 'totalPwrCsp': 17902, 'motorPwrCsp': 13775, 'climatePwrCsp': 3276, 'eDPwrCsp': 832, 'batteryMgPwrCsp': 17, 'regenPwr': 2653, 'calculativeOdo': 89.23076923076923}, {'drivingPeriod': 2, 'totalPwrCsp': 18526, 'motorPwrCsp': 16098, 'climatePwrCsp': 1728, 'eDPwrCsp': 700, 'batteryMgPwrCsp': 0, 'regenPwr': 2583, 'calculativeOdo': 93}], 'drivingInfoDetail': [{'drivingPeriod': 0, 'drivingDate': '20230125', 'totalPwrCsp': 10249, 'motorPwrCsp': 9079, 'climatePwrCsp': 870, 'eDPwrCsp': 300, 'batteryMgPwrCsp': 0, 'regenPwr': 834, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20230124', 'totalPwrCsp': 17674, 'motorPwrCsp': 14805, 'climatePwrCsp': 2069, 'eDPwrCsp': 750, 'batteryMgPwrCsp': 50, 'regenPwr': 3208, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230123', 'totalPwrCsp': 20169, 'motorPwrCsp': 15958, 'climatePwrCsp': 3621, 'eDPwrCsp': 590, 'batteryMgPwrCsp': 0, 'regenPwr': 1786, 'calculativeOdo': 96}, {'drivingPeriod': 0, 'drivingDate': '20230122', 'totalPwrCsp': 18869, 'motorPwrCsp': 11075, 'climatePwrCsp': 6604, 'eDPwrCsp': 1190, 'batteryMgPwrCsp': 0, 'regenPwr': 3344, 'calculativeOdo': 84}, {'drivingPeriod': 0, 'drivingDate': '20230120', 'totalPwrCsp': 19680, 'motorPwrCsp': 16369, 'climatePwrCsp': 2471, 'eDPwrCsp': 840, 'batteryMgPwrCsp': 0, 'regenPwr': 1721, 'calculativeOdo': 97}, {'drivingPeriod': 0, 'drivingDate': '20230119', 'totalPwrCsp': 9048, 'motorPwrCsp': 6470, 'climatePwrCsp': 1808, 'eDPwrCsp': 770, 'batteryMgPwrCsp': 0, 'regenPwr': 2116, 'calculativeOdo': 49}, {'drivingPeriod': 0, 'drivingDate': '20230118', 'totalPwrCsp': 19251, 'motorPwrCsp': 14799, 'climatePwrCsp': 3852, 'eDPwrCsp': 580, 'batteryMgPwrCsp': 20, 'regenPwr': 1565, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230117', 'totalPwrCsp': 18610, 'motorPwrCsp': 14816, 'climatePwrCsp': 2994, 'eDPwrCsp': 720, 'batteryMgPwrCsp': 80, 'regenPwr': 1884, 'calculativeOdo': 94}, {'drivingPeriod': 0, 'drivingDate': '20230116', 'totalPwrCsp': 29077, 'motorPwrCsp': 22479, 'climatePwrCsp': 4948, 'eDPwrCsp': 1650, 'batteryMgPwrCsp': 0, 'regenPwr': 6066, 'calculativeOdo': 153}, {'drivingPeriod': 0, 'drivingDate': '20230114', 'totalPwrCsp': 3098, 'motorPwrCsp': 2149, 'climatePwrCsp': 669, 'eDPwrCsp': 280, 'batteryMgPwrCsp': 0, 'regenPwr': 1157, 'calculativeOdo': 15}, {'drivingPeriod': 0, 'drivingDate': '20230113', 'totalPwrCsp': 19982, 'motorPwrCsp': 16572, 'climatePwrCsp': 2670, 'eDPwrCsp': 640, 'batteryMgPwrCsp': 100, 'regenPwr': 1691, 'calculativeOdo': 96}, {'drivingPeriod': 0, 'drivingDate': '20230112', 'totalPwrCsp': 17530, 'motorPwrCsp': 15447, 'climatePwrCsp': 1543, 'eDPwrCsp': 540, 'batteryMgPwrCsp': 0, 'regenPwr': 1987, 'calculativeOdo': 94}, {'drivingPeriod': 0, 'drivingDate': '20230111', 'totalPwrCsp': 18865, 'motorPwrCsp': 16007, 'climatePwrCsp': 2178, 'eDPwrCsp': 680, 'batteryMgPwrCsp': 0, 'regenPwr': 1725, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230110', 'totalPwrCsp': 19108, 'motorPwrCsp': 15214, 'climatePwrCsp': 3164, 'eDPwrCsp': 660, 'batteryMgPwrCsp': 70, 'regenPwr': 1531, 'calculativeOdo': 93}, {'drivingPeriod': 0, 'drivingDate': '20230109', 'totalPwrCsp': 18064, 'motorPwrCsp': 15488, 'climatePwrCsp': 1986, 'eDPwrCsp': 590, 'batteryMgPwrCsp': 0, 'regenPwr': 1868, 'calculativeOdo': 93}, {'drivingPeriod': 0, 'drivingDate': '20230108', 'totalPwrCsp': 45218, 'motorPwrCsp': 36848, 'climatePwrCsp': 5840, 'eDPwrCsp': 2530, 'batteryMgPwrCsp': 0, 'regenPwr': 9234, 'calculativeOdo': 301}, {'drivingPeriod': 0, 'drivingDate': '20230107', 'totalPwrCsp': 9987, 'motorPwrCsp': 5432, 'climatePwrCsp': 3705, 'eDPwrCsp': 850, 'batteryMgPwrCsp': 0, 'regenPwr': 2338, 'calculativeOdo': 30}, {'drivingPeriod': 0, 'drivingDate': '20230106', 'totalPwrCsp': 7577, 'motorPwrCsp': 3901, 'climatePwrCsp': 3076, 'eDPwrCsp': 540, 'batteryMgPwrCsp': 60, 'regenPwr': 1319, 'calculativeOdo': 24}, {'drivingPeriod': 0, 'drivingDate': '20230105', 'totalPwrCsp': 12961, 'motorPwrCsp': 8359, 'climatePwrCsp': 3832, 'eDPwrCsp': 770, 'batteryMgPwrCsp': 0, 'regenPwr': 2886, 'calculativeOdo': 56}, {'drivingPeriod': 0, 'drivingDate': '20230104', 'totalPwrCsp': 23196, 'motorPwrCsp': 12673, 'climatePwrCsp': 8823, 'eDPwrCsp': 1630, 'batteryMgPwrCsp': 70, 'regenPwr': 5269, 'calculativeOdo': 87}, {'drivingPeriod': 0, 'drivingDate': '20230103', 'totalPwrCsp': 7222, 'motorPwrCsp': 4050, 'climatePwrCsp': 2702, 'eDPwrCsp': 470, 'batteryMgPwrCsp': 0, 'regenPwr': 1770, 'calculativeOdo': 26}, {'drivingPeriod': 0, 'drivingDate': '20230102', 'totalPwrCsp': 62581, 'motorPwrCsp': 49991, 'climatePwrCsp': 10280, 'eDPwrCsp': 2310, 'batteryMgPwrCsp': 0, 'regenPwr': 9708, 'calculativeOdo': 302}, {'drivingPeriod': 0, 'drivingDate': '20221230', 'totalPwrCsp': 8545, 'motorPwrCsp': 6964, 'climatePwrCsp': 1271, 'eDPwrCsp': 310, 'batteryMgPwrCsp': 0, 'regenPwr': 870, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20221229', 'totalPwrCsp': 8699, 'motorPwrCsp': 7695, 'climatePwrCsp': 714, 'eDPwrCsp': 290, 'batteryMgPwrCsp': 0, 'regenPwr': 749, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20221228', 'totalPwrCsp': 13241, 'motorPwrCsp': 9645, 'climatePwrCsp': 2716, 'eDPwrCsp': 850, 'batteryMgPwrCsp': 0, 'regenPwr': 1485, 'calculativeOdo': 57}, {'drivingPeriod': 0, 'drivingDate': '20221227', 'totalPwrCsp': 18310, 'motorPwrCsp': 14327, 'climatePwrCsp': 3423, 'eDPwrCsp': 500, 'batteryMgPwrCsp': 60, 'regenPwr': 1317, 'calculativeOdo': 94}]}, 'msgId': '5fec6927-ec7f-4390-8418-cde95689755f'}
2023-01-25 08:01:39.603 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 1.067 seconds (success: True)
So it does show debug logging of the service call. It shows no value passed. What is your yaml sent in?
Hm. Maybe it is not working if not both AC and DC limit are set the same time.
When setting only AC charge limit there's no debug response at all.
service: kia_uvo.set_charge_limits
data:
device_id: **
ac_limit: 90
But when setting both AC and DC charge limit
service: kia_uvo.set_charge_limits
data:
device_id: **
dc_limit: 90
ac_limit: 90
there is a debug response...
2023-01-25 15:53:46.579 DEBUG (SyncWorker_8) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Set Charge Limits Response: <Response [200]>
...and the value sometimes is updated in Home assistant as well. It has worked two out of three times. The last time I got the debug response, but the value isn't updated even after a force update.
This is the debug response of the last service call, which never led to an updated value.
2023-01-25 16:01:53.194 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - Set Charge Limits Response: <Response [200]>
2023-01-25 16:01:53.197 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 299 998 299.451108325
2023-01-25 16:01:57.629 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_cached_vehicle_status response: {'retCode': 'S', 'resCode': '0000', 'resMsg': {'vehicleStatusInfo': {'vehicleLocation': {'coord': {'lat': **, 'lon': **, 'alt': 0, 'type': 0}, 'head': 249, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20230125150953'}, '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': 87, 'batteryPlugin': 0, 'remainTime2': {'etc1': {'value': 7, 'unit': 1}, 'etc2': {'value': 70, 'unit': 1}, 'etc3': {'value': 40, 'unit': 1}, 'atc': {'value': 70, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'evModeRange': {'value': 367, 'unit': 1}, 'totalAvailableRange': {'value': 367, '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': 50, 'dte': {'rangeByFuel': {'evModeRange': {'value': 376, 'unit': 1}, 'totalAvailableRange': {'value': 376, 'unit': 1}}, 'type': 2}, 'plugType': 0}, {'targetSOClevel': 50, 'dte': {'rangeByFuel': {'evModeRange': {'value': 376, 'unit': 1}, 'totalAvailableRange': {'value': 376, 'unit': 1}}, 'type': 2}, 'plugType': 1}]}, 'chargePortDoorOpenStatus': 2, 'batteryPreconditioning': False}, 'ign3': True, 'hoodOpen': False, 'transCond': False, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 88, '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': '20230125160152', 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'odometer': {'value': 8229.1, 'unit': 1}}}, 'msgId': '86c0f6c5-5094-4837-b68e-0140ea66b5da'}
2023-01-25 16:01:57.629 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20230125160152
2023-01-25 16:01:57.630 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-01-25 16:01:52+01:00
2023-01-25 16:01:57.631 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20230125150953
2023-01-25 16:01:57.631 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-01-25 15:09:53+01:00
2023-01-25 16:01:57.631 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 299 998 299.4880661166667
2023-01-25 16:01:58.001 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_driving_info responseAlltime {'retCode': 'S', 'resCode': '0000', 'resMsg': {'drivingInfo': [{'drivingPeriod': 0, 'totalPwrCsp': 1157991, 'motorPwrCsp': 875351, 'climatePwrCsp': 224149, 'eDPwrCsp': 57120, 'batteryMgPwrCsp': 1311, 'regenPwr': 169633, 'calculativeOdo': 5789}, {'drivingPeriod': 1, 'totalPwrCsp': 14296, 'motorPwrCsp': 10806, 'climatePwrCsp': 2767, 'eDPwrCsp': 705, 'batteryMgPwrCsp': 16, 'regenPwr': 2094, 'calculativeOdo': 71.46913580246914}], 'drivingInfoDetail': [{'drivingPeriod': 1, 'drivingDate': '202301', 'totalPwrCsp': 428016, 'motorPwrCsp': 327981, 'climatePwrCsp': 79705, 'eDPwrCsp': 19880, 'batteryMgPwrCsp': 450, 'regenPwr': 65007, 'calculativeOdo': 2122}, {'drivingPeriod': 1, 'drivingDate': '202212', 'totalPwrCsp': 477973, 'motorPwrCsp': 354679, 'climatePwrCsp': 100153, 'eDPwrCsp': 22710, 'batteryMgPwrCsp': 401, 'regenPwr': 63776, 'calculativeOdo': 2375}, {'drivingPeriod': 1, 'drivingDate': '202211', 'totalPwrCsp': 225101, 'motorPwrCsp': 171007, 'climatePwrCsp': 40694, 'eDPwrCsp': 12960, 'batteryMgPwrCsp': 410, 'regenPwr': 35007, 'calculativeOdo': 1129}, {'drivingPeriod': 1, 'drivingDate': '202210', 'totalPwrCsp': 26901, 'motorPwrCsp': 21684, 'climatePwrCsp': 3597, 'eDPwrCsp': 1570, 'batteryMgPwrCsp': 50, 'regenPwr': 5843, 'calculativeOdo': 163}]}, 'msgId': '382870db-b7de-42a9-a05f-bcbc94a4a5ae'}
2023-01-25 16:01:58.001 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_stamp 2023-01-25 05:02:59.064000+00:00 120000 299 998 299.4911492
2023-01-25 16:01:58.327 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - get_driving_info response30d {'retCode': 'S', 'resCode': '0000', 'resMsg': {'drivingInfo': [{'drivingPeriod': 0, 'totalPwrCsp': 458501, 'motorPwrCsp': 352285, 'climatePwrCsp': 84406, 'eDPwrCsp': 21330, 'batteryMgPwrCsp': 450, 'regenPwr': 68111, 'calculativeOdo': 2273}, {'drivingPeriod': 1, 'totalPwrCsp': 18340, 'motorPwrCsp': 14091, 'climatePwrCsp': 3376, 'eDPwrCsp': 853, 'batteryMgPwrCsp': 18, 'regenPwr': 2724, 'calculativeOdo': 90.92}, {'drivingPeriod': 2, 'totalPwrCsp': 10249, 'motorPwrCsp': 9079, 'climatePwrCsp': 870, 'eDPwrCsp': 300, 'batteryMgPwrCsp': 0, 'regenPwr': 834, 'calculativeOdo': 47}], 'drivingInfoDetail': [{'drivingPeriod': 0, 'drivingDate': '20230125', 'totalPwrCsp': 10249, 'motorPwrCsp': 9079, 'climatePwrCsp': 870, 'eDPwrCsp': 300, 'batteryMgPwrCsp': 0, 'regenPwr': 834, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20230124', 'totalPwrCsp': 17674, 'motorPwrCsp': 14805, 'climatePwrCsp': 2069, 'eDPwrCsp': 750, 'batteryMgPwrCsp': 50, 'regenPwr': 3208, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230123', 'totalPwrCsp': 20169, 'motorPwrCsp': 15958, 'climatePwrCsp': 3621, 'eDPwrCsp': 590, 'batteryMgPwrCsp': 0, 'regenPwr': 1786, 'calculativeOdo': 96}, {'drivingPeriod': 0, 'drivingDate': '20230122', 'totalPwrCsp': 18869, 'motorPwrCsp': 11075, 'climatePwrCsp': 6604, 'eDPwrCsp': 1190, 'batteryMgPwrCsp': 0, 'regenPwr': 3344, 'calculativeOdo': 84}, {'drivingPeriod': 0, 'drivingDate': '20230120', 'totalPwrCsp': 19680, 'motorPwrCsp': 16369, 'climatePwrCsp': 2471, 'eDPwrCsp': 840, 'batteryMgPwrCsp': 0, 'regenPwr': 1721, 'calculativeOdo': 97}, {'drivingPeriod': 0, 'drivingDate': '20230119', 'totalPwrCsp': 9048, 'motorPwrCsp': 6470, 'climatePwrCsp': 1808, 'eDPwrCsp': 770, 'batteryMgPwrCsp': 0, 'regenPwr': 2116, 'calculativeOdo': 49}, {'drivingPeriod': 0, 'drivingDate': '20230118', 'totalPwrCsp': 19251, 'motorPwrCsp': 14799, 'climatePwrCsp': 3852, 'eDPwrCsp': 580, 'batteryMgPwrCsp': 20, 'regenPwr': 1565, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230117', 'totalPwrCsp': 18610, 'motorPwrCsp': 14816, 'climatePwrCsp': 2994, 'eDPwrCsp': 720, 'batteryMgPwrCsp': 80, 'regenPwr': 1884, 'calculativeOdo': 94}, {'drivingPeriod': 0, 'drivingDate': '20230116', 'totalPwrCsp': 29077, 'motorPwrCsp': 22479, 'climatePwrCsp': 4948, 'eDPwrCsp': 1650, 'batteryMgPwrCsp': 0, 'regenPwr': 6066, 'calculativeOdo': 153}, {'drivingPeriod': 0, 'drivingDate': '20230114', 'totalPwrCsp': 3098, 'motorPwrCsp': 2149, 'climatePwrCsp': 669, 'eDPwrCsp': 280, 'batteryMgPwrCsp': 0, 'regenPwr': 1157, 'calculativeOdo': 15}, {'drivingPeriod': 0, 'drivingDate': '20230113', 'totalPwrCsp': 19982, 'motorPwrCsp': 16572, 'climatePwrCsp': 2670, 'eDPwrCsp': 640, 'batteryMgPwrCsp': 100, 'regenPwr': 1691, 'calculativeOdo': 96}, {'drivingPeriod': 0, 'drivingDate': '20230112', 'totalPwrCsp': 17530, 'motorPwrCsp': 15447, 'climatePwrCsp': 1543, 'eDPwrCsp': 540, 'batteryMgPwrCsp': 0, 'regenPwr': 1987, 'calculativeOdo': 94}, {'drivingPeriod': 0, 'drivingDate': '20230111', 'totalPwrCsp': 18865, 'motorPwrCsp': 16007, 'climatePwrCsp': 2178, 'eDPwrCsp': 680, 'batteryMgPwrCsp': 0, 'regenPwr': 1725, 'calculativeOdo': 95}, {'drivingPeriod': 0, 'drivingDate': '20230110', 'totalPwrCsp': 19108, 'motorPwrCsp': 15214, 'climatePwrCsp': 3164, 'eDPwrCsp': 660, 'batteryMgPwrCsp': 70, 'regenPwr': 1531, 'calculativeOdo': 93}, {'drivingPeriod': 0, 'drivingDate': '20230109', 'totalPwrCsp': 18064, 'motorPwrCsp': 15488, 'climatePwrCsp': 1986, 'eDPwrCsp': 590, 'batteryMgPwrCsp': 0, 'regenPwr': 1868, 'calculativeOdo': 93}, {'drivingPeriod': 0, 'drivingDate': '20230108', 'totalPwrCsp': 45218, 'motorPwrCsp': 36848, 'climatePwrCsp': 5840, 'eDPwrCsp': 2530, 'batteryMgPwrCsp': 0, 'regenPwr': 9234, 'calculativeOdo': 301}, {'drivingPeriod': 0, 'drivingDate': '20230107', 'totalPwrCsp': 9987, 'motorPwrCsp': 5432, 'climatePwrCsp': 3705, 'eDPwrCsp': 850, 'batteryMgPwrCsp': 0, 'regenPwr': 2338, 'calculativeOdo': 30}, {'drivingPeriod': 0, 'drivingDate': '20230106', 'totalPwrCsp': 7577, 'motorPwrCsp': 3901, 'climatePwrCsp': 3076, 'eDPwrCsp': 540, 'batteryMgPwrCsp': 60, 'regenPwr': 1319, 'calculativeOdo': 24}, {'drivingPeriod': 0, 'drivingDate': '20230105', 'totalPwrCsp': 12961, 'motorPwrCsp': 8359, 'climatePwrCsp': 3832, 'eDPwrCsp': 770, 'batteryMgPwrCsp': 0, 'regenPwr': 2886, 'calculativeOdo': 56}, {'drivingPeriod': 0, 'drivingDate': '20230104', 'totalPwrCsp': 23196, 'motorPwrCsp': 12673, 'climatePwrCsp': 8823, 'eDPwrCsp': 1630, 'batteryMgPwrCsp': 70, 'regenPwr': 5269, 'calculativeOdo': 87}, {'drivingPeriod': 0, 'drivingDate': '20230103', 'totalPwrCsp': 7222, 'motorPwrCsp': 4050, 'climatePwrCsp': 2702, 'eDPwrCsp': 470, 'batteryMgPwrCsp': 0, 'regenPwr': 1770, 'calculativeOdo': 26}, {'drivingPeriod': 0, 'drivingDate': '20230102', 'totalPwrCsp': 62581, 'motorPwrCsp': 49991, 'climatePwrCsp': 10280, 'eDPwrCsp': 2310, 'batteryMgPwrCsp': 0, 'regenPwr': 9708, 'calculativeOdo': 302}, {'drivingPeriod': 0, 'drivingDate': '20221230', 'totalPwrCsp': 8545, 'motorPwrCsp': 6964, 'climatePwrCsp': 1271, 'eDPwrCsp': 310, 'batteryMgPwrCsp': 0, 'regenPwr': 870, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20221229', 'totalPwrCsp': 8699, 'motorPwrCsp': 7695, 'climatePwrCsp': 714, 'eDPwrCsp': 290, 'batteryMgPwrCsp': 0, 'regenPwr': 749, 'calculativeOdo': 47}, {'drivingPeriod': 0, 'drivingDate': '20221228', 'totalPwrCsp': 13241, 'motorPwrCsp': 9645, 'climatePwrCsp': 2716, 'eDPwrCsp': 850, 'batteryMgPwrCsp': 0, 'regenPwr': 1485, 'calculativeOdo': 57}, {'drivingPeriod': 0, 'drivingDate': '20221227', 'totalPwrCsp': 18310, 'motorPwrCsp': 14327, 'climatePwrCsp': 3423, 'eDPwrCsp': 500, 'batteryMgPwrCsp': 60, 'regenPwr': 1317, 'calculativeOdo': 94}]}, 'msgId': 'f9abdb2c-33b4-4576-93b1-d1477635c780'}
2023-01-25 16:01:58.331 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 5.135 seconds (success: True)
Current code only allows it to run when both values are set. I have another thread on this that apparently for PHEV they only accept a single value, AC. Does the call work when both values as passed in? Validate via the car.
Most of the times it works when I set both AC and DC limit AND force updating after some 20-30s after I have run the charge limit service. If I set it again within some time limit (around 10 minutes?) I don't have to force update again. It seems like it turns into some sleep mode otherwise.
If I just run the charge limit service without force updating generally nothing happens, even after waiting for the cached update.
After a call what does the car or mobile app show?
It sounds like this is not the integration. We offer the same api that the native app uses.
After a call where the charge limit isn't updated in HA only the timestamp when latest data was received is updated in the Kia connect app as well. The new value isn't set, not after force updating in the Kia app either.
Okay, does it work in the app when you set charge? And I assume you are setting both ac and dc in all cases here both in app and HA.
Yes, when setting the charge limit from the Kia app it works just fine. Also when setting only AC charge limit from the integration overview of all available entities. And as said it sometimes works when setting both AC/DC from an automation.
When opening up the more info view from lovelace it is only possible to choose 50% and 100%, it automatically select any of those values when typing. https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/567
I will add some additional debug logging to see what's going on. If no errors in the logs and the logs show the call being successful I think we would need someone to sniff the traffic to see if our call differs from the native app.
Same behaviour with 2.5.8 and no error logs. If I force update the new value is readable in HA, it is not catched when doing those regularly cached updates from the cloud.
I thought you said it didn't apply at all? Now it applies just doesn't reflect until forced update?
Yes, after a lot of tests it seems it is working if you set both AC/DC limit and perform a forced update afterwards.
So now I have added an extra service call to perform a forced update 30s after the charge limit and now it is working as expected.
Am closing this issue. As long as you set both AC and DC limit and force update after some 30 seconds it is working. There are already open issues for those workarounds.
Region and Brand of car EU KIA
Version of the integration 2.5.5
Describe the bug Using the charge limit service is not working since a couple of versions ago. Changing charge limit from the entity is working. When using the service from the developer tool it shows a green check box but the value isn't updated.
Debug logs if an error occurred There's no logs, and the Kia app shows the old value as well. (Force) updating gives no new information.