Skip to content

Releases: jasonacox/pypowerwall

v0.1.2 - Error Handling and Proxy Stats

02 Jan 18:39
Compare
Choose a tag to compare
  • PyPI 0.1.2
  • Added better Error handling for calls to Powerwall with debug info for timeout and connection errors.
  • Added timestamp stats to pypowerwall proxy server.py (via URI /stats and /stats/clear)

pyPowerwall Debug

DEBUG:pypowerwall [0.1.2]

DEBUG:loaded auth from cache file .powerwall
DEBUG:Starting new HTTPS connection (1): 10.0.1.2:443
DEBUG:ERROR Timeout waiting for Powerwall API https://10.0.1.2/api/devices/vitals

Proxy Stats via http://{proxy}/stats

{"pypowerwall": "0.1.2", "gets": 2, "errors": 3, "uri": {"/stats": 1, "/soe": 1}, "ts": 1641148636, "start": 1641148618, "clear": 1641148618}

v0.1.0 - Added Vitals Data

29 Nov 05:41
Compare
Choose a tag to compare
  • PyPI 0.1.0
  • Added protobuf handling to support decoding the Powerwall Vitals data (requires protobuf package)
  • Added function vitals() to pull Powerwall Vitals
  • Added function strings() to pull data on solar panel strings (Voltage, Current, Power and State)
     vitals = pw.vitals(jsonformat=False)
     strings = pw.strings(jsonformat=False, verbose=False)

v0.0.3 - Binary Poll Function, Proxy Server and Simulator

24 Nov 02:22
Compare
Choose a tag to compare
  • PyPI 0.0.3
  • Added Proxy Server - Useful for metrics gathering tools like telegraf (see proxy]).
  • Added Powerwall Simulator - Mimics Powerwall Gateway responses for testing (see pwsimulator])
  • Added raw binary poll capability to be able to pull protobuf formatted payloads like '/api/devices/vitals'.
     payload = pw.poll('/api/devices/vitals')

v0.0.2 - Scan Function

17 Oct 07:43
Compare
Choose a tag to compare
  • PyPI 0.0.2
  • pyPowerwall now has a network scan function to find the IP address of Powerwalls
# Scan Network for Powerwalls
python -m pypowerwall scan

Output Example:

pyPowerwall Network Scanner [0.0.2]
Scan local network for Tesla Powerwall Gateways

    Your network appears to be: 10.0.3.0/24

    Enter Network or press enter to use 10.0.3.0/24: 

    Running Scan...
      Host: 10.0.3.22 ... OPEN - Not a Powerwall
      Host: 10.0.3.45 ... OPEN - Found Powerwall 1234567-00-E--TG123456789ABC
      Done                           

Discovered 1 Powerwall Gateway
     10.0.1.45 [1234567-00-E--TG123456789ABC]

v0.0.1 Initial Release

17 Oct 04:42
Compare
Choose a tag to compare
  • Initial First Beta Release 0.0.1