wcomartin / kia_uvo Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Kia Uvo integration
License: MIT License
Home Assistant Kia Uvo integration
License: MIT License
I installed all the configuration files using samba into custom_components and doubled check to make sure the configuration was correct.
I am able to find Kia UVO in the integrations but when I try to add it it asks me to authorize. So When I try to log in to my UVO account. I simply get a unexpected error. Here are the logs about the issue.
File "/config/custom_components/kia_uvo/config_flow.py", line 36, in async_step_user
self.auth_info = await self.validate_authentication(user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 86, in validate_authentication
await self.hass.async_add_executor_job(self.kia.login)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/KiaUvo/init.py", line 44, in login
self.auth = self.__login(self.username, self.password)
File "/usr/local/lib/python3.7/site-packages/KiaUvo/init.py", line 56, in __login
return AuthToken(xhr['result']['accessToken'], xhr['result']['refreshToken'])
0.1.9
N/a
After following all the steps, I can see the Kia Uvo in my integrations but when I chose it, hassio hangs saying "Please wait while the integration is being installed" And waiting for 30 minutes id doesn't do anything. Checked the list of integration and it's not there. I've tried 3-4 times already
This is the only thing I see in logs core
2020-08-07 21:07:46 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for kia_uvo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
I upgraded HA to 2021.7.1 (current at the moment) running on HASSIO OS version is core-2021.7.2 .. was working and found car but now looks like it is blocked .. Below is the relevant log info.. I did try to uninstall and reinstall no joy.. Thanks for your work on this though..
2021-07-13 20:04:20 ERROR (SyncWorker_2) [homeassistant.loader] The custom integration 'kia_uvo' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details
Hi,
do you see any chance to get that awesome integration running for KIA Europa / Germany ?
If you need any assistance Iam happy to assist.
Kind regards
chris
Version is Home Assistant 0.114.4 running in a VM
Connecting via gui there is an exception:
File "/config/custom_components/kia_uvo/config_flow.py", line 36, in async_step_user
self.auth_info = await self.validate_authentication(user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 86, in validate_authentication
await self.hass.async_add_executor_job(self.kia.login)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/KiaUvo/__init__.py", line 44, in login
self.auth = self.__login(self.username, self.password)
File "/usr/local/lib/python3.8/site-packages/KiaUvo/__init__.py", line 56, in __login
return AuthToken(xhr['result']['accessToken'], xhr['result']['refreshToken'])
KeyError: 'result'```
## Debug log
<!-- To enable debug logs check this https://www.home-assistant.io/components/logger/ -->
```Protokolldetails ( ERROR )
Logger: custom_components.kia_uvo.config_flow
Source: custom_components/kia_uvo/config_flow.py:86
Integration: Kia Uvo (documentation)
First occurred: 13:26:25 (2 occurrences)
Last logged: 13:26:48
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/kia_uvo/config_flow.py", line 36, in async_step_user
self.auth_info = await self.validate_authentication(user_input)
File "/config/custom_components/kia_uvo/config_flow.py", line 86, in validate_authentication
await self.hass.async_add_executor_job(self.kia.login)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/site-packages/KiaUvo/__init__.py", line 44, in login
self.auth = self.__login(self.username, self.password)
File "/usr/local/lib/python3.8/site-packages/KiaUvo/__init__.py", line 56, in __login
return AuthToken(xhr['result']['accessToken'], xhr['result']['refreshToken'])
KeyError: 'result'
Hey man. Small issue. When adding this integration into HA, there's no current icon available. Not a big deal. Thank you for your work. I don't have an EV yet but I just wanted to test this out before getting one. Hopefully i'll be able to set this up and control it from my phone eventually so that I dont have to use the official Kia android app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.