Since Kia API update: vehicle soc: timeout
Describe the bug
Since the KIA API changed and evcc got updated, the SoC of my Kia Niro EV is not getting reported to the wallbox. In the evcc log, I have this message:
[lp-1 ] ERROR 2025/08/21 16:53:45 vehicle soc: timeout
Charging works fine but the SOC is not getting shown.
Steps to reproduce
- Connect car
- Look at log
- See the error ...
Configuration details
vehicles:
- type: template
template: kia
title: Kia Niro EV
user: xxxxxxxxxxxxxxxxxxxxxxx
password: xxxxxxxxxxxxxxx
vin: KNACRxxxxxxxxxxxx
capacity: 64
language: en
name: niroev
Log details
[site ] DEBUG 2025/08/21 16:55:15 battery 1 soc: 97%
[site ] DEBUG 2025/08/21 16:55:15 site power: -724W
[lp-1 ] DEBUG 2025/08/21 16:55:15 charger status: C
[lp-1 ] ERROR 2025/08/21 16:55:15 vehicle soc: timeout
[lp-1 ] DEBUG 2025/08/21 16:55:15 pv charge current: 8.22A = 7.17A + 1.05A (-724W @ 3p)
[lp-1 ] DEBUG 2025/08/21 16:55:15 set charge current limit: 8.22A
[site ] DEBUG 2025/08/21 16:55:15 solar forecast: accumulated 0.012Wh from 2025-08-21 16:55:05 +0200 CEST to 2025-08-21 16:55:15 +0200 CEST
[site ] DEBUG 2025/08/21 16:55:15 solar forecast: produced 1985.132
[site ] DEBUG 2025/08/21 16:55:15 solar forecast: accumulated 1779.505kWh, produced 1985.132kWh, scale 1.116
What type of operating system or environment does evcc run on?
Docker container
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
v0.207.3
I'm a fresh user migrating from OpenWB, where no one seems to care about the Kia support, and I'm getting also an error in my fresh setup:
cannot create vehicle type 'template': cannot create vehicle type 'kia': login failed: missing code
I guess Kia/Hyundai are not yet finished tinkering with their API…
Habe das selbe Problem mit der selben Fehlermeldung. Ich hatte das auch mit der HomeAssistant Integration vor ein paar Wochen, KIA hat wohl was an der Login Methode geändert.
Habe das gleiche Problem mit meinem Kia Soul. Cloud-Verbindung funktioniert wieder nicht.
Same for Hyundai Bluelink - since weekend there is a 50% chance of getting a connection. First guess: maybe the api calls limits have been lowered or an IP-address rate limit was implemented, because: Typically, one of two cars being plugged in is connected properly here, but over night they flip roles and the other one is shown connected instead. Today is the first day since weekend both are well connected simultaneously - did they change something again? ;)
Kia hat auf der Login-Seite ein Captcha eingebaut (https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/issues/855), das führt bis auf weiteres zu einem Ende aller nicht-interaktiven Anmeldeversuche... Kann man sehen, wenn man sich einmal aus der ach so großartigen neuen Kia-App abmeldet und neu anmeldet.
Hyundai scheint (im Moment) noch zu funktionieren.
Ja, das Captcha ist wohl die Ursache. So lange man evcc nicht neu startet scheint es noch zu funktionieren, da dann nur die bereits existierenden Tokens erneuert werden. Bei einem Neustart schlägt dann direkt der Login fehl. Siehe auch https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/1260#issuecomment-3213350542.
yes, same to me. unfortunately did this read too late... so after update and restart evcc - my kia ev3 couldn't connect ... hope there will be a chance kia uses a friendly captcha API?!
KIA ist echt ein absoluter Drecksladen (geworden). Mein erster und letzter KIA bei dem was die zZ abziehen :(
I have the same problem , I can't connect with evcc to my kia ev3. But the kia connect app works fine, in evcc yaml i use the same user & pasword. I even reinstalled the kia app and there is no problem it just works but evcc still refuse to connect. hopelfully is there a clever user who solves this problem!!!
cannot create vehicle type 'template': cannot create vehicle type 'kia': login failed: missing code That seems to be the problem , before the evcc update and restart it worked great!
@Robert28021962
cannot create vehicle type 'template': cannot create vehicle type 'kia': login failed: missing code That seems to be the problem , before the evcc update and restart it worked great!
That's the result of the problem, not the problem itself. The problem was and still is that Kia introduced a Captcha during login which can't be solved by the login routines used by evcc. The reason it stopped working for you is the restart of evcc. Without the restart evcc would have kept on refreshing the old token it had acquired during the previous run while there was no captcha active on the Kia side of things. You can easily verify this by logging out of your Kia app. On the next login you'll be asked to solve a Captcha request.
Thank you for your response. I already understood that this is the result of an other problem.
The question now is of Kia or EVCC kan work around this.
lets see whats happens ....
The guys of the Kia/Hyundai/Uvo integration are also busy with the same problem: https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/1260
And they have just solved it!!
Here's the solution they came up with: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/871/files (plus, consenting to a banner when logging in to the German Kia website)
Where do you consent to the Banner? Can you please share a Link or explain where to Login?
Andreas Herten @.***> schrieb am So., 24. Aug. 2025, 14:10:
AndiH left a comment (evcc-io/evcc#23147) https://github.com/evcc-io/evcc/issues/23147#issuecomment-3218060438
Here's the solution they came up with: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/871/files (plus, consenting to a banner when logging in to the German Kia website)
— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/23147#issuecomment-3218060438, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSNYTVJI6KZWK33PB5IAM33PGTUVAVCNFSM6AAAAACEO7FWPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJYGA3DANBTHA . You are receiving this because you authored the thread.Message ID: @.***>
Where do you consent to the Banner? Can you please share a Link or explain where to Login?
Andreas Herten @.***> schrieb am So., 24. Aug. 2025, 14:10: …
Log in to https://www.kia.com/de and grant access to the account
OK but that doesn't solve the Problem that my evcc instance doesn't Show the soc.
wjasperse @.***> schrieb am So., 24. Aug. 2025, 14:44:
wjasperse left a comment (evcc-io/evcc#23147) https://github.com/evcc-io/evcc/issues/23147#issuecomment-3218080820
Where do you consent to the Banner? Can you please share a Link or explain where to Login?
Andreas Herten @.***> schrieb am So., 24. Aug. 2025, 14:10: … <#m_4209768559813033689_>
Log in to https://www.kia.com/de and grant access to the account
— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/23147#issuecomment-3218080820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSNYTV2LPZM6OITMXQ64UT3PGXSZAVCNFSM6AAAAACEO7FWPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJYGA4DAOBSGA . You are receiving this because you authored the thread.Message ID: @.***>
This is step 1, step 2 is a code change that is needed. As referred earlier;
The guys of the Kia/Hyundai/Uvo integration are also busy with the same problem: https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/1260
OK so evcc needs to be fixed first? I don"t use the Kia Home Assistant Integration from HACS, only the evcc Integration
wjasperse @.***> schrieb am So., 24. Aug. 2025, 14:52:
wjasperse left a comment (evcc-io/evcc#23147) https://github.com/evcc-io/evcc/issues/23147#issuecomment-3218086011
This is step 1, step 2 is a code change that is needed. As referred earlier;
The guys of the Kia/Hyundai/Uvo integration are also busy with the same problem: Hyundai-Kia-Connect/kia_uvo#1260 https://github.com/Hyundai-Kia-Connect/kia_uvo/issues/1260
— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/23147#issuecomment-3218086011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSNYTV7DUK7X2LYMCZ7XPD3PGYR3AVCNFSM6AAAAACEO7FWPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTEMJYGA4DMMBRGE . You are receiving this because you authored the thread.Message ID: @.***>
kia_uvo obviously has a solution with v2.43.9: https://github.com/Hyundai-Kia-Connect/kia_uvo/releases/tag/v2.43.9 See also https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/commit/4cb75697485f846063b5a658118c651b40f0ecfe for what needs to be changed.