finds.dev← search

// the find

teslamate-org/teslamate

★ 8,078 · Elixir · AGPL-3.0 · updated Jun 2026

A self-hosted data logger for your Tesla 🚘 [main maintainer=@JakobLichterfeld]

TeslaMate is a self-hosted logger for Tesla vehicles that captures drive data, charging sessions, and battery health into Postgres and surfaces it through pre-built Grafana dashboards. It's for Tesla owners who want full ownership of their vehicle data and are comfortable running Docker. The Elixir/Phoenix LiveView stack is a good fit for the real-time state-machine problem of tracking a car that wakes and sleeps unpredictably.

The sleep-aware polling logic is the core technical win — it avoids vampire drain by letting the car sleep as soon as conditions allow, which is harder than it sounds and the main reason people choose this over alternatives. The Grafana dashboard collection is genuinely extensive: battery degradation curves, vampire drain by location, efficiency by temperature — these are not trivial to build yourself. MQTT publishing means the data flows naturally into Home Assistant or Node-RED without any custom integration work. The migration history going back to 2019 with 80+ migrations shows careful, incremental schema evolution rather than a big-bang rewrite.

The dependency on Tesla's unofficial API is the elephant in the room — Tesla has broken third-party API access multiple times and can do it again without notice, which would brick the entire product for every user simultaneously. The Grafana dashboards are stored as JSON blobs in the repo, so customizing one means forking it and losing upstream updates; there's no clean extension point. Multi-account support exists but the token refresh flow is fragile by design since it's reverse-engineered auth rather than OAuth. The AGPLv3 + CLA combination is a real friction point if you want to contribute a fix from within a company — many corporate contribution policies block AGPLv3 CLA assignments outright.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →