TeslaMate

TeslaMate

Self-hosted data logger and analytics for Tesla vehicles.

7.7kstars
904forks
Last commit: 4d ago
Repo age: 7y old
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 Services

Grafana

Grafana

Observability dashboards and alerting for metrics, logs, and traces

72.4k
13.5k
Last commit: 7h ago

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

Alternative to:
Grafana Cloud
Grafana Cloud
+19
Apache Superset

Apache Superset

Data exploration, visualization, and dashboarding platform

70.7k
16.7k
Last commit: 7h ago

Apache Superset is an open-source BI platform for SQL-based data exploration, interactive dashboards, and rich visualizations with a no-code chart builder and SQL editor.

Alternative to:
Apache Superset (Managed Cloud)
Apache Superset (Managed Cloud)
+18
Metabase

Metabase

Open-source business intelligence and embedded analytics platform

46.1k
6.2k
Last commit: 8h ago

Metabase is an open-source BI and embedded analytics tool for querying databases, building dashboards, and sharing reports with permissions, alerts, and embedding.

Alternative to:
Metabase Cloud
Metabase Cloud
+19
Appsmith

Appsmith

Open-source low-code platform for internal tools and dashboards

39.2k
4.5k
Last commit: 2d ago

Build and deploy internal tools, admin panels, and dashboards with a low-code UI builder that connects to databases and APIs and supports JavaScript logic and Git workflo...

Alternative to:
Retool
Retool
+14
ToolJet

ToolJet

Low-code platform for building internal apps, dashboards, and workflows

37.5k
5k
Last commit: 12h ago

ToolJet is an open-source low-code platform to build and deploy internal tools, dashboards, and workflows with integrations for databases, APIs, and SaaS apps.

Alternative to:
Retool
Retool
+19
Redash

Redash

Query, visualize, and share data from multiple data sources

28.2k
4.6k
Last commit: 8h ago

Open source BI tool to connect to many data sources, run SQL/NoSQL queries, build visualizations and dashboards, share insights, and set alerts and scheduled refreshes.

Alternative to:
Redash
Redash
+19