-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed Setup Error #786
Comments
What year? Looks like this changed. |
It's a 2024 |
Could you go to HACS and click redownload and select the version of "master" and let me know if that solves it or if it has a new error? |
Just reloaded the integration with the master version. However, as I was debating whether this issue might be related to the fact that my HA email is different than the Bluelink's, I had the dealership change their email on file. Now, I have to wait until the Bluelink app activate my account with this new email. I will let know as soon as I can log on Bluelink and setup your integration with the master version. I really appreciate your help here. |
It wouldn't be the login. What's happening is the reported temp is reporting as off. It used to just report the lowest temp when off. We aren't handling the word off as we expect a number. Kia Hyundai tinker with this api from time to time so we have to keep up with them on the new cars. |
Just reinstalled the integration, configured, and reloaded it. No go. Still the exact same error: invalid literal for int() with base 16: 'OFF' I still can't log in the Bluelink app, but your integration doesn't get a rejected login. |
If native app doesn't work neither will our app. To confirm you did the reinstall from master step? |
Yes, I did.
…On Thu, Dec 28, 2023, 15:49 cdnninja ***@***.***> wrote:
If native app doesn't work neither will our app. To confirm you did the
reinstall from master step?
—
Reply to this email directly, view it on GitHub
<#786 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHTXEM66D2VSDGQ4TII44Q3YLYAPJAVCNFSM6AAAAABBFZ7S22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGYZDSMBZGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
To confirm error is exact same? Like numbers etc match? If so that means it didn't update. Line numbers should change at a minimum. Make sure to restart HA after installing from master. |
The error about the value in full form would be helpful with stack trace. |
Pardon my ignorance. Where would I find such information? |
Same spot as the above logs but you may need two tabs open. One to setup the integration another to watch the live logs. Your first post contains the example of what I am looking for. As a note additional debug logs can also be enabled and may be handy. Enabling them is outlined on the readme of this github repo. |
Ok. I can do that. However, I still do not have access to the Bluelink app, after changing email with the dealership. I don't feel I'm working on a solid basis without access to my account. It can take up to 24 hrs to activate the app with the new email. So, I'll wait until that access issue is sorted out and get back to you with more log content. Thanks again. |
Just got off the phone with Hyundai regarding the activation of my account, as I still cannot connect through the app. However, following your recommended procedure, I generated further debug log, which is pasted below. It appears that the integration does make a connection and collects information about the car. Hopefully, it's meaningful to you in identifying why the setup fails nonetheless. Let me know if I can do anything else. 023-12-29 09:24:09.611 DEBUG (SyncWorker_5) [hyundai_kia_connect_api.KiaUvoApiCA] hyundai_kia_connect_api - Get Vehicles Response {"responseHeader":{"responseCode":0,"responseDesc":"Success"},"result":{"vehicles":[{"vehicleId":"GcEvxvL7rvFiDnwR26lh/A==","nickName":"KONA EV","modelCode":"KE2SEFEMEP20","modelName":"KONA EV","modelYear":"2024","fuelKindCode":"E","trim":"Ultimate -","engine":"","exteriorColor":"R2P","dtcCount":0,"subscriptionStatus":"A","subscriptionEndDate":"20261219","mileageForNextService":11629.4,"daysForNextService":"20241219","overviewMessage":"","defaultVehicle":true,"enrollmentStatus":"7","genType":"G3","valetParkingModeOn":1,"vin":"KM8HE3A67RU004640"}]}} |
That doesn't have an error or stack trace. Good data though. Did no error in logs? |
I see no error in the usual HA logs since I installed the master version. The only error I get (error communication with API) is on the Integration page as indicated in the picture I posted above. |
I deleted the master version, and re-install v2.18.0, with proper HA rebooting. I'm attaching the log, which looks pretty similar to the master version, i.e. getting the car info. Otherwise, same failed setup error on the integration page, although the HA Core log doesn't show the "ValueError: invalid literal for int() with base 16: 'OFF'" anymore. 2023-12-29 18:05:22.574 DEBUG (SyncWorker_9) [hyundai_kia_connect_api.KiaUvoApiCA] hyundai_kia_connect_api - Get Vehicles Response {"responseHeader":{"responseCode":0,"responseDesc":"Success"},"result":{"vehicles":[{"vehicleId":"GcEvxvL7rvFiDnwR26lh/A==","nickName":"KONA EV","modelCode":"KE2SEFEMEP20","modelName":"KONA EV","modelYear":"2024","fuelKindCode":"E","trim":"Ultimate -","engine":"","exteriorColor":"R2P","dtcCount":0,"subscriptionStatus":"A","subscriptionEndDate":"20261219","mileageForNextService":11600.2,"daysForNextService":"20241219","overviewMessage":"","defaultVehicle":true,"enrollmentStatus":"7","genType":"G3","valetParkingModeOn":1,"vin":"KM8HE3A67RU004640"}]}} |
Resolved! I don't know if it's because of the last update or the fact that I was finally able to connect with BlueLink, but the integration started to work. In either case, thank you for your time and support on this issue. This issue can be be marked completed. |
Just purchased Kona Electric in Vancouver, Canada.
Version of the integration is v2.18.0
Describe the bug
Despite several attempts at reloading, the setup keeps failing.
This error originated from a custom integration.
Logger: custom_components.kia_uvo.coordinator
Source: helpers/update_coordinator.py:300
Integration: Hyundai / Kia Connect (documentation, issues)
First occurred: December 27, 2023 at 10:00:30 PM (400 occurrences)
Last logged: 6:59:54 AM
Unexpected error fetching kia_uvo data: invalid literal for int() with base 16: 'OFF'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/kia_uvo/coordinator.py", line 142, in _async_update_data
await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 79, in update_all_vehicles_with_cached_state
self.update_vehicle_with_cached_state(vehicle_id)
File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/VehicleManager.py", line 84, in update_vehicle_with_cached_state
self.api.update_vehicle_with_cached_state(self.token, vehicle)
File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiCA.py", line 177, in update_vehicle_with_cached_state
self._update_vehicle_properties_base(vehicle, state)
File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoApiCA.py", line 247, in _update_vehicle_properties_base
tempIndex = get_hex_temp_into_index(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/hyundai_kia_connect_api/utils.py", line 36, in get_hex_temp_into_index
value = int(value, 16)
^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 16: 'OFF'
Any thoughts?
Thanks.
The text was updated successfully, but these errors were encountered: