A self-hosted data logger that records high precision drive data and charging costs for Tesla vehicles.

TeslaMate is a self-hosted data logger designed to record high precision drive data and charging costs for Tesla vehicles. It functions as a server application that collects vehicle information via the Tesla API and stores it for long term analysis. By hosting the software on a private server, users maintain ownership of their vehicle telemetry and historical records.
The software is typically deployed using Docker and is compatible with various hardware environments, including a Raspberry Pi. It provides a web interface for management and utilizes a dedicated database to maintain historical records of vehicle activity, energy usage, and trip history. The system is designed to minimize vampire drain, ensuring the vehicle falls asleep as soon as possible after data collection.
TeslaMate is written in Elixir and uses a Postgres database for persistent data storage. For visualization and detailed data analysis, it integrates with Grafana to provide a set of bundled dashboards that transform raw database entries into readable charts and maps. The system publishes real-time vehicle data to a local MQTT broker, which enables connectivity with other home automation tools and notification services such as Telegram.
The architecture relies on a combination of a backend server, a database, and a visualization layer. This setup allows for the storage of granular data points that are often unavailable in standard vehicle logs. The software is licensed under the GNU Affero General Public License v3.0, which requires that any modifications to the source code remain open and available to the community.
This application is intended for Tesla owners who want full control over their vehicle data through a self-hosted infrastructure.
A data management system for cataloging, storing, and accessing datasets through a web portal and API.
A self-hosted dashboard for visualizing sports and fitness data through charts, heatmaps, and activity tracking.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.