powerwallstats: python library to read statistics from a Powerwall 2 gateway
Powerwall 2 Stats
The library powerwallstats provides a simple class to access a Powerwall 2 directly from your local Powerwall gateway, not Tesla's cloud.
pip install powerwallstats
Example of use
This has been tested on 4th March 2021 against a Powerwall 2 running firmware version 20.49.0 that requires customer login credentials to be presented. Tested using python3.
Alas Tesla do not appear to have released API documentation to customers, which seems short sighted. Details of the Tesla gateway API have been reverse engineered and further details are available from https://github.com/vloschiavo/powerwall2
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for powerwallstats-1.0.1-py2-none-any.whl