Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 4.36 KB

README.md

File metadata and controls

81 lines (60 loc) · 4.36 KB

Home Assistant Add-on: TeslaMate

A self-hosted data logger for your Tesla 🚘

About

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.

Sponsor me to maintain this add-on

TeslaMate Version Ingress Supported Architectures

Requirements

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.

Installation

  1. Add my add-ons repository to Home Assistant or click the button below to open my add-on repository on your Home Assistant instance.

    Open add-on repo on your Home Assistant instance

  2. Install this add-on.

  3. 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.

  4. Configure Grafana as detailed in this add-on's documentation.

  5. Enter your PostgreSQL configuration information.

  6. Enter your Grafana configuration information.

  7. Enter your MQTT configuration information.

  8. Click the Save button to store your configuration.

  9. Start the add-on.

  10. Check the logs of the add-on to see if everything went well.

  11. Click the OPEN WEB UI button to open TeslaMate.

Migrating to this version of the add-on

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:

  1. Install this version of the TeslaMate add-on as per the details above. Keep your current version installed for now.
  2. Open the old add-on configuration options.
  3. Click the three dots at the top and select "Edit in YAML".
  4. Highlight and copy all the options.
  5. Open this add-on's configuration options.
  6. Click the three dots at the top and select "Edit in YAML".
  7. Replace all content with the configuration copied above.
  8. Stop the old add-on.
  9. Start the new add-on.
  10. Verify everything is working as before and uninstall the old add-on.

Everything should pick up where it was before.