Skip to main content

powerwallstats: python library to read statistics from a Powerwall 2 gateway

Project description

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.

To install

pip install powerwallstats

Example of use

examples/show_powerwallstats.py provides a simple example use case. You will need need to setup customer email and password information on your Powerwall: follow the Tesla documentation to do this.

Testing status

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.

References

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerwallstats-1.2.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file powerwallstats-1.2.0.tar.gz.

File metadata

  • Download URL: powerwallstats-1.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for powerwallstats-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d266f0218d3f6dcc4d52848329e49279fa767697d18a57555d361e4c1ac31925
MD5 fcd90475f8f7fdd84ca2b4af59df405e
BLAKE2b-256 c36fa8fd8ed326a8e784aa9ac329e49e86c35787594a7b881973e304aaaf6189

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page