[APP][Pro][Official] Kia and Hyundai

Interesting. I collected my tokens yesterday and just set up HA on an old Raspi 4 I had laying around. Everything works.

I’ve tried several times. The tokens issued don’t work. The login method is also far too complicated. If Kia changes something again, the whole process starts all over again. I’m fed up with Kia’s constant nonsense. I think this was the 10th time Kia changed its app and no one could log in anymore.

Edit:

I do not recommend anyone try this via Home Assistant. The method described for generating the token immediately triggers the Bitdefender virus scanner on my Windows computer, which blocks the script.

While I don’t know why it doesn’t work I totally agree that this is too complicated for regular users. I’d like to have it supported in the app because it is a way to keep it working for now, but that’s it. Hyundai en KIA should support a regular API. But seems like that isn’t going to happen soon..

Hallo

Ik kan sinds een paar weken niet meer verbinden met mijn Kia. Als ik de auto opnieuw wil toevoegen

Krijg ik een storingsmelding die aangeeft dat er geen verbinding mogelijk is. Ik kan met dezelfde inlog gegevens wel in de app van Kia inloggen, maar niet in Homey. Wat gaat er fout?

Hoi Marcel lees even de eerder berichten. Kia heeft de API aangepast helaas.

Hoi

Sorry ben nieuw in de forum wereld. En ik zag niet zo snel tussen de ruim 800 berichten hier iets over.

Maar blijf dit zo, of word dit t.z.t. nog aangepast en je Kia weer kan verbinden met homey.

1 Like

No problem, Let’s hope everything gets resolved as soon as possible, I’m afraid it might still take some time.

1 Like

I’m currently in touch with Hyundai / KIA to discuss what official API access could look like. It’s clear that the world of home automation is still quite new to them, and they’re exploring what the best approach would be.

In an ideal scenario (which I’m rooting for) they’ll release officially supported APIs so not only we, but the entire smart home community can benefit.

That said, these are large organizations with many layers to work through, so things might take some time.

20 Likes

Hi,

I installed the Kia app (the one different from the Hyundai & Kia app also developed by @gruiter) as it shows the ā€œofficialā€ label. However, I still get the authentication error shown above by several users. Does that mean that although official (suggesting endorsed by Kia, despite the (Dutch) response from Kia above) it is still broken?

Regards,
Wilko

As indicated previously, the app will not work temporarily as long as KIA refuses to cooperate.

Please let’s put a little pressure by contacting your local Kia importer.

I did and so dit Athom already.

Is this situation also negatively impacting the integration of Hyundai cars? I am asking as our Hyundai is since a fews days not available in Homey anymore.

This is very disappointing from Kia! Today I tried the Home Assistant HACS integration ā€œKia Uvo / Hyundai Bluelinkā€ and it works. Maybe the Homey integration can also adapt to the token-based login?

I added my Kia Niro 2023. It’s a bit complicated to get the token but after a few attempts and readying carefully the instructions on step 1 I finally was successful (Open your Browser new (best is Chrome), CTRL+SHIFT+I, CTRL-SHIFT+P, type ā€˜network conditions’, uncheck ā€˜Use browser default’ and set the following user-agent: ā€œMozilla…)

@Undertaker Not that I understand the script but I don’t see any security issues here and neither did ChatGPT…

These are the instructions:

1 Like

I believe so, I cannot login anymore to Hyundai account from Homey, and getting

Error: Pairing failed: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"6a4f4cc3-04ab-40c0-8f51-ff666eff942a","errCode":"4003","errMsg":"Invalid values"}

and the device itself says: ā€œDevice is restartingā€

So yeah, for me, Hyundai is also broken completely (in both apps btw, in the community and official ones).

What we would need to have is basically do same method as HA did with tokens, the script seems to work fine, the HA integration too BUT homey apps don’t yet have the token support.

I used that one: bluelinktoken.py Ā· GitHub

1 Like

Hi, where can I find the PIN for adding my Hyundai Ioniq 5 (2022, EU)? When I paired the car with the older app, the PIN was shown in the car’s infotainment system — but I’ve been sitting in the car for an hour and can’t find it anywhere now. Thanks a lot for your help!
I have also tried PIN from bluelink app, which is not working :frowning:

It’s you who have made up the pin not blue link.

That’s what I thought.

But I’m still getting this response:
Error: Pairing failed: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin
{ "errId": "884c8dbb-a0dc-4bdd-992f-f69442b4fcc6", "errCode": "4003", "errMsg": "Invalid values" }

I have reset the PIN via the BlueLink app and also changed it several times, but nothing helped. The credentials are correct (copied from my password manager and successfully used to log in to the official BlueLink app).

This weekend the new app ā€˜my Hyundai’ ask me for my pin code before I could use it, I don’t use the old app blue link any more. Could that be a reason for your problem?

Hi, I’ve tried new app now… :slight_smile: Changed PIN with same result. Complete inicialization of new PIN… with same result.
Error: Pairing failed: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {ā€œerrIdā€:ā€œd286224b-1f18-4713-b169-225bc30a2452ā€,ā€œerrCodeā€:ā€œ4003ā€,ā€œerrMsgā€:ā€œInvalid valuesā€}

Kia has modified the API Hyundai has probably done the same. Unfortunately, I think we’ll have to wait until then and hope Doekse can do something for us

1 Like