Skip to content
/ tesla Public

Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.

License

Notifications You must be signed in to change notification settings

alandtse/tesla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c85dc63 · Apr 30, 2021

History

11 Commits
Apr 30, 2021
Apr 30, 2021
Apr 30, 2021
Apr 30, 2021
Apr 30, 2021
Apr 29, 2021
Apr 29, 2021
Apr 30, 2021
Apr 29, 2021
Apr 29, 2021
Apr 30, 2021
Apr 30, 2021
Apr 29, 2021
Apr 30, 2021
Apr 30, 2021
Apr 30, 2021

Repository files navigation

Tesla Custom Integration

GitHub Release GitHub all releases GitHub release (latest by SemVer) GitHub Activity

License

hacs Project Maintenance BuyMeCoffee

Discord Community Forum

A fork of the official Tesla integration in Home Assistant to use an oauth proxy for logins.

This fork uses an oauth proxy instead of screen scraping which was rejected by HA. The oauth proxy sits as a middleman between Home Assistant and Tesla to intercept login credentials such as your account and password. Due to the way the HTTP server works in Home Assistant, the auth endpoint cannot be turned off although we protect access by requiring knowledge of a ongoing config flow id. However, for maximum security, restart Home Assistant to completely disable the proxy server.

To the extent the official component adds features unrelated to the login, we will attempt to keep up to date. Users are welcome to port any fixes in this custom integration into HA. Please note that this component will not have the same quality or support as the official component. Do not report issues to Home Assistant.

Installation

  1. Use HACS after adding this https://github.com/alandtse/tesla as a custom repository. Skip to 7.
  2. If no HACS, use the tool of choice to open the directory (folder) for your HA configuration (where you find configuration.yaml).
  3. If you do not have a custom_components directory (folder) there, you need to create it.
  4. In the custom_components directory (folder) create a new folder called tesla_custom.
  5. Download all the files from the custom_components/tesla_custom/ directory (folder) in this repository.
  6. Place the files you downloaded in the new directory (folder) you created.
  7. Restart Home Assistant.
  8. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Tesla Custom Integration". If you are replacing core, remove the core integration before installing.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

Component built with integration_blueprint.