Polestar - Login failed
Describe the bug
Since midnight tonight, I've been getting the following message in my evcc v0.303.1: creating vehicle PS2 failed: cannot create vehicle type ‘template’: cannot create vehicle type ‘polestar’: login failed: could not find resume path Has Polestar changed something again?
Steps to reproduce
- Start evcc
- Message in the Log ...
Configuration details
vehicles:
- name: PS2
type: template
template: polestar
user: [email protected]
password: passwd
vin: LPSVxxxxxxx
title: DE-DE-123E
capacity: 78
Log details
[polestar] TRACE 2026/03/20 09:44:17 <!DOCTYPE html>[HTML - LOGIN ERROR] ERROR 2026/03/20 09:44:17 creating vehicle PS2 failed: cannot create vehicle type 'template': cannot create vehicle type 'polestar': login failed: could not find resume path
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
evcc version 0.303.1 (40af84f87)
Hi all,
Have exact same issue with my Polestar configuration. Tryed to delete and reconfigure, but still same error message.
What type of operating system or environment does evcc run on? Docker container on Synology WEB config (db)
Version evcc version 0.303.1 (https://github.com/evcc-io/evcc/commit/40af84f87b0ad9dce5280791dfe16e51223fbe54)
Same for me. They have probably changed the API again.
For me it worked multiple times today until I updated to 0.303.1 5min ago. Working Version before: 0.301.2
I downgraded, but it didn't help.
Polestar API works in Homeassistant, so maybe not an API issue?
Have you done a restart, to delete working tokens?
Have you done a restart, to delete working tokens?
Yes but still the same issue, is yours working?
Have you done a restart, to delete working tokens?
Yes but still the same issue, is yours working?
No. But I don't use HA. So I wanted to know if you restarted HA with the EVCC "Plugin".
Have you done a restart, to delete working tokens?
Yes but still the same issue, is yours working?
No. But I don't use HA. So I wanted to know if you restarted HA with the EVCC "Plugin".
Ah I see, my evcc is running in Linux, not in HA.
Same issue for me. Running evcc in a proxmox lxc.
It looks like the same issue from a few weeks ago. More knowledgable people thought about an API change. But it appeared to be a downtime for quite some hours.
Hopefully it is just some downtime.
Same issue since the update
Same issue since 0.303.1 Also 0.303.2 does not help. Restarted home assistant, still evcc broken for Polestar. Polestar API component in home assistant working fine, so what's the difference between Polestar API and evcc?
I confirm the Polestar integration (HACS) is working without any issues. - This is not helping us here, however it might help to debug?
The code is trying to extract the resume url from the HTML form and this regex is no longer working. The question is must the regx just updated?
https://github.com/evcc-io/evcc/blob/9b7add3370bd18f50b6a1576a0cd14c771a5712f/vehicle/polestar/identity.go#L96-L100
I restored my evcc yesterday to version 0.302.1 but the issue persists.
If something in the authorization changed it should have worked on version 0.302.1.
I am sure it would be a minute task for @loebse 👍
There is actually a change in how to get the resume path. This fix works for me.
Can I somehow make these changes when running evcc as App in HomAssistantOS?
Made it work by sending the SOC via mqtt in iobroker to homeassistant and then evcc
soc: # state of charge
source: mqtt
topic: polestar2/CarTelematicsV2/battery/0/batteryChargeLevelPercentage
timeout: 10s
I am sure it would be a minute task for @loebse 👍
Is the change from @loebse already in the nightly build? I downloaded nightly today and it still does not work.
I am sure it would be a minute task for @loebse 👍
Is the change from @loebse already in the nightly build? I downloaded nightly today and it still does not work.
No, it is not merged yet...
Mit diesem Docker Container bekomme ich Werte, die ich an den evcc pushe. Es sollte also eine saubere Lösung über die API möglich sein.