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
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 Clearcam. SaaS products in the same category include Homey, Amazon Alexa and Apple Home.
- Is TeslaMate actively maintained?
- Yes. The most recent commit to TeslaMate was on 11 November 2026, and the latest release is v4.4.0, published on 23 October 2026. The project has 9.3k stars on GitHub, with 144 added in the last 30 days.
Open-source alternatives to TeslaMate
See all
Gladys Assistant
Home Automation & IoT
A privacy-first, open-source home assistant
Apache-2.0vs Apple Home★ 3.3k
Home Assistant
Home Automation & IoT
:house_with_garden: Open source home automation that puts local control and privacy first.
Apache-2.0vs SmartThings★ 92k
Clearcam
Home Automation & IoT
Add object detection, tracking, mobile notifications, and search to any security camera.
GPL-3.0vs Alarm.com★ 2.5k
Frigate
Home Automation & IoT
NVR with realtime local object detection for IP cameras
MITvs Alarm.com★ 37k
Evcc
Home Automation & IoT
solar charging ☀️🚘
MIT★ 7.6k
ESPHome
Home Automation & IoT
ESPHome is a system to control your ESP32, ESP8266, BK72xx, RP2040 by simple yet powerful
OSSvs Tuya Smart★ 12k
SaaS alternatives to TeslaMate
See all
Homey
Home Automation & IoT
Smart home hub and app that connects devices across many protocols
SaaS
Amazon Alexa
Home Automation & IoT
Amazon voice assistant and smart home platform for Echo and compatible devices
SaaS
Apple Home
Home Automation & IoT
Apple app for controlling HomeKit and Matter smart home devices
SaaS
AWS IoT Core
Home Automation & IoT
Managed AWS service for connecting IoT devices to the cloud
SaaS
Blynk
Home Automation & IoT
IoT platform for building mobile and web apps that control connected devices
SaaS
Control4
Home Automation & IoT
Smart home automation platform for lighting, audio, security and climate control
SaaS

