Skip to content

TeslaMate

Self-hosted Tesla data logger with Grafana dashboards, for owners who want their own

Copyleft (OSI) · AGPL-3.0
  • Self-hosted
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

86

Health

Thriving

Overview

Stars

9,311

Last commit

yesterday

Nov 2026

Repository age

7 years

since Mar 2019

Latest version

v4.5.0

Nov 2026

Contributors

–

16 active in 90 days

Releases

10

last 12 months

Language

Elixir

TeslaMate records data from your Tesla and stores it in a Postgres database that you run yourself. It is written in Elixir, uses Grafana for charts and analysis, and publishes vehicle data to a local MQTT broker. The web interface comes in 19 languages.

It logs drives and charges at high precision, looks up addresses automatically, and supports geo-fenced custom locations. It tracks charge costs and handles several vehicles on one Tesla account. The car is allowed to fall asleep as soon as possible, so logging does not add vampire drain. Bundled dashboards cover battery health, projected range, efficiency, mileage, vampire drain, charging stats and a lifetime map of visited places.

MQTT output lets you connect it to Home Assistant, Node-RED and Telegram. You can import history from TeslaFi and tesla-apiscraper. It runs with Docker and is licensed under AGPL-3.0-or-later. It is not a clone of one specific commercial product. It suits owners who want long-term vehicle history that stays on their own hardware.

Who it's for

Tesla owners who track efficiency and battery degradation

Bundled dashboards show projected range, battery health and consumption over time.

Skip if: You only want a quick glance at current vehicle status in the official app.

Home Assistant users with a Tesla

Vehicle data is published over MQTT, so automations can react to it.

Skip if: You do not run a home server or MQTT broker.

Former TeslaFi users

It imports TeslaFi data and keeps the history on your own server.

Skip if: You prefer a hosted service with no maintenance.

The problem it solves

The official Tesla app shows little history about drives, charging costs or battery health. TeslaMate keeps a detailed record in a database you control, so you can analyze it over years.

Strengths

  • Imports history from TeslaFi and tesla-apiscraper
  • About 22 bundled Grafana dashboards, including battery health and vampire drain
  • Publishes vehicle data to MQTT for Home Assistant and Node-RED
  • Lets the car sleep, so logging adds no extra drain
  • Web interface in 19 languages

Trade-offs

  • You must run Postgres, Grafana and the app yourself
  • AGPL-3.0 requires sharing source of modified versions, including network services
  • Only supports Tesla vehicles

Self-host TeslaMate

Self-hostable
Yes
Hosted plan
From $4/month · pricing

Frequently asked questions

Is TeslaMate free?

Yes, the software is open source under AGPL-3.0-or-later. You pay only for the hardware or hosting you run it on, and a hosted plan also exists.

Can I self-host it?

Yes. It is built for self-hosting with Docker, Postgres and Grafana.

Can I import data from TeslaFi?

Yes. It imports from TeslaFi and tesla-apiscraper.

Does it work with Home Assistant?

Yes, through the MQTT broker that receives vehicle data.

Does it keep my car awake?

No. It is designed so the car can fall asleep as soon as possible.

Similar tools in Location trackers and sharers

Hauk

Location trackers and sharers

Self-hosted live location sharing with a PHP backend and an Android companion app

953 86 yesterday Slowing Apache-2.0

Traccar

Location trackers and sharers

Self-hosted GPS tracking server for fleets, assets and personal devices

8.2k 3.5k today Thriving Apache-2.0

Replaces Google location history

OwnTracks

Location trackers and sharers

Android app that reports your location to your own server over MQTT or HTTP

1.8k 532 today Active EPL-1.0

jetlog

Location trackers and sharers

Self-hosted personal flight log with a world map and stats for frequent flyers

353 24 3 months ago Slowing GPL-2.0

GPSLogger

Location trackers and sharers

Battery-aware Android GPS logger that saves tracks to GPX, KML and CSV files

2.6k 659 today Active GPL-2.0-only

GPSTest

Location trackers and sharers

Android app for testing GNSS satellite reception, signal status and location accuracy

2.5k 432 today Active Apache-2.0