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.
No problem, Letās hope everything gets resolved as soon as possible, Iām afraid it might still take some time.
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.
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:
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
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 ![]()
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ā¦
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

