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
#1
Tesla recently changed its api to use v3 of the Tesla auth endpoint.

I've seen the V1 example script for logic machine, however the auth process seems a bit more complicated now!

An explanation of the auth process can be found here: https://tesla-api.timdorr.com/api-basics/authentication  and here https://teslamotorsclub.com/tmc/threads/...st-5308136

I've seen an example script written in Python

https://github.com/fkhera/powerwallCloud...up.py#L132

Is anyone able to help me convert to lua to run on logic machine.


Specifically I'd like to automate a change in mode from 'backup-only' (which forces the Powerwall to charge from the Grid when rates are cheap) to 'self-powered' (which discharges the battery to power our home).

Many thanks in advanced

Kind Regards
James
Reply


Messages In This Thread
Help with Tesla Powerwall API V3 - by jamesng - 21.04.2021, 14:18

Forum Jump: