You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Calling start.climate sends two climate requests to the vehicle ~10 min apart. The second climate request works, but then the API seems locked out and gets stuck in auth errors. The next command (lock, unlock, or another start climate) will fail, and then the integration's API Action entity gets stuck in a connected state. I am unable to run any further commands until I restart home assistant.
Wait ~10 minutes for integration to send the second climate request to the car
Try unlocking or locking the vehicle from the integration
The car will not receive command, but there is no indication on frontend that it failed
API Connection gets stuck in a Connected state
All further actions will fail with the error "Existing action in progress"
Home Assistant must be restarted for integration to work again
Expected behavior
start.climate service should only send one climate request to the vehicle.
Integration continues to work after calling the start.climate service
API Action times out after x amount of time and resets to disconnected if there are issues are detected
Additional context
When the auth errors appear in the logs, I am also unable to use the Kia app on my phone with an error that states "invalid vehicle for current session." It usually starts working again within 10 minutes or if I completely sign out of the app and sign back in.
The text was updated successfully, but these errors were encountered:
v1.8.5 improves error recovery; should no longer be possible to become trapped in an active action that doesn't clear due to an error.
there may still be more to fix with the automatic session repair functionality so I'll leave this open till I can verify that.
my guess what caused your error flow is weak reception from the car, which is why it had to retry; and the session was invalidated by the mobile app or another api client as kia has a very simple api and invalidates all existing api client's from the same account when a new login happens
Region and Brand of car
US KIA
Describe the bug
Calling start.climate sends two climate requests to the vehicle ~10 min apart. The second climate request works, but then the API seems locked out and gets stuck in auth errors. The next command (lock, unlock, or another start climate) will fail, and then the integration's API Action entity gets stuck in a connected state. I am unable to run any further commands until I restart home assistant.
Debug logs if an error occurred
2023-10-27 15:28:07.604 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/rems/start request with {'remoteClimate': {'airCtrl': True, 'airTemp': {'unit': 1, 'value': '68'}, 'defrost': False, 'heatingAccessory': {'rearWindow': 0, 'sideMirror': 0, 'steeringWheel': 0}, 'ignitionOnDuration': {'unit': 4, 'value': 9}}}
2023-10-27 15:28:08.504 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:28:08 GMT', 'Content-Length': '99', 'Content-Type': 'application/json; charset=utf-8', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '0', 'Xid': '7f3f3734-caca-4f10-908f-05aebd610279', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:28:08.505 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}}
2023-10-27 15:28:11.880 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:28:11.880 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:14:30.880375, force_scan_interval: 4:00:00
2023-10-27 15:28:23.506 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/cmm/gts request with {'xid': '7f3f3734-caca-4f10-908f-05aebd610279'}
2023-10-27 15:28:24.010 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:28:23 GMT', 'Content-Length': '194', 'Content-Type': 'application/json', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '0', 'Xid': '96f561aa-7cb7-4b6d-82d0-8442e202ffb3', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:28:24.011 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'alertStatus': 0, 'remoteStatus': 1, 'evStatus': 0, 'locationStatus': 0, 'calSyncStatus': 0}}
2023-10-27 15:28:34.011 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/cmm/gts request with {'xid': '7f3f3734-caca-4f10-908f-05aebd610279'}
2023-10-27 15:28:34.265 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:28:34 GMT', 'Content-Length': '194', 'Content-Type': 'application/json', 'Server-Timing': 'dtRpid;desc="583400924", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': '2feb4cea-3a18-44db-b788-ce2b2347c168', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:28:34.266 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'alertStatus': 0, 'remoteStatus': 1, 'evStatus': 0, 'locationStatus': 0, 'calSyncStatus': 0}}
2023-10-27 15:28:44.267 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/cmm/gts request with {'xid': '7f3f3734-caca-4f10-908f-05aebd610279'}
2023-10-27 15:28:44.500 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:28:44 GMT', 'Content-Length': '194', 'Content-Type': 'application/json', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '0', 'Xid': 'cfa97ef0-e949-4977-a519-ef017fec49a0', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:28:44.501 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'alertStatus': 0, 'remoteStatus': 0, 'evStatus': 0, 'locationStatus': 0, 'calSyncStatus': 0}}
2023-10-27 15:28:44.503 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/cmm/gvi request with {'vehicleConfigReq': {'airTempRange': '0', 'maintenance': '1', 'seatHeatCoolOption': '1', 'vehicle': '1', 'vehicleFeature': '1'}, 'vehicleInfoReq': {'drivingActivty': '0', 'dtc': '0', 'enrollment': '1', 'functionalCards': '0', 'location': '1', 'vehicleStatus': '1', 'weather': '0'}, 'vinKey': ''}
2023-10-27 15:28:44.872 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:28:44 GMT', 'Content-Length': '6504', 'Content-Type': 'application/json', 'Server-Timing': 'dtRpid;desc="-2122726857", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': 'ed7eb49a-66dc-4b98-ac74-4f0611a63937', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:28:44.874 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleInfoList': [{'vinKey': '', 'vehicleConfig': {'vehicleDetail': {'vehicle': {'vin': '', 'trim': {'modelYear': '2023', 'salesModelCode': 'N5462', 'optionGroupCode': '015', 'modelName': 'EV6', 'factoryCode': 'AS', 'projectCode': 'CV', 'trimName': 'GT-LINE', 'driveType': '2', 'transmissionType': '1', 'ivrCategory': '5', 'btSeriesCode': 'Y'}, 'telematics': 1, 'mileage': '757', 'mileageSyncDate': '20231027061627', 'exteriorColor': 'DEEP FOREST GREEN', 'exteriorColorCode': 'G4E', 'fuelType': 4, 'invDealerCode': 'MO034', 'testVehicle': '0', 'supportedApps': [{'appType': '0'}, {'appType': '5', 'appImage': {'imageName': 'uvo-app.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/access/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}], 'activationType': 2}, 'images': [{'imageName': '2023-ev6-gt-line-g4e.png', 'imagePath': '/content/dam/kia/us/owners/image/vehicle-app/2023/ev6/gt-line/', 'imageType': '1', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}], 'device': {'launchType': '0', 'swVersion': 'CVEV.USA.S5W_M.V011.004.231010', 'telematics': {'generation': '3', 'platform': '1', 'tmsCenter': '1', 'billing': True, 'genType': '2'}, 'versionNum': 'ECO', 'headUnitType': '0', 'hdRadio': 'X40HAF', 'ampType': 'NA', 'headUnitName': 'avn5em', 'bluetoothRef': '20', 'headUnitDesc': 'AVN5.0WT'}}, 'maintenance': {'nextServiceMile': 7242.3, 'maintenanceSchedule': [8000, 16000, 24000, 32000, 40000, 48000, 56000, 64000, 72000, 80000, 88000, 96000]}, 'vehicleFeature': {'remoteFeature': {'lock': '1', 'unlock': '1', 'start': '3', 'stop': '1', 'scheduleCount': '2', 'inVehicleSchedule': '1', 'heatedSteeringWheel': '1', 'heatedSideMirror': '1', 'heatedRearWindow': '1', 'heatedSeat': '0', 'ventSeat': '0', 'alarm': '1', 'hornlight': '1', 'panic': '1', 'doorSecurity': '1', 'headLightTailLight': '1', 'engineIdleTime': '1', 'softwareUpdate': '1', 'batteryDischarge': '1', 'separateHeatedAccessories': '1', 'windowSafety': '0', 'comboCommand': '0', 'isHeatedAccessoriesSupported': '1'}, 'chargeFeature': {'batteryChargeType': '1', 'chargeEndPct': '4', 'immediateCharge': '1', 'cancelCharge': '1', 'evRange': '1', 'scheduleCount': '2', 'inVehicleSchedule': '1', 'offPeakType': '2', 'scheduleType': '2', 'chargeLevel': '3', 'scheduleConfig': '1', 'fatcWithCharge': '1', 'targetSOC': '1', 'minTargetSOC': '50', 'maxTargetSOC': '100', 'socStep': '10', 'evAlarmOption': '1', 'batteryPreconditioningOption': '1'}, 'alertFeature': {'geofenceType': {'geofence': '1', 'entryCount': '5', 'exitCount': '1', 'inVehicleConfig': '0', 'minRadius': '1', 'maxRadius': '10', 'minHeight': '1', 'maxHeight': '10', 'minWidth': '1', 'maxWidth': '10', 'uom': '0'}, 'curfewType': {'curfew': '1', 'curfewCount': '21', 'inVehicleConfig': '0'}, 'speedType': {'speed': '1', 'speedCount': '21', 'inVehicleConfig': '0'}, 'valetType': {'valet': '1', 'valetParkingMode': '1', 'defaultRadius': '1', 'defaultRadiusUnit': '3', 'defaultInterval': '5', 'defaultIntervalUnit': '3', 'inVehicleConfig': '0'}}, 'vrmFeature': {'autoDTC': '1', 'scheduledDTC': '1', 'backgroundDTC': '1', 'manualDTC': '1', 'healthReport': '0', 'drivingScore': '1', 'gasRange': '0', 'evRange': '0', 'trip': '1'}, 'locationFeature': {'gpsStreaming': '0', 'location': '1', 'poi': '1', 'poiCount': '25', 'push2Vehicle': '1', 'wayPoint': '0', 'lastMile': '1', 'mapType': '1', 'surroundView': '1', 'svr': '1'}, 'userSettingFeature': {'usmType': '2', 'vehicleOptions': '0', 'systemOptions': '1', 'additionalDriver': '1', 'calendar': '2', 'valetParkingMode': '1', 'wifiHotSpot': '1', 'otaSupport': '1', 'digitalKeyOption': '0', 'digitalStoreSupport': '0', 'idleSpeedValetAlert': '0', 'ecuOtaHistory': '0'}}, 'heatVentSeat': {'driverSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'passengerSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'rearLeftSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'rearRightSeat': {'heatVentType': 0, 'heatVentStep': 0}}, 'billingPeriod': {'freeTrial': {'value': 12, 'unit': 0}, 'freeTrialExtension': {'value': 12, 'unit': 1}, 'servicePeriod': {'value': 60, 'unit': 1}}}, 'lastVehicleInfo': {'vehicleNickName': 'Green Machine', 'preferredDealer': 'x', 'customerType': 0, 'enrollment': {'provStatus': '4', 'enrollmentStatus': '1', 'enrollmentType': '0', 'registrationDate': '20230830', 'expirationDate': '20240830', 'expirationMileage': '100000', 'freeServiceDate': {'startDate': '20230830', 'endDate': '20240830'}, 'evEnrollmentCode': 'PCTNUE2U'}, 'vehicleStatusRpt': {'statusType': '2', 'reportDate': {'utc': '20231027202844', 'offset': -7}, 'vehicleStatus': {'climate': {'airCtrl': True, 'defrost': False, 'airTemp': {'value': '68', 'unit': 1}, 'heatingAccessory': {'steeringWheel': 0, 'sideMirror': 0, 'rearWindow': 0}}, 'engine': False, 'doorLock': True, 'doorStatus': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0, 'trunk': 0, 'hood': 0}, 'lowFuelLight': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 80, 'batteryPlugin': 0, 'batteryPrecondition': False, 'remainChargeTime': [{'remainChargeType': 1, 'timeInterval': {'value': 27, 'unit': 4}}, {'remainChargeType': 2, 'timeInterval': {'value': 450, 'unit': 4}}, {'remainChargeType': 3, 'timeInterval': {'value': 50, 'unit': 4}}], 'drvDistance': [{'type': 2, 'rangeByFuel': {'evModeRange': {'value': 224, 'unit': 3}, 'totalAvailableRange': {'value': 224, 'unit': 3}}}], 'syncDate': {'utc': '20231027202838', 'offset': -7}, 'targetSOC': [{'plugType': 0, 'targetSOClevel': 100, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 224, 'unit': 3}, 'totalAvailableRange': {'value': 224, 'unit': 3}}}}, {'plugType': 1, 'targetSOClevel': 90, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 224, 'unit': 3}, 'totalAvailableRange': {'value': 224, 'unit': 3}}}}]}, 'ign3': True, 'transCond': True, 'tirePressure': {'all': 0}, 'dateTime': {'utc': '20231027202844', 'offset': -7}, 'syncDate': {'utc': '20231027202838', 'offset': -7}, 'batteryStatus': {'stateOfCharge': 93, 'deliveryMode': 1, 'warning': 65, 'powerAutoCutMode': 2}, 'sleepMode': False, 'lampWireStatus': {'headLamp': {'headLampStatus': False, 'lampLL': False, 'lampRL': False, 'lampLH': False, 'lampRH': False, 'lampLB': False, 'lampRB': False}, 'stopLamp': {'leftLamp': False, 'rightLamp': False}, 'turnSignalLamp': {'lampLF': False, 'lampRF': False, 'lampLR': False, 'lampRR': False}}, 'windowStatus': {'windowFL': 0, 'windowFR': 0, 'windowRL': 0, 'windowRR': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'brakeOilStatus': False, 'engineRuntime': {}, 'remoteControlAvailable': 1, 'valetParkingMode': 0, 'rsaStatus': 0, 'lightStatus': {'tailLampStatus': 0, 'hazardStatus': 0}}}, 'location': {'coord': {'lat': '', 'lon': '', 'alt': 190, 'altdo': 0}, 'syncDate': {'utc': '20231027202838', 'offset': -7}}, 'financed': True, 'financeRegistered': True, 'linkStatus': 0, 'rsaStatus': 0}}]}}
2023-10-27 15:28:44.874 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] Finished fetching Vehicle 151381 data in 0.373 seconds (success: True)
2023-10-27 15:28:44.875 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:28:44.875 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:00:06.875979, force_scan_interval: 0:05:00
2023-10-27 15:29:11.880 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:29:11.881 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:29:11.881 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:00:33.881177, force_scan_interval: 0:05:00
2023-10-27 15:30:11.881 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:30:11.881 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:30:11.881 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:01:33.881656, force_scan_interval: 0:05:00
2023-10-27 15:31:11.882 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:31:11.882 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:31:11.882 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:02:33.882769, force_scan_interval: 0:05:00
2023-10-27 15:32:11.883 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:32:11.883 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:32:11.883 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:03:33.883692, force_scan_interval: 0:05:00
2023-10-27 15:33:11.884 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:33:11.884 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:33:11.884 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:04:33.884321, force_scan_interval: 0:05:00
2023-10-27 15:34:11.885 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:34:11.885 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:34:11.885 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] requesting a sync based on scan interval; age_of_last_sync:0:05:33.885925; last synced:2023-10-27 20:28:38+00:00; now:2023-10-27 20:34:11.885721+00:00
2023-10-27 15:34:26.905 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/rems/rvs request with {'requestType': 0}
2023-10-27 15:34:33.920 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:34:33 GMT', 'Content-Length': '2199', 'Content-Type': 'application/json; charset=utf-8', 'Server-Timing': 'dtRpid;desc="-1290397664", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': '0aed5227-cf9f-4626-bc15-b7ba0d5194d3', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:34:33.921 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleStatusRpt': {'statusType': '0', 'reportDate': {'utc': '20231027203433', 'offset': -7}, 'vehicleStatus': {'climate': {'airCtrl': True, 'defrost': False, 'airTemp': {'value': '68', 'unit': 1}, 'heatingAccessory': {'steeringWheel': 0, 'sideMirror': 0, 'rearWindow': 0}}, 'engine': False, 'doorLock': True, 'doorStatus': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0, 'trunk': 0, 'hood': 0}, 'lowFuelLight': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 79, 'batteryPlugin': 0, 'batteryPrecondition': False, 'remainChargeTime': [{'remainChargeType': 1, 'timeInterval': {'value': 27, 'unit': 4}}, {'remainChargeType': 2, 'timeInterval': {'value': 450, 'unit': 4}}, {'remainChargeType': 3, 'timeInterval': {'value': 50, 'unit': 4}}], 'drvDistance': [{'type': 2, 'rangeByFuel': {'evModeRange': {'value': 222, 'unit': 3}, 'totalAvailableRange': {'value': 222, 'unit': 3}}}], 'syncDate': {'utc': '20231027203433', 'offset': -7}, 'targetSOC': [{'plugType': 0, 'targetSOClevel': 100, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 222, 'unit': 3}, 'totalAvailableRange': {'value': 222, 'unit': 3}}}}, {'plugType': 1, 'targetSOClevel': 90, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 222, 'unit': 3}, 'totalAvailableRange': {'value': 222, 'unit': 3}}}}]}, 'ign3': True, 'transCond': True, 'tirePressure': {'all': 0}, 'dateTime': {'utc': '20231027203433', 'offset': -7}, 'syncDate': {'utc': '20231027203433', 'offset': -7}, 'batteryStatus': {'stateOfCharge': 97, 'deliveryMode': 1, 'warning': 65, 'powerAutoCutMode': 2}, 'sleepMode': False, 'lampWireStatus': {'headLamp': {'headLampStatus': False, 'lampLL': False, 'lampRL': False, 'lampLH': False, 'lampRH': False, 'lampLB': False, 'lampRB': False}, 'stopLamp': {'leftLamp': False, 'rightLamp': False}, 'turnSignalLamp': {'lampLF': False, 'lampRF': False, 'lampLR': False, 'lampRR': False}}, 'windowStatus': {'windowFL': 0, 'windowFR': 0, 'windowRL': 0, 'windowRR': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'brakeOilStatus': False, 'engineRuntime': {}, 'remoteControlAvailable': 1, 'valetParkingMode': 0, 'rsaStatus': 0, 'lightStatus': {'tailLampStatus': 0, 'hazardStatus': 0}, 'systemCutOffAlert': 0}}}}
2023-10-27 15:34:33.922 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/cmm/gvi request with {'vehicleConfigReq': {'airTempRange': '0', 'maintenance': '1', 'seatHeatCoolOption': '1', 'vehicle': '1', 'vehicleFeature': '1'}, 'vehicleInfoReq': {'drivingActivty': '0', 'dtc': '0', 'enrollment': '1', 'functionalCards': '0', 'location': '1', 'vehicleStatus': '1', 'weather': '0'}, 'vinKey': ''}
2023-10-27 15:34:34.346 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:34:34 GMT', 'Content-Length': '6524', 'Content-Type': 'application/json', 'Server-Timing': 'dtRpid;desc="-1211261635", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': 'da3003b2-d48e-4280-89bc-b373b84e0f6f', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:34:34.412 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleInfoList': [{'vinKey': '', 'vehicleConfig': {'vehicleDetail': {'vehicle': {'vin': '', 'trim': {'modelYear': '2023', 'salesModelCode': 'N5462', 'optionGroupCode': '015', 'modelName': 'EV6', 'factoryCode': 'AS', 'projectCode': 'CV', 'trimName': 'GT-LINE', 'driveType': '2', 'transmissionType': '1', 'ivrCategory': '5', 'btSeriesCode': 'Y'}, 'telematics': 1, 'mileage': '757', 'mileageSyncDate': '20231027061627', 'exteriorColor': 'DEEP FOREST GREEN', 'exteriorColorCode': 'G4E', 'fuelType': 4, 'invDealerCode': 'MO034', 'testVehicle': '0', 'supportedApps': [{'appType': '0'}, {'appType': '5', 'appImage': {'imageName': 'uvo-app.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/access/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}], 'activationType': 2}, 'images': [{'imageName': '2023-ev6-gt-line-g4e.png', 'imagePath': '/content/dam/kia/us/owners/image/vehicle-app/2023/ev6/gt-line/', 'imageType': '1', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}], 'device': {'launchType': '0', 'swVersion': 'CVEV.USA.S5W_M.V011.004.231010', 'telematics': {'generation': '3', 'platform': '1', 'tmsCenter': '1', 'billing': True, 'genType': '2'}, 'versionNum': 'ECO', 'headUnitType': '0', 'hdRadio': 'X40HAF', 'ampType': 'NA', 'headUnitName': 'avn5em', 'bluetoothRef': '20', 'headUnitDesc': 'AVN5.0WT'}}, 'maintenance': {'nextServiceMile': 7243, 'maintenanceSchedule': [8000, 16000, 24000, 32000, 40000, 48000, 56000, 64000, 72000, 80000, 88000, 96000]}, 'vehicleFeature': {'remoteFeature': {'lock': '1', 'unlock': '1', 'start': '3', 'stop': '1', 'scheduleCount': '2', 'inVehicleSchedule': '1', 'heatedSteeringWheel': '1', 'heatedSideMirror': '1', 'heatedRearWindow': '1', 'heatedSeat': '0', 'ventSeat': '0', 'alarm': '1', 'hornlight': '1', 'panic': '1', 'doorSecurity': '1', 'headLightTailLight': '1', 'engineIdleTime': '1', 'softwareUpdate': '1', 'batteryDischarge': '1', 'separateHeatedAccessories': '1', 'windowSafety': '0', 'comboCommand': '0', 'isHeatedAccessoriesSupported': '1'}, 'chargeFeature': {'batteryChargeType': '1', 'chargeEndPct': '4', 'immediateCharge': '1', 'cancelCharge': '1', 'evRange': '1', 'scheduleCount': '2', 'inVehicleSchedule': '1', 'offPeakType': '2', 'scheduleType': '2', 'chargeLevel': '3', 'scheduleConfig': '1', 'fatcWithCharge': '1', 'targetSOC': '1', 'minTargetSOC': '50', 'maxTargetSOC': '100', 'socStep': '10', 'evAlarmOption': '1', 'batteryPreconditioningOption': '1'}, 'alertFeature': {'geofenceType': {'geofence': '1', 'entryCount': '5', 'exitCount': '1', 'inVehicleConfig': '0', 'minRadius': '1', 'maxRadius': '10', 'minHeight': '1', 'maxHeight': '10', 'minWidth': '1', 'maxWidth': '10', 'uom': '0'}, 'curfewType': {'curfew': '1', 'curfewCount': '21', 'inVehicleConfig': '0'}, 'speedType': {'speed': '1', 'speedCount': '21', 'inVehicleConfig': '0'}, 'valetType': {'valet': '1', 'valetParkingMode': '1', 'defaultRadius': '1', 'defaultRadiusUnit': '3', 'defaultInterval': '5', 'defaultIntervalUnit': '3', 'inVehicleConfig': '0'}}, 'vrmFeature': {'autoDTC': '1', 'scheduledDTC': '1', 'backgroundDTC': '1', 'manualDTC': '1', 'healthReport': '0', 'drivingScore': '1', 'gasRange': '0', 'evRange': '0', 'trip': '1'}, 'locationFeature': {'gpsStreaming': '0', 'location': '1', 'poi': '1', 'poiCount': '25', 'push2Vehicle': '1', 'wayPoint': '0', 'lastMile': '1', 'mapType': '1', 'surroundView': '1', 'svr': '1'}, 'userSettingFeature': {'usmType': '2', 'vehicleOptions': '0', 'systemOptions': '1', 'additionalDriver': '1', 'calendar': '2', 'valetParkingMode': '1', 'wifiHotSpot': '1', 'otaSupport': '1', 'digitalKeyOption': '0', 'digitalStoreSupport': '0', 'idleSpeedValetAlert': '0', 'ecuOtaHistory': '0'}}, 'heatVentSeat': {'driverSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'passengerSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'rearLeftSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'rearRightSeat': {'heatVentType': 0, 'heatVentStep': 0}}, 'billingPeriod': {'freeTrial': {'value': 12, 'unit': 0}, 'freeTrialExtension': {'value': 12, 'unit': 1}, 'servicePeriod': {'value': 60, 'unit': 1}}}, 'lastVehicleInfo': {'vehicleNickName': 'Green Machine', 'preferredDealer': 'x', 'customerType': 0, 'enrollment': {'provStatus': '4', 'enrollmentStatus': '1', 'enrollmentType': '0', 'registrationDate': '20230830', 'expirationDate': '20240830', 'expirationMileage': '100000', 'freeServiceDate': {'startDate': '20230830', 'endDate': '20240830'}, 'evEnrollmentCode': 'PCTNUE2U'}, 'vehicleStatusRpt': {'statusType': '2', 'reportDate': {'utc': '20231027203434', 'offset': -7}, 'vehicleStatus': {'climate': {'airCtrl': True, 'defrost': False, 'airTemp': {'value': '68', 'unit': 1}, 'heatingAccessory': {'steeringWheel': 0, 'sideMirror': 0, 'rearWindow': 0}}, 'engine': False, 'doorLock': True, 'doorStatus': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0, 'trunk': 0, 'hood': 0}, 'lowFuelLight': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 79, 'batteryPlugin': 0, 'batteryPrecondition': False, 'remainChargeTime': [{'remainChargeType': 1, 'timeInterval': {'value': 27, 'unit': 4}}, {'remainChargeType': 2, 'timeInterval': {'value': 450, 'unit': 4}}, {'remainChargeType': 3, 'timeInterval': {'value': 50, 'unit': 4}}], 'drvDistance': [{'type': 2, 'rangeByFuel': {'evModeRange': {'value': 222, 'unit': 3}, 'totalAvailableRange': {'value': 222, 'unit': 3}}}], 'syncDate': {'utc': '20231027203433', 'offset': -7}, 'targetSOC': [{'plugType': 0, 'targetSOClevel': 100, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 222, 'unit': 3}, 'totalAvailableRange': {'value': 222, 'unit': 3}}}}, {'plugType': 1, 'targetSOClevel': 90, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 222, 'unit': 3}, 'totalAvailableRange': {'value': 222, 'unit': 3}}}}]}, 'ign3': True, 'transCond': True, 'tirePressure': {'all': 0}, 'dateTime': {'utc': '20231027203434', 'offset': -7}, 'syncDate': {'utc': '20231027203433', 'offset': -7}, 'batteryStatus': {'stateOfCharge': 97, 'deliveryMode': 1, 'warning': 65, 'powerAutoCutMode': 2}, 'sleepMode': False, 'lampWireStatus': {'headLamp': {'headLampStatus': False, 'lampLL': False, 'lampRL': False, 'lampLH': False, 'lampRH': False, 'lampLB': False, 'lampRB': False}, 'stopLamp': {'leftLamp': False, 'rightLamp': False}, 'turnSignalLamp': {'lampLF': False, 'lampRF': False, 'lampLR': False, 'lampRR': False}}, 'windowStatus': {'windowFL': 0, 'windowFR': 0, 'windowRL': 0, 'windowRR': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'brakeOilStatus': False, 'engineRuntime': {}, 'remoteControlAvailable': 1, 'valetParkingMode': 0, 'rsaStatus': 0, 'lightStatus': {'tailLampStatus': 0, 'hazardStatus': 0}, 'systemCutOffAlert': 0}}, 'location': {'coord': {'lat': '', 'lon': '', 'alt': 190, 'altdo': 0}, 'syncDate': {'utc': '20231027202838', 'offset': -7}}, 'financed': True, 'financeRegistered': True, 'linkStatus': 0, 'rsaStatus': 0}}]}}
2023-10-27 15:34:34.413 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] Finished fetching Vehicle 151381 data in 0.492 seconds (success: True)
2023-10-27 15:34:34.415 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:34:34.415 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:00:01.415488, force_scan_interval: 0:05:00
2023-10-27 15:35:11.885 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:35:11.885 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:35:11.886 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:00:38.885991, force_scan_interval: 0:05:00
2023-10-27 15:36:11.887 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:36:11.888 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:36:11.888 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:01:38.888071, force_scan_interval: 0:05:00
2023-10-27 15:37:11.890 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:37:11.890 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:37:11.891 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:02:38.891135, force_scan_interval: 0:05:00
2023-10-27 15:38:11.892 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:38:11.892 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:38:11.892 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:03:38.892149, force_scan_interval: 0:05:00
2023-10-27 15:39:11.892 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:39:11.893 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:39:11.893 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:04:38.893289, force_scan_interval: 0:05:00
2023-10-27 15:40:11.893 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:40:11.893 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:40:11.893 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:05:44.988375
2023-10-27 15:41:11.893 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:41:11.894 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:41:11.894 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:06:44.989284
2023-10-27 15:42:11.895 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:42:11.895 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:42:11.895 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:07:44.991001
2023-10-27 15:43:11.896 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:43:11.897 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:43:11.897 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:08:44.992368
2023-10-27 15:44:11.898 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:44:11.898 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:44:11.898 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:09:44.993766
2023-10-27 15:45:11.900 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:45:11.900 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:45:11.900 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:10:44.996082
2023-10-27 15:46:11.901 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:46:11.901 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:46:11.901 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:11:44.996792
2023-10-27 15:47:11.902 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:47:11.903 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:47:11.903 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:12:44.998483
2023-10-27 15:48:11.904 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:48:11.904 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:48:11.904 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:13:44.999476
2023-10-27 15:49:11.905 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:49:11.905 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:49:11.905 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, interval sync request failed to be fulfilled by Vehicle, REQUEST_TO_SYNC_COOLDOWN:0:15:00; age_of_last_request_to_sync:0:14:45.000493
2023-10-27 15:50:11.906 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:50:11.906 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] HVAC on, changing force_scan_interval to api_cloud duration of minutes
2023-10-27 15:50:11.906 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] requesting a sync based on scan interval; age_of_last_sync:0:15:38.906922; last synced:2023-10-27 20:34:33+00:00; now:2023-10-27 20:50:11.906598+00:00
2023-10-27 15:50:26.908 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/rems/rvs request with {'requestType': 0}
2023-10-27 15:50:27.377 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:50:27 GMT', 'Content-Length': '116', 'Content-Type': 'application/json', 'Server-Timing': 'dtRpid;desc="-1887058997", dtSInfo;desc="0"', 'ErrCd': '1003', 'Xid': 'ed5a8463-2841-439f-bfa8-cd4e9cdd4bdb', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:50:27.377 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 1, 'errorType': 1, 'errorCode': 1003, 'errorMessage': 'Session Key is either invalid or expired'}}
2023-10-27 15:50:27.377 DEBUG (MainThread) [kia_hyundai_api.us_kia] error: session invalid
2023-10-27 15:50:27.378 DEBUG (MainThread) [custom_components.ha_kia_hyundai.api_cloud_us_kia] got invalid session, attempting to repair and resend
2023-10-27 15:50:27.378 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/prof/authUser request with {'deviceKey': '', 'deviceType': 2, 'userCredential': {'userId': '', 'password': ''}}
2023-10-27 15:50:27.642 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:50:27 GMT', 'Content-Length': '99', 'Content-Type': 'application/json', 'Sid': '', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '0', 'Xid': 'f21b3df8-06da-4fa4-a119-34a382ff2da8', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:50:27.642 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}}
2023-10-27 15:50:27.642 DEBUG (MainThread) [kia_hyundai_api.us_kia] got session id b2bf0850-c8cd-4d06-a37e-47cdcde533a4
2023-10-27 15:50:27.642 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/ownr/gvl request
2023-10-27 15:50:27.942 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:50:27 GMT', 'Content-Length': '1699', 'Content-Type': 'application/json; charset=utf-8', 'Server-Timing': 'dtRpid;desc="-85848199", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': '8c2f5e70-ece8-4e45-acc8-7fd2ca216e08', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:50:27.943 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleSummary': [{'vin': '', 'vehicleIdentifier': '151381', 'modelName': 'EV6', 'modelYear': '2023', 'nickName': 'Green Machine', 'generation': 2, 'extColorCode': 'G4E', 'trim': 'GT-LINE', 'imagePath': {'imageName': '2023-ev6-gt-line-g4e.png', 'imagePath': '/content/dam/kia/us/owners/image/vehicle-app/2023/ev6/gt-line/', 'imageType': '1', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}, 'enrollmentStatus': 1, 'fatcAvailable': 1, 'telematicsUnit': 1, 'fuelType': 4, 'colorName': 'DEEP FOREST GREEN', 'activationType': 2, 'mileage': '757', 'dealerCode': 'MO034', 'mobileStore': [{'osType': 0, 'downloadURL': 'https://itunes.apple.com/us/app/kia-access-with-uvo-link/id1280548773?mt=8', 'image': {'imageName': 'iosImage.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}, {'osType': 1, 'downloadURL': 'https://play.google.com/store/apps/details?id=com.myuvo.link', 'image': {'imageName': 'androidImage.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}], 'supportedApp': {'appType': '5', 'appImage': {'imageName': 'uvo-app.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/access/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}, 'supportAdditionalDriver': 1, 'customerType': 0, 'projectCode': 'CV', 'headUnitDesc': 'AVN5.0WT', 'provStatus': '4', 'enrollmentSuppressionType': 0, 'rsaStatus': 0, 'dsEnrollment': 0, 'ubiEnrollment': 0, 'notificationCount': 0, 'genType': '2', 'vehicleKey': '38d2d510-48e0-48e8-ace7-9168c1f65f1c'}], 'chatbotSupport': True}}
2023-10-27 15:50:27.944 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/rems/rvs request with {'requestType': 0}
2023-10-27 15:50:52.014 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:50:51 GMT', 'Content-Length': '2200', 'Content-Type': 'application/json; charset=utf-8', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '0', 'Xid': '6a79cdde-8843-4c6f-a72d-e4fd7902386b', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:50:52.017 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleStatusRpt': {'statusType': '0', 'reportDate': {'utc': '20231027205051', 'offset': -7}, 'vehicleStatus': {'climate': {'airCtrl': False, 'defrost': False, 'airTemp': {'value': '72', 'unit': 1}, 'heatingAccessory': {'steeringWheel': 0, 'sideMirror': 0, 'rearWindow': 0}}, 'engine': False, 'doorLock': True, 'doorStatus': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0, 'trunk': 0, 'hood': 0}, 'lowFuelLight': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 79, 'batteryPlugin': 0, 'batteryPrecondition': False, 'remainChargeTime': [{'remainChargeType': 1, 'timeInterval': {'value': 27, 'unit': 4}}, {'remainChargeType': 2, 'timeInterval': {'value': 460, 'unit': 4}}, {'remainChargeType': 3, 'timeInterval': {'value': 50, 'unit': 4}}], 'drvDistance': [{'type': 2, 'rangeByFuel': {'evModeRange': {'value': 229, 'unit': 3}, 'totalAvailableRange': {'value': 229, 'unit': 3}}}], 'syncDate': {'utc': '20231027205051', 'offset': -7}, 'targetSOC': [{'plugType': 0, 'targetSOClevel': 100, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 229, 'unit': 3}, 'totalAvailableRange': {'value': 229, 'unit': 3}}}}, {'plugType': 1, 'targetSOClevel': 90, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 229, 'unit': 3}, 'totalAvailableRange': {'value': 229, 'unit': 3}}}}]}, 'ign3': True, 'transCond': True, 'tirePressure': {'all': 0}, 'dateTime': {'utc': '20231027205051', 'offset': -7}, 'syncDate': {'utc': '20231027205051', 'offset': -7}, 'batteryStatus': {'stateOfCharge': 97, 'deliveryMode': 1, 'warning': 65, 'powerAutoCutMode': 2}, 'sleepMode': False, 'lampWireStatus': {'headLamp': {'headLampStatus': False, 'lampLL': False, 'lampRL': False, 'lampLH': False, 'lampRH': False, 'lampLB': False, 'lampRB': False}, 'stopLamp': {'leftLamp': False, 'rightLamp': False}, 'turnSignalLamp': {'lampLF': False, 'lampRF': False, 'lampLR': False, 'lampRR': False}}, 'windowStatus': {'windowFL': 0, 'windowFR': 0, 'windowRL': 0, 'windowRR': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'brakeOilStatus': False, 'engineRuntime': {}, 'remoteControlAvailable': 1, 'valetParkingMode': 0, 'rsaStatus': 0, 'lightStatus': {'tailLampStatus': 0, 'hazardStatus': 0}, 'systemCutOffAlert': 0}}}}
2023-10-27 15:50:52.018 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/cmm/gvi request with {'vehicleConfigReq': {'airTempRange': '0', 'maintenance': '1', 'seatHeatCoolOption': '1', 'vehicle': '1', 'vehicleFeature': '1'}, 'vehicleInfoReq': {'drivingActivty': '0', 'dtc': '0', 'enrollment': '1', 'functionalCards': '0', 'location': '1', 'vehicleStatus': '1', 'weather': '0'}, 'vinKey': ''}
2023-10-27 15:50:52.476 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 20:50:52 GMT', 'Content-Length': '6606', 'Content-Type': 'application/json', 'Server-Timing': 'dtRpid;desc="-3228232", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': '85a3986f-8f99-4a06-9b40-0c104f648d81', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 15:50:52.539 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleInfoList': [{'vinKey': '', 'vehicleConfig': {'vehicleDetail': {'vehicle': {'vin': '', 'trim': {'modelYear': '2023', 'salesModelCode': 'N5462', 'optionGroupCode': '015', 'modelName': 'EV6', 'factoryCode': 'AS', 'projectCode': 'CV', 'trimName': 'GT-LINE', 'driveType': '2', 'transmissionType': '1', 'ivrCategory': '5', 'btSeriesCode': 'Y'}, 'telematics': 1, 'mileage': '757', 'mileageSyncDate': '20231027064638', 'exteriorColor': 'DEEP FOREST GREEN', 'exteriorColorCode': 'G4E', 'fuelType': 4, 'invDealerCode': 'MO034', 'testVehicle': '0', 'supportedApps': [{'appType': '0'}, {'appType': '5', 'appImage': {'imageName': 'uvo-app.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/access/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}], 'activationType': 2}, 'images': [{'imageName': '2023-ev6-gt-line-g4e.png', 'imagePath': '/content/dam/kia/us/owners/image/vehicle-app/2023/ev6/gt-line/', 'imageType': '1', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}], 'device': {'launchType': '0', 'swVersion': 'CVEV.USA.S5W_M.V011.004.231010', 'telematics': {'generation': '3', 'platform': '1', 'tmsCenter': '1', 'billing': True, 'genType': '2'}, 'versionNum': 'ECO', 'headUnitType': '0', 'hdRadio': 'X40HAF', 'ampType': 'NA', 'headUnitName': 'avn5em', 'bluetoothRef': '20', 'headUnitDesc': 'AVN5.0WT'}}, 'maintenance': {'nextServiceMile': 7243, 'maintenanceSchedule': [8000, 16000, 24000, 32000, 40000, 48000, 56000, 64000, 72000, 80000, 88000, 96000]}, 'vehicleFeature': {'remoteFeature': {'lock': '1', 'unlock': '1', 'start': '3', 'stop': '1', 'scheduleCount': '2', 'inVehicleSchedule': '1', 'heatedSteeringWheel': '1', 'heatedSideMirror': '1', 'heatedRearWindow': '1', 'heatedSeat': '0', 'ventSeat': '0', 'alarm': '1', 'hornlight': '1', 'panic': '1', 'doorSecurity': '1', 'headLightTailLight': '1', 'engineIdleTime': '1', 'softwareUpdate': '1', 'batteryDischarge': '1', 'separateHeatedAccessories': '1', 'windowSafety': '0', 'comboCommand': '0', 'isHeatedAccessoriesSupported': '1'}, 'chargeFeature': {'batteryChargeType': '1', 'chargeEndPct': '4', 'immediateCharge': '1', 'cancelCharge': '1', 'evRange': '1', 'scheduleCount': '2', 'inVehicleSchedule': '1', 'offPeakType': '2', 'scheduleType': '2', 'chargeLevel': '3', 'scheduleConfig': '1', 'fatcWithCharge': '1', 'targetSOC': '1', 'minTargetSOC': '50', 'maxTargetSOC': '100', 'socStep': '10', 'evAlarmOption': '1', 'batteryPreconditioningOption': '1'}, 'alertFeature': {'geofenceType': {'geofence': '1', 'entryCount': '5', 'exitCount': '1', 'inVehicleConfig': '0', 'minRadius': '1', 'maxRadius': '10', 'minHeight': '1', 'maxHeight': '10', 'minWidth': '1', 'maxWidth': '10', 'uom': '0'}, 'curfewType': {'curfew': '1', 'curfewCount': '21', 'inVehicleConfig': '0'}, 'speedType': {'speed': '1', 'speedCount': '21', 'inVehicleConfig': '0'}, 'valetType': {'valet': '1', 'valetParkingMode': '1', 'defaultRadius': '1', 'defaultRadiusUnit': '3', 'defaultInterval': '5', 'defaultIntervalUnit': '3', 'inVehicleConfig': '0'}}, 'vrmFeature': {'autoDTC': '1', 'scheduledDTC': '1', 'backgroundDTC': '1', 'manualDTC': '1', 'healthReport': '0', 'drivingScore': '1', 'gasRange': '0', 'evRange': '0', 'trip': '1'}, 'locationFeature': {'gpsStreaming': '0', 'location': '1', 'poi': '1', 'poiCount': '25', 'push2Vehicle': '1', 'wayPoint': '0', 'lastMile': '1', 'mapType': '1', 'surroundView': '1', 'svr': '1'}, 'userSettingFeature': {'usmType': '2', 'vehicleOptions': '0', 'systemOptions': '1', 'additionalDriver': '1', 'calendar': '2', 'valetParkingMode': '1', 'wifiHotSpot': '1', 'otaSupport': '1', 'digitalKeyOption': '0', 'digitalStoreSupport': '0', 'idleSpeedValetAlert': '0', 'ecuOtaHistory': '0'}}, 'heatVentSeat': {'driverSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'passengerSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'rearLeftSeat': {'heatVentType': 0, 'heatVentStep': 0}, 'rearRightSeat': {'heatVentType': 0, 'heatVentStep': 0}}, 'billingPeriod': {'freeTrial': {'value': 12, 'unit': 0}, 'freeTrialExtension': {'value': 12, 'unit': 1}, 'servicePeriod': {'value': 60, 'unit': 1}}}, 'lastVehicleInfo': {'vehicleNickName': 'Green Machine', 'preferredDealer': 'x', 'customerType': 0, 'enrollment': {'provStatus': '4', 'enrollmentStatus': '1', 'enrollmentType': '0', 'registrationDate': '20230830', 'expirationDate': '20240830', 'expirationMileage': '100000', 'freeServiceDate': {'startDate': '20230830', 'endDate': '20240830'}, 'evEnrollmentCode': 'PCTNUE2U'}, 'vehicleStatusRpt': {'statusType': '2', 'reportDate': {'utc': '20231027205052', 'offset': -7}, 'vehicleStatus': {'climate': {'airCtrl': False, 'defrost': False, 'airTemp': {'value': '72', 'unit': 1}, 'heatingAccessory': {'steeringWheel': 0, 'sideMirror': 0, 'rearWindow': 0}}, 'engine': False, 'doorLock': True, 'doorStatus': {'frontLeft': 0, 'frontRight': 0, 'backLeft': 0, 'backRight': 0, 'trunk': 0, 'hood': 0}, 'lowFuelLight': False, 'evStatus': {'batteryCharge': False, 'batteryStatus': 79, 'batteryPlugin': 0, 'batteryPrecondition': False, 'remainChargeTime': [{'remainChargeType': 1, 'timeInterval': {'value': 27, 'unit': 4}}, {'remainChargeType': 2, 'timeInterval': {'value': 460, 'unit': 4}}, {'remainChargeType': 3, 'timeInterval': {'value': 50, 'unit': 4}}], 'drvDistance': [{'type': 2, 'rangeByFuel': {'evModeRange': {'value': 229, 'unit': 3}, 'totalAvailableRange': {'value': 229, 'unit': 3}}}], 'syncDate': {'utc': '20231027205051', 'offset': -7}, 'targetSOC': [{'plugType': 0, 'targetSOClevel': 100, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 229, 'unit': 3}, 'totalAvailableRange': {'value': 229, 'unit': 3}}}}, {'plugType': 1, 'targetSOClevel': 90, 'dte': {'type': 2, 'rangeByFuel': {'gasModeRange': {'value': 0, 'unit': 3}, 'evModeRange': {'value': 229, 'unit': 3}, 'totalAvailableRange': {'value': 229, 'unit': 3}}}}]}, 'ign3': True, 'transCond': True, 'tirePressure': {'all': 0}, 'dateTime': {'utc': '20231027205052', 'offset': -7}, 'syncDate': {'utc': '20231027205051', 'offset': -7}, 'batteryStatus': {'stateOfCharge': 97, 'deliveryMode': 1, 'warning': 65, 'powerAutoCutMode': 2}, 'sleepMode': False, 'lampWireStatus': {'headLamp': {'headLampStatus': False, 'lampLL': False, 'lampRL': False, 'lampLH': False, 'lampRH': False, 'lampLB': False, 'lampRB': False}, 'stopLamp': {'leftLamp': False, 'rightLamp': False}, 'turnSignalLamp': {'lampLF': False, 'lampRF': False, 'lampLR': False, 'lampRR': False}}, 'windowStatus': {'windowFL': 0, 'windowFR': 0, 'windowRL': 0, 'windowRR': 0}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'brakeOilStatus': False, 'engineRuntime': {}, 'remoteControlAvailable': 1, 'valetParkingMode': 0, 'rsaStatus': 0, 'lightStatus': {'tailLampStatus': 0, 'hazardStatus': 0}, 'systemCutOffAlert': 0}}, 'location': {'coord': {'lat': '', 'lon': '', 'alt': 190, 'type': 0, 'altdo': 0}, 'head': 178, 'speed': {'value': 0, 'unit': 1}, 'accuracy': {'hdop': 7, 'pdop': 11}, 'syncDate': {'utc': '20231027204638', 'offset': -7}}, 'financed': True, 'financeRegistered': True, 'linkStatus': 0, 'rsaStatus': 0}}]}}
2023-10-27 15:50:52.540 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] Finished fetching Vehicle 151381 data in 0.523 seconds (success: True)
2023-10-27 15:50:52.542 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:00:01.542514, force_scan_interval: 4:00:00
2023-10-27 15:51:11.907 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:51:11.907 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:00:20.907296, force_scan_interval: 4:00:00
2023-10-27 15:52:11.907 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:52:11.907 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:01:20.907749, force_scan_interval: 4:00:00
2023-10-27 15:53:11.907 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:53:11.907 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:02:20.907801, force_scan_interval: 4:00:00
2023-10-27 15:54:11.908 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:54:11.909 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:03:20.909002, force_scan_interval: 4:00:00
2023-10-27 15:55:11.909 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:55:11.909 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:04:20.909898, force_scan_interval: 4:00:00
2023-10-27 15:56:11.910 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:56:11.910 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:05:20.910919, force_scan_interval: 4:00:00
2023-10-27 15:57:11.912 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:57:11.912 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:06:20.912653, force_scan_interval: 4:00:00
2023-10-27 15:58:11.912 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:58:11.912 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:07:20.912679, force_scan_interval: 4:00:00
2023-10-27 15:59:11.914 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 15:59:11.915 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:08:20.914966, force_scan_interval: 4:00:00
2023-10-27 16:00:11.915 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 16:00:11.915 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:09:20.915741, force_scan_interval: 4:00:00
2023-10-27 16:00:24.996 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/rems/door/lock request
2023-10-27 16:00:25.481 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 21:00:25 GMT', 'Content-Length': '116', 'Content-Type': 'application/json', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '1003', 'Xid': '25c15536-b95e-49ab-8e2a-48755377d77b', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 16:00:25.481 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 1, 'errorType': 1, 'errorCode': 1003, 'errorMessage': 'Session Key is either invalid or expired'}}
2023-10-27 16:00:25.481 DEBUG (MainThread) [kia_hyundai_api.us_kia] error: session invalid
2023-10-27 16:00:25.482 DEBUG (MainThread) [custom_components.ha_kia_hyundai.api_cloud_us_kia] got invalid session, attempting to repair and resend
2023-10-27 16:00:25.482 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/prof/authUser request with {'deviceKey': '', 'deviceType': 2, 'userCredential': {'userId': '', 'password': ''}}
2023-10-27 16:00:25.742 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 21:00:25 GMT', 'Content-Length': '99', 'Content-Type': 'application/json', 'Sid': '', 'Server-Timing': 'dtSInfo;desc="1"', 'ErrCd': '0', 'Xid': 'd4189e61-ee7f-4038-8507-b577dc25270c', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 16:00:25.743 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}}
2023-10-27 16:00:25.743 DEBUG (MainThread) [kia_hyundai_api.us_kia] got session id 250c005e-cd4e-408d-bd27-e13df1a1595e
2023-10-27 16:00:25.743 DEBUG (MainThread) [kia_hyundai_api.us_kia] sending https://api.owners.kia.com/apigw/v1/ownr/gvl request
2023-10-27 16:00:26.116 DEBUG (MainThread) [kia_hyundai_api.us_kia] response headers:<CIMultiDict('Server': 'KMA', 'Date': 'Fri, 27 Oct 2023 21:00:26 GMT', 'Content-Length': '1699', 'Content-Type': 'application/json; charset=utf-8', 'Server-Timing': 'dtRpid;desc="1555105985", dtSInfo;desc="0"', 'ErrCd': '0', 'Xid': '11a365c8-30ea-4a41-ae4a-d9eda08cd931', 'X-OneAgent-JS-Injection': 'true')>
2023-10-27 16:00:26.120 DEBUG (MainThread) [kia_hyundai_api.us_kia] response json:{'status': {'statusCode': 0, 'errorType': 0, 'errorCode': 0, 'errorMessage': 'Success with response body'}, 'payload': {'vehicleSummary': [{'vin': '***', 'vehicleIdentifier': '151381', 'modelName': 'EV6', 'modelYear': '2023', 'nickName': 'Green Machine', 'generation': 2, 'extColorCode': 'G4E', 'trim': 'GT-LINE', 'imagePath': {'imageName': '2023-ev6-gt-line-g4e.png', 'imagePath': '/content/dam/kia/us/owners/image/vehicle-app/2023/ev6/gt-line/', 'imageType': '1', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}, 'enrollmentStatus': 1, 'fatcAvailable': 1, 'telematicsUnit': 1, 'fuelType': 4, 'colorName': 'DEEP FOREST GREEN', 'activationType': 2, 'mileage': '757', 'dealerCode': 'MO034', 'mobileStore': [{'osType': 0, 'downloadURL': 'https://itunes.apple.com/us/app/kia-access-with-uvo-link/id1280548773?mt=8', 'image': {'imageName': 'iosImage.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}, {'osType': 1, 'downloadURL': 'https://play.google.com/store/apps/details?id=com.myuvo.link', 'image': {'imageName': 'androidImage.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}], 'supportedApp': {'appType': '5', 'appImage': {'imageName': 'uvo-app.png', 'imagePath': '/content/dam/kia/us/owners/image/common/app/access/', 'imageType': '2', 'imageSize': {'length': '100', 'width': '100', 'uom': 0}}}, 'supportAdditionalDriver': 1, 'customerType': 0, 'projectCode': 'CV', 'headUnitDesc': 'AVN5.0WT', 'provStatus': '4', 'enrollmentSuppressionType': 0, 'rsaStatus': 0, 'dsEnrollment': 0, 'ubiEnrollment': 0, 'notificationCount': 0, 'genType': '2', 'vehicleKey': '3ebaa928-1b47-4c7f-9c61-1fcd5c9eb66b'}], 'chatbotSupport': True}}
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 32, in request_with_active_session_wrapper
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 303, in lock
File "/usr/local/lib/python3.11/site-packages/kia_hyundai_api/us_kia.py", line 241, in lock
File "/usr/local/lib/python3.11/site-packages/kia_hyundai_api/us_kia.py", line 56, in request_with_logging_wrapper
kia_hyundai_api.errors.AuthError
File "/config/custom_components/ha_kia_hyundai/lock.py", line 47, in async_lock
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 205, in lock_action
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 43, in request_with_active_session_wrapper
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 301, in lock
File "/config/custom_components/ha_kia_hyundai/api_cloud.py", line 103, in _start_action
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 32, in request_with_active_session_wrapper
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 303, in lock
File "/usr/local/lib/python3.11/site-packages/kia_hyundai_api/us_kia.py", line 241, in lock
File "/usr/local/lib/python3.11/site-packages/kia_hyundai_api/us_kia.py", line 56, in request_with_logging_wrapper
kia_hyundai_api.errors.AuthError
File "/config/custom_components/ha_kia_hyundai/lock.py", line 47, in async_lock
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 205, in lock_action
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 43, in request_with_active_session_wrapper
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 301, in lock
File "/config/custom_components/ha_kia_hyundai/api_cloud.py", line 103, in _start_action
2023-10-27 16:01:11.915 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 16:01:11.916 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:10:20.916253, force_scan_interval: 4:00:00
2023-10-27 16:02:11.916 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] interval update skipping
2023-10-27 16:02:11.917 DEBUG (MainThread) [custom_components.ha_kia_hyundai.vehicle] sync request skipping, a sync within force scan interval: age_of_last_sync:0:11:20.916996, force_scan_interval: 4:00:00
File "/config/custom_components/ha_kia_hyundai/lock.py", line 47, in async_lock
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 205, in lock_action
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 32, in request_with_active_session_wrapper
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 301, in lock
File "/config/custom_components/ha_kia_hyundai/api_cloud.py", line 103, in _start_action
File "/config/custom_components/ha_kia_hyundai/lock.py", line 47, in async_lock
File "/config/custom_components/ha_kia_hyundai/vehicle.py", line 205, in lock_action
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 32, in request_with_active_session_wrapper
File "/config/custom_components/ha_kia_hyundai/api_cloud_us_kia.py", line 301, in lock
File "/config/custom_components/ha_kia_hyundai/api_cloud.py", line 103, in _start_action
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Additional context
When the auth errors appear in the logs, I am also unable to use the Kia app on my phone with an error that states "invalid vehicle for current session." It usually starts working again within 10 minutes or if I completely sign out of the app and sign back in.
The text was updated successfully, but these errors were encountered: