Skip to content
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

Not working #1

Open
nicolasjund opened this issue Jun 2, 2020 · 1 comment
Open

Not working #1

nicolasjund opened this issue Jun 2, 2020 · 1 comment

Comments

@nicolasjund
Copy link

Hi,
I am an french user, a i have an E-niro car.

I'm looking for a way to send the percentage of battery remaining in my Jeedom home automation.
When I saw your GIT I thought it would be possible. But it seems that something is not working.

see below what i done, have you an idea of my mistake, Thanks

pi@KIAUVO:~$ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from KiaUvo import KiaUvo
client = KiaUvo("[email protected]", "K**********!")
client.login()
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/.local/lib/python3.7/site-packages/KiaUvo/init.py", line 44, in login
self.auth = self.__login(self.username, self.password)
File "/home/pi/.local/lib/python3.7/site-packages/KiaUvo/init.py", line 56, in __login
return AuthToken(xhr['result']['accessToken'], xhr['result']['refreshToken'])
KeyError: 'result'
client.get_vehicle_list()
Traceback (most recent call last):
File "", line 1, in
File "/home/pi/.local/lib/python3.7/site-packages/KiaUvo/init.py", line 78, in get_vehicle_list
raise InvalidAuthException
KiaUvo.InvalidAuthException

@wcomartin
Copy link
Owner

Hi @nicolasjund

I have found out recently that kia uses a different method for the app in different regions of the world, there is another project being developed that has more progress on this, https://github.com/Hacksore/bluelinky

this project was originally written for Hyundai but as Hyundai and Kia share a lot of resources, there has been work towards integrating KiaUvo in bluelinky its not ready yet but is being worked on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants