
TeslaMate
Self-hosted Tesla data logger that stores driving/charging data and provides Grafana dashboards, maps, statistics, and automation integrations.

TeslaMate is a self-hosted data logger for Tesla vehicles that collects vehicle telemetry (drives, charges, battery state, locations) and persists it for long-term analysis. It ships with prebuilt Grafana dashboards and a web UI so you can explore trip history, efficiency, charging behavior, and vehicle status over time.
Key Features
- Automatic drive, charge, and state tracking with historical timelines
- Stores data in PostgreSQL and exposes metrics to Grafana for rich dashboards
- Included Grafana dashboards for efficiency, battery degradation, charging stats, vampire drain, and more
- Map-based trip visualization and location history (via the web UI)
- Docker Compose-based deployment with bundled dependencies (PostgreSQL, Grafana)
- Integrations via MQTT for home automation/notifications (e.g., publish vehicle state)
- Supports multiple vehicles on the same installation
- Data export/backups possible through the underlying database (PostgreSQL)
Use Cases
- Track long-term vehicle efficiency, consumption, and battery health trends
- Analyze charging habits and costs (home vs. public, session history)
- Feed vehicle status into home automation (presence/charging state via MQTT)
Limitations and Considerations
- Requires Tesla account authentication; availability can be affected by Tesla API changes and authentication flows
- Telemetry frequency depends on vehicle sleep behavior; aggressive polling can reduce sleep time
TeslaMate is commonly used as a private alternative to hosted Tesla tracking apps by keeping your telemetry under your control while still offering modern dashboards and automation hooks. It is best suited for owners who want historical analytics and integrations beyond what the official Tesla app provides.

