Integration of Polestar 2

And how can you then use that account to create a developer account? Because the sign up screen will only show following options… and that is not the VOLVO ID.
Do you have some more details on the process?

I got it working now, I’ve created a Volvo account and used this for the integration, not the login for developer.
so email and password Volvo account and API key from developer site.

2 Likes

Thx, that did the trick for me too!!

2 Likes

I’ve deleted the icon: line in the custom_components/polestar_api/sensor.py file for the soc description.
this way the battery lvl in the icon corresponds to the actual lvl.

i’ll create an update with remove that icon, you can also put a new MR in the future if something could change.

great work bro, thank you, much appreciated!

any change to get the charge limit entity too?

i didn’t find the api where i can get this value
I’m using the data here:

Do I need to do something myself to get correct wording for the charging connection?

you can do this in a template or in a custom button card.
I do this for the descriptions of my charger.

These are value that i need to add, i’ll add this one, i didn’t get that value yet

@Depechie can you download this latest version:

should normally fix this long text

1 Like

there is a typo tho,

shit… just updated

I guess there will be a CONNECTION_STATUS_CONNECTED_DC": “Connected DC” too than?

could be. but once someone gets me a screenshot of it, then I’ll add them.
or if someone finds an API spec results of this, then I can add them. otherwise, I need to add too much guess value.

but open then an issue on github so I can add them in the Integration.

(at the moment I look here for feedback, but couldn’t continues read this thread)

OK when I have the time, I will do some tests charging the vehicle.
(I just noticed another typo in the word “disconnected”, 1 n missing.

done the change now

It would be best to split the API into a separate Python library for future core integration

I tried both with my Volvo account and the Developer account, but still nothing.
Just unknown states and calls being made to the API.
Any suggestions?

Edit: Hm…it seems to be working now. I guess I just needed to give it some time.

Now if we could just find a way to activate the climate control, we’d be set!