7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

TeslaMate

Open source

TeslaMate is a self-hosted data logger that records drives, charging and battery data from your Tesla into a database you control, with Grafana dashboards.

docs.teslamate.org
TeslaMate homepage screenshot
GitHub stars
9.1k
Last commit
yesterday
Repository age
7 years
Version
v4.3.0
Licence
AGPL-3.0
Self-hosted
Yes

About TeslaMate

TeslaMate is a self-hosted data logger for Tesla vehicles. It records drives, charging sessions and vehicle state into a database that you run yourself, so owners keep their own long-term history instead of depending on a third-party service to store it.

Recorded data is kept in a Postgres database and explored through bundled Grafana dashboards that cover areas such as battery health, charge level and charging sessions. Vehicle data is also published to a local MQTT broker, which lets you connect it to Home Assistant, Node-RED or Telegram. Other capabilities include automatic address lookup, custom geo-fenced locations, charge cost tracking and support for several vehicles on one Tesla account. It is designed to let the car fall asleep as early as it can, which avoids adding extra battery drain.

TeslaMate is written in Elixir, released under the AGPL-3.0 licence and deployed with Docker. The web interface is translated into 19 languages, and data can be imported from TeslaFi and tesla-apiscraper. The project warns that fake sites and unofficial apps use its name, so it should only be obtained from the official repository and documentation site.

Key features

  • High-precision drive data recording
  • Bundled Grafana dashboards for battery and charging
  • MQTT publishing for home automation tools
  • Charge cost tracking
  • Custom geo-fenced locations
  • Multiple vehicles per Tesla account
  • Import from TeslaFi and tesla-apiscraper

Good fit for

  • →Tracking battery health over time
  • →Logging home and public charging costs
  • →Feeding vehicle data into Home Assistant
Built with
Elixir
Docker
Tags
tesla
self-hosted
data-logger
grafana
mqtt
docker
elixir
home-automation

TeslaMate: questions and answers

What is TeslaMate used for?
TeslaMate is a self-hosted data logger that records drives, charging and battery data from your Tesla into a database you control, with Grafana dashboards. It is a good fit for tracking battery health over time, logging home and public charging costs, and feeding vehicle data into Home Assistant.
Is TeslaMate open source?
Yes. TeslaMate is open source under the AGPL-3.0 licence. Its source code is on GitHub at teslamate-org/teslamate and is written mainly in Elixir.
Is TeslaMate free?
Yes. TeslaMate is open source, so the software itself is free to use.
Can I self-host TeslaMate?
Yes. TeslaMate can be self-hosted on your own server or infrastructure; there is no official hosted version.
What are some alternatives to TeslaMate?
Similar open-source tools in the Home Automation & IoT category include Gladys Assistant, Home Assistant and Frigate. SaaS products in the same category include Homey, Indigo and Amazon Alexa.
Is TeslaMate actively maintained?
Yes. The most recent commit to TeslaMate was on 1 October 2026, and the latest release is v4.3.0, published on 29 September 2026. The project has 9.1k stars on GitHub.

Open-source alternatives to TeslaMate

See all

SaaS alternatives to TeslaMate

See all