21.04.2021, 14:18
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
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