An iOS lockscreen widget to display the current state of charge (SoC) of your Polestar.
Since the official Polestar App does not support any kind of widgets for iOS, I developed my own with the help of Scriptable. It uses the official Polestar API which is also used to display the battery status in your profile at https://www.polestar.com.
This widget is a hobby project and the developed code is not affiliated with Polestar AB or any Volvo company or any subsidiary or affiliate of any of the aforementioned companies.
Make sure you have followed all mandatory steps described in Prerequisites.
There are two options to install the widget:
[Recommended] Click on the following button to install via ScriptDude
(make sure that you have followed step 3 of Prerequisites). ScriptDude will automatically receive updates of new versions of this widget
Scriptable
, paste the content and rename it to Polestar Lockscreen SoC Widget
.Replace the placeholder values for EMAIL_ADDRESS
and PASSWORD
with your Polestar login credentials and provide your VIN
.
// Config
const POLESTAR_EMAIL = "EMAIL_ADDRESS";
const POLESTAR_PASSWORD = "PASSWORD";
const VIN = "VIN";
Add the smallest Scriptable
widget to your lockscreen. See Apple How-To guide.
Tab on the widget to configure the widget. Select Polestar Lockscreen SoC Widget
as script, leave everything else blank and save your lockscreen.
You should now be able to see the :battery: SoC of your Polestar on you lockscreen. By clicking on the widget you will be navigated to the Polestar App.
There might be a minor lag or difference of the SoC compared to value displayed in the Polestar App because of the following reason:
The icon has 4 different states.
Charging cable not connected. The polestar icon will be displayed.
Charging cable is connected, but car is currently not charging e.g. charging has not yet started or charging has been interrupted.
Charging cable is connected, car is currently charging.
Charging cable is connected, charging is done.