TeslaMate is a self-hosted data logger for Tesla vehicles that records and visualizes comprehensive vehicle telemetry.
The tool solves the problem of understanding your Tesla's performance, efficiency, and behavior over time by continuously logging data from the vehicle's API and storing it in a Postgres database. It runs on your own infrastructure, eliminating reliance on third-party services and keeping your Tesla account credentials and driving data under your control. The system publishes vehicle data to a local MQTT broker, enabling integration with home automation platforms and other tools. Data visualization is handled through Grafana dashboards that ship with the project, covering battery health, charging patterns, drive efficiency, mileage, and battery degradation tracking.
TeslaMate suits owners who want detailed insights into their vehicle's operation and are comfortable running self-hosted infrastructure. It works well for those integrating Tesla data into broader home automation systems via MQTT, or for users migrating from other data logging services who can import historical data. The project is built in Elixir with Phoenix LiveView, runs on modest hardware including Raspberry Pi, and supports multiple vehicles per Tesla account. The README emphasizes obtaining the tool only from the official repository to avoid malicious forks that could compromise Tesla credentials and vehicle data.
Development activity shows consistent engagement with the codebase, with regular updates addressing user-reported issues and feature requests. The project maintains active documentation and provides clear deployment guidance through Docker and Nix configurations. Community contributions are welcomed through established channels, and the maintainers respond to security concerns with appropriate warnings about unofficial distributions.