This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Help with Tesla Powerwall API V3
#21
(26.01.2022, 13:00)admin Wrote: Specify API_Token = 'xyz' together with other credentials then you should be able to use the RequestFromTesla/WriteToTesla functions. Keep in mind that the token has expiration time and has to be refreshed.

I receivedĀ an 401 error if i do what you suggested.

API_TokenĀ is the Refresh Token?

But why the other credentials? they are only used in the GetToken function and never used if you hardcoded the api_token.
Reply


Messages In This Thread
Help with Tesla Powerwall API V3 - by jamesng - 21.04.2021, 14:18
RE: Help with Tesla Powerwall API V3 - by gjniewenhuijse - 26.01.2022, 16:19

Forum Jump: