Live demo, synthetic data

Your Polestar 2,
understood.

The Polestar Data Portal API only returns the current state of the car. This app polls it, keeps every snapshot in SQLite, derives trips and charge sessions, and shows them in a small self-hosted dashboard with a weekly summary written by Claude.

View on GitHub Quick start
Loading demo data…

Rendered in your browser from data/demo.json: a synthetic car, made-up places and tariffs. Energy figures are estimates, as in the real app.

What it shows

Now

Charge gauge, range, a status chip (Charging, Driving, Parked), lock and service badges, last position.

Report

A weekly summary written by Claude from aggregated figures only. No VIN, no positions.

Trips

Distance per day and estimated consumption. One trip per driving window.

Charging

Power curve, energy and cost per session, and what peak-rate charging cost you versus the cheapest window.

Battery

State of charge over time with sessions shaded, and charge lost while parked.

Insights and Air

Real-world range, cost per 100 km, a day-by-hour grid, and cabin PM2.5 against configurable bands.

Honest numbers

The car is event-driven and exposes no energy counters, so energy figures are estimates and are labelled that way. Everything runs on your own machine, read-only against the API; nothing here can control the car.