TeslaMate logo

TeslaMate

Website

Self-hosted data logger and analytics for Tesla vehicles.

8.9k stars 1k forks last commit first released AGPL-3.0

Actively maintained

Last commit 23 Aug 2026.

TeslaMate screenshot

TeslaMate is an open-source application that records and analyses telemetry from Tesla vehicles. It captures high-precision drive, charge and location data, stores it in a PostgreSQL database and provides dashboards and integrations for further analysis and automation.

Key Features

  • Elixir-based backend with a Phoenix web interface and BEAM runtime for concurrent, fault-tolerant data collection.
  • Stores all vehicle telemetry in PostgreSQL for durable, queryable storage and long-term analysis.
  • Pre-built Grafana dashboards and a custom Grafana image for visualizing drives, charges, battery health and efficiency.
  • Publishes vehicle data to a local MQTT broker for easy integration with Home Assistant, Node-RED and other automation tools.
  • Docker and Docker Compose deployment with additional installation options (NixOS, manual Debian/Ubuntu) and environment-variable configuration.
  • Data import tools for migrating historical data from services like TeslaFi and community scrapers.
  • Features to minimize car wake-ups (reducing vampire drain), geo-fencing/custom locations, multi-vehicle support and charging cost tracking.

Use Cases

  • Personal vehicle analytics: track trips, charging sessions, battery health and energy efficiency over time.
  • Home automation / integrations: feed live telemetry into Home Assistant or Node-RED via MQTT for automations and notifications.
  • Fleet or multi-vehicle monitoring: aggregate and compare driving and charging metrics across multiple vehicles on the same account.

Limitations and Considerations

  • Relies on Tesla's owner/fleet APIs: changes to Tesla's APIs or authentication may break data collection until the project adapts.
  • Some vehicle or MCU configurations require special handling; certain hardware upgrades (e.g., MCU2) have recommended image tags to improve sleep behaviour.
  • Upgrades and major PostgreSQL migrations have produced occasional migration issues for some users; careful backup and testing are recommended before major upgrades.

TeslaMate provides a focused toolset for collecting, analysing and integrating Tesla telemetry with home automation and dashboarding systems. It is designed for reliability and extensibility and is commonly deployed via Docker or native system packages for long-term vehicle analytics.

Categories:

Tags:

Tech Stack:

Share:

Similar to TeslaMate

Emoncms logo

Emoncms

Energy and environmental time-series logging and visualization

1.3k
529
Last commit

Open-source web app to collect, process, store, and visualize energy, temperature, and other environmental time-series data with dashboards, graphs, and an API.

AGPL-3.0Actively maintained
Alternative to:
InfluxDB Cloud logo
InfluxDB Cloud
+14

Plex Rewind

Plex statistics dashboard with an optional rewind view.

300
14
Last commit

Plex Rewind is a self-hosted web app that visualizes Plex usage data using Tautulli, Overseerr, and Plex data, with a configurable rewind feature and live dashboards.

GPL-3.0Actively maintained
Alternative to:
Stats for Spotify logo
Stats for Spotify
Netdata logo

Netdata

Real-time, per‑second full‑stack monitoring and observability

80.3k
6.6k
Last commit

Open-source, agent-based monitoring platform delivering per-second metrics, edge ML anomaly detection, tiered time-series storage and centralized cloud UI.

GPL-3.0Actively maintained
Alternative to:
Datadog Cloud Monitoring logo
Datadog Cloud Monitoring
+16
Plausible Analytics logo

Plausible Analytics

Privacy-friendly, cookie-free web analytics

28.8k
1.8k
Last commit

Open-source, lightweight web analytics with a simple dashboard, privacy-first metrics, and goal/conversion tracking as an alternative to Google Analytics.

AGPL-3.0Actively maintained
Alternative to:
Google Analytics logo
Google Analytics
+13
Chartbrew logo

Chartbrew

Open-source self-hosted data visualization dashboards

4k
458
Last commit

Chartbrew is an open-source platform to build live dashboards and reports by connecting SQL/NoSQL databases and REST APIs.

Actively maintained
Alternative to:
Looker logo
Looker
+14
Grafana logo

Grafana

Observability dashboards and alerting for metrics, logs, and traces

76.4k
14.6k
Last commit

Grafana is an open source observability and data visualization platform for querying, graphing, and alerting on metrics, logs, and traces across many data sources.

AGPL-3.0Actively maintained
Alternative to:
Grafana Cloud logo
Grafana Cloud
+19