go-powerwall is a utility designed to act as an api proxy to the tesla energy device protobuf private api.
go-powerwall proxy [flags]-l, --listen string: Specifies the host:port to listen on. Default is:8080.-o, --ondemand: Disables periodic refresh.-r, --refresh uint32: Specifies the periodic refresh frequency in seconds. Default is30.
Global flags can be set using environment variables starting with POWERWALL_, e.g POWERWALL_PASSWORD
-e, --endpoint string: Specifies the Powerwall endpoint URL. Default ishttps://192.168.91.1/.-p, --password string: Specifies the Powerwall installer password.
-
Start the Powerwall proxy server on the default port:
go-powerwall proxy -p ABCDEFGHIJ
-
Start the Powerwall proxy server on a custom port and disable periodic refresh:
go-powerwall proxy :8888 -o -p ABCDEFGHIJ
- Ensure that you have proper connectivity to the tedapi system when starting the proxy