Open-source Token #55
-
Hi, Thank you @iainbullock for working for the common good :) I tried to follow the instructions to my best, but it's quite likely that I have made multiple mistakes. But the first to steps in "Tesla HTTP Proxy setup" -page seem to work, except for the fact that I do not find client_secret from Tesla's page. Client_id is there to copy, but no client_secret. According to Tesla that's the case if you choose open source token. I'd guess that this has changed quite lately in Tesla's api.. Assuming this is not a SUE (Stupid User Error), what would be your recommended way of getting forward?
:) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
Did you follow @tux43 instructions here https://www.smartmotion.life/2024/04/23/tesla-custom-integration-with-home-assistant-on-docker/?v=6cc98ba2045f In particular section 4.9 shows where you get Client ID and Client Secret (Unless something has changed as I haven't had to run this process since my first set up) Looking at the Tesla documentation, I believe you should be generating a Partner Authentication Token. Another place to look would be the parent project which has a more active user base (and therefore the same question may have already been asked) compared to my project https://github.com/llamafilm/tesla-http-proxy-addon Let me know how you get on |
Beta Was this translation helpful? Give feedback.
-
I noticed the same thing as the OP. There are now two options you can choose from when creating an App in the Tesla Developer Portal. If you choose "Open Source" there is no Client Secret generated, so you must make sure you say "No" on this question (even if your app is going to be open source, because you will probably not publish your client-id and secret in the source of the app): I don't know anything about how auth works on the Open Source version, but since you do not have a client secret, the Oauth-dance is probably quite different from the Non Open Source version. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I still have something with my local dns. At some point tesla_http_proxy did not like my domain (.home) so I tried with .local. Now HA does not resolve .local and .home goes to SSLCertVerificationError. But this is something I will be able to solve somehow - it just takes time. Luckily it's summer and I do not really need load shredding yet :) |
Beta Was this translation helpful? Give feedback.
Did you follow @tux43 instructions here https://www.smartmotion.life/2024/04/23/tesla-custom-integration-with-home-assistant-on-docker/?v=6cc98ba2045f
In particular section 4.9 shows where you get Client ID and Client Secret
(Unless something has changed as I haven't had to run this process since my first set up)
Looking at the Tesla documentation, I believe you should be generating a Partner Authentication Token.
Another place to look would be the parent project which has a more active user base (and therefore the same question may have already been asked) compared to my project https://github.com/llamafilm/tesla-http-proxy-addon
Let me know how you get on