Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Tesla HTTP Proxy #452

Closed
llamafilm opened this issue Feb 7, 2024 · 3 comments
Closed

Support for Tesla HTTP Proxy #452

llamafilm opened this issue Feb 7, 2024 · 3 comments

Comments

@llamafilm
Copy link
Contributor

llamafilm commented Feb 7, 2024

Since Tesla has deprecated the Owner API, I believe the easiest path to keep using this library (and the Home Assistant integration that depends on it) is to use Tesla's HTTP Proxy. I've built a Home Assistant add-on that does exactly this, plus it handles the initial authorization flow which is somewhat complicated. Since it's completely self-hosted, it does not require trusting any third party with your credentials. And we can still benefit from the new public key security model.

I haven't yet had time to test with this library, but I believe it only requires 3 changes:

  • optional custom API_URL
  • optional custom SSL certificate (because the HTTP proxy is not publicly accessible)
  • optional custom refresh token

Add-on is here: https://github.com/llamafilm/tesla-http-proxy-addon

@purcell-lab
Copy link

Great work!

@llamafilm llamafilm changed the title Allow custom API_URL Support for Tesla HTTP Proxy Feb 7, 2024
@alandtse
Copy link
Collaborator

alandtse commented Feb 7, 2024

We'll welcome the PR when it's provided.

@alandtse
Copy link
Collaborator

closed by #454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants