A self-hosted data logger for your Tesla 🚘
TeslaMate is a powerful, self-hosted data logger for your Tesla.
- Written in Elixir
- Data is stored in a Postgres database
- Visualization and data analysis with Grafana
- Vehicle data is published to a local MQTT Broker
This add-on allows you to run TeslaMate on your Home Assistant server based on the the official TeslaMate docker image.
This add-on is a fork of the unmaintained add-on at https://github.com/matt-FFFFFF/hassio-addon-teslamate. Thanks to @matt-FFFFFF for maintaining this add-on in the past.
TeslaMate needs a PostgreSQL database. I recommend using the PostgreSQL add-on from @alexbelgium's repository if you aren't already using Postgres.
To get the full experience, it is recommended that you also install the community Grafana add-on and MQTT integration.
-
Add my add-ons repository to Home Assistant or click the button below to open my add-on repository on your Home Assistant instance.
-
Install this add-on.
-
Install the PostgreSQL add-on and configure and start it, if you wish to use this add-on. The database name isn't important here as the TeslaMate add-on will create the database you name in the settings if it doesn't exist.
-
Configure Grafana as detailed in this add-on's documentation.
-
Enter your PostgreSQL configuration information.
-
Enter your Grafana configuration information.
-
Enter your MQTT configuration information.
-
Click the
Save
button to store your configuration. -
Start the add-on.
-
Check the logs of the add-on to see if everything went well.
-
Click the
OPEN WEB UI
button to open TeslaMate.
Migrating to this version of the add-on should not result in any loss of data, but you can never be too careful, so I recommend you take a full backup of your Home Assistant instance and also a direct backup of the TeslaMate database as detailed in the TeslaMate documentation before proceeding.
To migrate:
- Install this version of the TeslaMate add-on as per the details above. Keep your current version installed for now.
- Open the old add-on configuration options.
- Click the three dots at the top and select "Edit in YAML".
- Highlight and copy all the options.
- Open this add-on's configuration options.
- Click the three dots at the top and select "Edit in YAML".
- Replace all content with the configuration copied above.
- Stop the old add-on.
- Start the new add-on.
- Verify everything is working as before and uninstall the old add-on.
Everything should pick up where it was before.