Skip to main content

tesla-powerwall-json-py

Python module to access local Tesla Powerwall JSON API https://github.com/piersdd/tesla-powerwall-json-py

NOTE: Tesla offer no official API to their Powerwall & Gateway; therefore, this library may well stop working at any time without warning.

Written by Piers Dawson-Damer

Description

Python interface to the local Tesla Powerwall Gateway API.

  • Meter information: Battery, Grid, Load & Solar
  • Battery state of charge
  • Toggle the operation state from Charge to Discharge.
  • Set reserve for backup/blackout event.

Principlly developed to interface with the excellent Home Assistant project https://developers.home-assistant.io/en and a time series database such as InfluxDB.

Credits

Many thanks to: Vince Loschiavo for documenting the API (https://github.com/vloschiavo/powerwall2)

Božo Stojković for his JSON-Python object code (https://stackoverflow.com/users/4936137/božo-stojković)

License

Apache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0. This code is provided as-is with no warranty. Use at your own risk.

Metadata

Release files for tesla-powerwall-json-py 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tesla-powerwall-json-py 0.0.1
File Size Uploaded
tesla-powerwall-json-py-0.0.1.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tesla-powerwall-json-py 0.0.1
File Interpreter ABI Platform
tesla_powerwall_json_py-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.6 kB

Release files / tesla-powerwall-json-py-0.0.1.tar.gz

Download URL tesla-powerwall-json-py-0.0.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a7530779fdb4a2b1cfafac3910c828fe3e3f42c3756fc30b4190c31a59a476b5
BLAKE2b-256 checksum
How to use checksums
d567f35a0d37d4e86b151191c8199baa1d6a34ca6c9cd3696a84f41310a40b8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release files / tesla_powerwall_json_py-0.0.1-py3-none-any.whl

Download URL tesla_powerwall_json_py-0.0.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db249ab7e27c5025f89f4fe64eef8f8a522501d8e88ca365481606705c0ce1ff
BLAKE2b-256 checksum
How to use checksums
e18e30b382b6f1cfb7fcee534dccc62dc495e3bcd51856c3b50144e3a31232d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page