Closed Theoreet closed 9 months ago
Today installed version 2.14.1 and problem isnt there anymore. So what's changed between those to versions
I am having this issue time to time, do not think this is resolved because of a change rather it is working randomly as of now.
Ditto on the exact same error that Theoreet posted
Region and Brand of car USA, Genesis GV80
Cannot connect anymore since Friday, Nov 10. Region: Europe Hyundai Gen5/NE - IONIQ5
Tried different accounts, restored Backup before Friday, nothing helped. I didn´t make any changes.
Debug Log: AttributeError: 'NoneType' object has no attribute 'get' 2023-11-12 14:32:50.094 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 5.257 seconds (success: False) 2023-11-12 14:34:40.841 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 2.070 seconds (success: False) 2023-11-12 14:34:53.529 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 2.210 seconds (success: False)
Yup, same here. It has been working (most of the time) in version 2.14.1 but once I upgrade to a newer version (any version after 2.14.1) the integration is unable to start. Region: Europe Hyundai Ioniq5.
I just upgraded to 2.16.0 . The integration is unable to start and 'needs attention'. I enabled debug logging and the HA logs show no errors or warnings, only DEBUG logs containing JSON responses containing car data so the data is coming in it seems. (see below the last few lines of debug log)
If I hover over the error icon in the integration I get something interesting that might lead to the problem: Config Not Ready: Error communicating with API: strptime() argument 1 must be str, not int
Last lines of debug log:
2023-11-16 09:28:20.059 DEBUG (SyncWorker_7) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-11-16 08:35:22+01:00
2023-11-16 09:28:20.202 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': 52.509344, 'lon': 6.123208, 'alt': 0, 'type': 0}, 'head': 156, 'speed': {'value': 0, 'unit': 0}, 'accuracy': {'hdop': 0, 'pdop': 0}, 'time': '20231116083522'}, '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': 41, 'batteryPlugin': 0, 'remainTime2': {'etc1': {'value': 51, 'unit': 1}, 'etc2': {'value': 1170, 'unit': 1}, 'etc3': {'value': 280, 'unit': 1}, 'atc': {'value': 280, 'unit': 1}}, 'drvDistance': [{'rangeByFuel': {'evModeRange': {'value': 154, 'unit': 1}, 'totalAvailableRange': {'value': 154, 'unit': 1}}, 'type': 2}], 'reservChargeInfos': {'reservChargeInfo': {'reservChargeInfoDetail': {'reservInfo': {'day': [2, 4, 5], 'time': {'time': '0870', 'timeSection': 0}}, 'reservChargeSet': False, 'reservFatcSet': {'defrost': True, 'airTemp': {'value': '0CH', 'unit': 0, 'hvacTempType': 1}, 'airCtrl': 1, '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': True, 'airTemp': {'value': '0CH', 'unit': 0, 'hvacTempType': 1}, 'airCtrl': 1, 'heating1': 0}}}, 'reservFlag': 0, 'ect': {'start': {'day': 0, 'time': {'time': '0000', 'timeSection': 0}}, 'end': {'day': 0, 'time': {'time': '0000', 'timeSection': 0}}}, 'targetSOClist': [{'targetSOClevel': 100, 'dte': {'rangeByFuel': {'evModeRange': {'value': 429, 'unit': 1}, 'totalAvailableRange': {'value': 429, 'unit': 1}}, 'type': 2}, 'plugType': 0}, {'targetSOClevel': 100, 'dte': {'rangeByFuel': {'evModeRange': {'value': 429, 'unit': 1}, 'totalAvailableRange': {'value': 429, 'unit': 1}}, 'type': 2}, 'plugType': 1}]}, 'chargePortDoorOpenStatus': 2, 'batteryPreconditioning': False, 'batterySoh': 0}, 'ign3': False, 'hoodOpen': False, 'transCond': True, 'steerWheelHeat': 0, 'sideBackWindowHeat': 0, 'tirePressureLamp': {'tirePressureLampAll': 0, 'tirePressureLampFL': 0, 'tirePressureLampFR': 0, 'tirePressureLampRL': 0, 'tirePressureLampRR': 0}, 'battery': {'batSoc': 99, 'batState': 0, 'sjbDeliveryMode': 0, 'batSignalReferenceValue': {'batWarning': 65}, 'powerAutoCutMode': 2}, 'lampWireStatus': {'stopLamp': {'leftLamp': False, 'rightLamp': False}, 'headLamp': {'headLampStatus': False, 'leftLowLamp': False, 'rightLowLamp': False, 'leftHighLamp': False, 'rightHighLamp': False, 'leftBifuncLamp': False, 'rightBifuncLamp': False}, 'turnSignalLamp': {'leftFrontLamp': False, 'rightFrontLamp': False, 'leftRearLamp': False, 'rightRearLamp': False}}, 'smartKeyBatteryWarning': False, 'washerFluidStatus': False, 'breakOilStatus': False, 'sleepModeCheck': True, 'time': '20231116083522', 'remoteWaitingTimeAlert': {'remoteControlAvailable': 1, 'remoteControlWaitingTime': 168, 'elapsedTime': '00:03:09'}, 'systemCutOffAlert': 0, 'tailLampStatus': 0, 'hazardStatus': 0}, 'odometer': {'value': 21269.8, 'unit': 1}}}, 'msgId': 'ac2b56b6-9d91-4f25-94d1-0a4aa123689a'}
2023-11-16 09:28:20.202 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - before 20231116083522
2023-11-16 09:28:20.203 DEBUG (SyncWorker_4) [hyundai_kia_connect_api.KiaUvoApiEU] hyundai_kia_connect_api - last_updated_at - after 2023-11-16 08:35:22+01:00
2023-11-16 09:28:20.203 DEBUG (MainThread) [custom_components.kia_uvo.coordinator] Finished fetching kia_uvo data in 2.264 seconds (success: False)
To confirm when you downgrade to 2.14.1 it works fine?
Please go into HACS and redownload and selection version "master" let me know if that resolves it.
Hi @cdnninja,
I installed master and it immediately started working again! Thanks a lot!!
What was the issue? Did Hyundai change date format?
To answer your question: No, 2.14.1 was working untill yesterday or the day before I think. So downgrading to that version was solving my issues for the past few weeks but not this time. Yesterday I downgraded again but without success. Master solved it!
@cdnninja Thank you so much! It's back and works fine! Re-Install "master" solved it!
Downgrade didn't work, I tried 2.14.1, 2.14.2 and 2.14.3, they all had the same error output.
Shall we leave it with "master" Version and wait for another update or is updating to latest release recommended at this moment?
In master there are missing some sensors, but yeah, that's not a major problem, only nice-to-have ;-) binary_sensor.ioniq_5_ev_charge_port sensor.ioniq_5_monthly_energy_consumption sensor.ioniq_5_target_range_of_charge_ac sensor.ioniq_5_target_range_of_charge_dc
Latest release has this fix included now.
Region and Brand of car Europe, Kia EV6
Version of the integration 2.14.2
Describe the bug
Logger: homeassistant.config_entries Source: config_entries.py:441 First occurred: 21:04:52 (1 occurrences) Last logged: 21:04:52
Config entry 'Kia Europe xxx@xxxxx.xxx' for kia_uvo integration not ready yet: Config Not Ready: Error communicating with API: strptime() argument 1 must be str, not int; Retrying in background
I already tried to reload, to re-download, to restart, to re-configure etc. but none of these helped me solving the issue