Watt Budget Charging calculator

Your Polestar in Home Assistant

Battery level, range, charging state and mileage: the community “Polestar API” integration logs in with your Polestar ID. Easy to install, read-only.

  • €0 hardware
  • 10 minutes to set up
  • Read-only
  • Polestar 2, 3, 4
Polestar 2 Long Range
Home · seen 3 min ago
Parked
76%389 km●
050%100%
Doors
Locked
Odometer
46,120 km
Target
90%

How it works in one minute

HACS

Brand-new guide

It was written in October 2026 from the integration's official documentation, but nobody in the Watt Budget community has followed it end to end on their car yet. Trying it? Tell me what works and what gets stuck.

Your PolestarPolestar cloud
(car's 4G)
Polestar API
(HACS integration)
Home
Assistant
What it isA community integration that reads your Polestar account's data
CostFree
DataBattery level, range, charging state, time left, mileage, vehicle information
CommandsNone: read-only
Where it worksAnywhere, through the car's connection
Depends onPolestar's servers and your Polestar ID

What you need

  • Home Assistant installed and reachable from your computer.
  • HACS, the community store for Home Assistant extensions (installation explained on hacs.xyz).
  • Your Polestar ID (the Polestar app's email and password). Check it works on Polestar's login page.

1Install the integration

  1. Install the integrationIn HACS, search for “Polestar API”, click Download, then restart Home Assistant.
  2. Add itSettings → Devices & services → Add integration, search for Polestar API.
  3. Sign inEnter your Polestar ID's email and password.
  4. Find the carThe car appears as a device under Settings → Devices & services → Polestar API.
Empty sensors? That's known

Depending on the model, Polestar doesn't return all data: some sensors stay empty. The developers can't fix it and encourage owners to ask Polestar for a public API.

2The data you get

DataWhat it's for
Battery levelIn %, the value to give Watt Budget
Estimated rangeIn kilometres
Charging state and cableFor an automation when you get home
Charge time leftWhile charging
MileageFor your stats
Vehicle informationModel, software, service due
Rename the entities right away

Replace the long names with short ones, for example sensor.polestar_battery (Settings → Devices & services → Entities → the entity → cog). Your cards, automations and Watt Budget settings will be much easier to read.

3Connect Watt Budget

The sensor to enter in Watt Budget, under Settings › Home Assistant: the battery level sensor (in %) of the Polestar device.

Once connected, Watt Budget reads the level every minute: no more typing the starting percentage, and the charge is worked out from the real battery level.

The four steps (HTTPS access, token, sensors, check) are explained on the guides home page and in the Watt Budget guide.

4Precautions

  • Values can lag a little: the car only sends them at certain moments.
  • Unofficial integration: the manufacturer can change its app and break it overnight. Keep the official app on your phone.
  • Don't shorten the update interval: each query can wake the car and drain its 12 V battery. The defaults are a good balance.
  • Your credentials stay in your Home Assistant; neither Watt Budget nor I can see them.

Frequently asked questions

Can I start the climate?

No, the integration is read-only. Keep the Polestar app for commands.

Is the Polestar 4 supported?

It uses the same account, but some data may be missing. The battery level is enough for Watt Budget.

Does Watt Budget get access to my car?

No. Watt Budget only reads the battery level sensor in your Home Assistant, from your browser, with the token you give it. It never sees your manufacturer login or the car's location.

My model isn't listed. Can it work?

Often yes: these integrations go through the manufacturer's app, shared across the range. The easiest is to try, then tell me how it went via the contact page.

Links and thanks

Thanks to the pypolestar team, who maintain the integration and its translations.

Does your car reach Home Assistant another way? Share your method: the next guides will follow your feedback.

The other Home Assistant guides

What does a charge really cost you? Off-peak tariffs, solar, rapid chargers and XCombo codes: Watt Budget works it all out, free and without an account.

Open Watt Budget