Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: The official website (the GitHub repository page) could not be fetched this time. The content below is based on existing knowledge of the project, so please refer to the official repository and documentation for specific details.
Overview
TeslaMate is an open-source, self-hostable data logger for Tesla vehicles, written in Elixir. It continuously collects vehicle data, stores it in your own PostgreSQL database, and displays it through preconfigured Grafana dashboards, so you stay in control of your data.
Key Features
- Trip logging: Records the route, distance, duration, energy consumption, and speed of every drive.
- Charging statistics: Records the energy added, power curve, and location of every charge, and lets you set electricity prices per location to estimate charging costs.
- Battery health: Tracks changes in range and battery capacity over time to help you assess battery degradation.
- Idle drain analysis: Measures how much energy the car uses while parked (commonly known as "vampire drain").
- Sleep-friendly: Tries not to prevent the car from going to sleep, reducing the extra energy use caused by data collection.
- Geo-fences: Define your own frequent places (such as home or work) to label trips and charging locations.
- MQTT integration: Publishes vehicle status to MQTT, making it easy to connect to smart home systems such as Home Assistant and Node-RED.
- Multi-vehicle support: Multiple vehicles under one account can be logged together.
- Data import: Supports importing historical data from some other logging tools (such as TeslaFi).
Target Users and Use Cases
It suits Tesla owners who want a detailed, long-term picture of how their vehicle is used, especially those who don't want to hand their data over to paid third-party services and are willing to host it themselves. Common uses include analyzing daily energy consumption and charging costs, monitoring battery degradation, and connecting vehicle status to home automation.
Core Strengths
- Data is stored on your own server, so you control your privacy.
- Free and open source, with an active community and thorough documentation.
- Rich Grafana dashboards that you can also customize yourself.
- Can replace commercial data logging services such as TeslaFi.
Deployment
The official recommendation is to deploy with Docker Compose, which typically includes the following containers:
- The TeslaMate application (with a built-in web admin interface)
- PostgreSQL database
- Grafana (with preconfigured dashboards)
- Mosquitto MQTT broker (optional)
Once deployed, enter your Tesla account's API token in the TeslaMate web interface and logging will begin. It can run on a home server, NAS, Raspberry Pi, or cloud host. For long-term operation, make sure to back up the database.
Technical Requirements
- A device that can run Docker, such as a Linux host, NAS, or Raspberry Pi
- The device must be online 24/7 to log data continuously
- A network environment that can reach the Tesla API
Notes
- TeslaMate relies on the official Tesla API, so changes to the API policy may affect its functionality.
- The web interface and Grafana do not come with robust access protection by default. Before exposing them to the public internet, configure a reverse proxy and authentication.
Discover more
AlertHub
Get alerts from GitHub releases.
Anubis
Weighs the soul of incoming HTTP requests to stop AI crawlers
Cloudlog
Log your amateur radio contacts anywhere.
DOCAT
Host your docs. Simple. Versioned. Fancy.
Domain Locker
🌐 The all-in-one tool, for keeping track of your domain name portfolio. Got domain names? Get Domain Locker!
Flyimg
Resize and crop images on the fly. Get optimised images with MozJPEG, WebP or PNG using ImageMagick, with an efficient caching system.