Custom integration for Tesla Vehicles using TeslaFi API feed.
Prior To Installation
You will need your TeslaFi API Token. You can obtain the API token here (note you will need to be logged in first).
Also pay attention to the checkboxes on the "Commands" tab. Any command that is not enabled here will fail when trying to use it.
Note that TeslaFi allows monitoring only one vehicle per account. If you have multiple Tesla vehicles, you would need to create multiple TeslaFi accounts; and therefore you would have multiple API Tokens.
- Open HACS Settings and add this repository (https://github.com/jhansche/ha-teslafi/) as a Custom Repository (use Integration as the category).
- The
TeslaFi
page should automatically load (or find it in the HACS Store) - Click
Download
- Continue to Setup
Alternatively, click on the button below to add the repository:
Copy the teslafi
directory from custom_components
in this repository,
and place inside your Home Assistant Core installation's custom_components
directory.
- Install this integration.
- Navigate to the Home Assistant Integrations page (Settings --> Devices & Services)
- Click the
+ Add Integration
button in the bottom-right - Search for
TeslaFi
- Enter your API Token from above
Alternatively, click on the button below to add the integration: