Skip to content

Releases: jasonacox/pypowerwall

v0.6.2 - Proxy Cache-Control

23 Mar 04:15
Compare
Choose a tag to compare

What's Changed

  • PyPI 0.6.2
  • Update docs for alerts by @DerickJohnson in #29 and #30
  • Proxy t25 - Fix Cache-Control no-cache header and allow for setting max-age, fixes #31 by @dkerr64 in #32 - Docker: jasonacox/pypowerwall:0.6.2t25

New Contributors

Full Changelog: v0.6.1...v0.6.2

v0.6.1 - Add Grid Conditions

11 Mar 15:57
Compare
Choose a tag to compare

What's Changed

  • PyPI 0.6.1
  • Added new SystemMicroGridFaulted and SystemWaitForUser grid conditions to grid_status() function. Both are mapped to "DOWN" conditions. Discovery by @mcbrise in jasonacox/Powerwall-Dashboard#158 (comment).
  • Revised error handling of SITE_DATA request due to issues noted in #12 when multiple sites are linked to the Tesla account by @mcbirse in #25
  • Proxy t24: Added new /alerts/pw endpoint with dictionary/object response format by @DerickJohnson in #26

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0 - Add Persistent HTTP Connections

27 Jul 05:04
Compare
Choose a tag to compare

What's Changed

  • PyPI 0.6.0
  • Added HTTP persistent connections for API requests to Powerwall Gateway by @mcbirse in #21
  • Requests to Gateway will now re-use persistent http connections which reduces load and increases response time.
  • Uses default connection poolmaxsize=10 to align with Session object defaults. Note: pool use applies to multi-threaded use of pyPowerwall only, e.g. as with the pyPowerwall Proxy Server.
  • Added env PW_POOL_MAXSIZE to proxy server to allow this to be controlled (persistent connections disabled if set to zero).
  • Added env PW_TIMEOUT to proxy server to allow timeout on requests to be adjusted.

Full Changelog: v0.5.1...v0.6.0

v0.5.1 - Fix grid_status() Off-Grid Map

25 Jul 00:10
Compare
Choose a tag to compare

What's Changed

  • PyPI 0.5.1
  • Add FreeBSD-specific installation instructions by @zi0r in #18
  • Add grid_status() responses for syncing to off-grid by @mcbirse in #19

New Contributors

Full Changelog: v0.5.0...v0.5.1

v0.5.0 - Exception Handling for Powerwall Connection

03 Jul 22:35
Compare
Choose a tag to compare

What's Changed

  • PyPI 0.5.0
  • Added additional exception handling to help identify connection and login errors.
  • Added is_connected() function to test for a successful connection to the Powerwall.
  • Added firmware version to command line network scan (python -m pypowerwall scan)

Proxy Server Updates (Build t16) - See here for more Proxy Release notes.

  • Add support for backup switch by @nhasan in #12
  • Add passthrough to Powerwall web interface and customize for iFrame displays by @danisla in #14
  • Remove scrollbars from web view by @danisla in #15
  • Add support for specifying a bind address by @zi0r in #16
  • Add shebang for direct execution by @zi0r in #17

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0 - Cache Bypass Option and New Functions

14 Mar 02:44
Compare
Choose a tag to compare

What's Changed

  • PyPI 0.4.0
  • Updates to poll() to force call (ignore cache) by @wcwong in #8
  • Added grid_status() function to return state of grid by @wcwong in #9
  • Added system_status() and battery_blocks() by @wcwong in #10
  • Added alerts() function to return an array of device alerts.
  • Added get_reserve() function to return battery reserve setting.
  • Expanded class to include settings for cache expiration (pwcacheexpire) and connection timeout.
# Force Poll
pw.poll('/api/system_status/soe',force=True)
'{"percentage":100}'

# Powerwall Alerts
pw.alerts()
['PodCommissionTime', 'GridCodesWrite', 'GridCodesWrite', 'FWUpdateSucceeded', 'THC_w155_Backup_Genealogy_Updated', 'PINV_a067_overvoltageNeutralChassis', 'THC_w155_Backup_Genealogy_Updated', 'PINV_a067_overvoltageNeutralChassis', 'PVS_a018_MciStringB', 'SYNC_a001_SW_App_Boot']

# Battery Reserve Setting
pw.get_reserve()
20.0

# State of Grid
pw.grid_status()
'UP'

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0 - Device Vitals Alerts and Attributes

19 Jan 07:36
Compare
Choose a tag to compare
  • PyPI 0.3.0
  • Added alerts and additional attributes from vitals() output.
  • Note: API change to vitals() output for dependant systems.

Full Changelog: v0.2.0...v0.3.0

v0.2.0 - Tesla Protocol Buffer Schema Update

18 Jan 02:18
Compare
Choose a tag to compare

New Contributors

Full Changelog: v0.1.4...v0.2.0

v0.1.4 - Battery Level Percentage Scaling

09 Jan 23:27
Compare
Choose a tag to compare
  • PyPI 0.1.4
  • Changed "Network Scan" default timeout to 400ms for better detection.
  • Added Tesla App style "Battery Level Percentage" Conversion option to level() to convert the level reading to the 95% scale used by the App. This converts the battery level percentage to be consistent with the Tesla App:
>>> pw.level(scale=True)
39.971429212508326
>>> pw.level()
42.972857751882906

v0.1.3 - Powerwall Temps

08 Jan 07:43
Compare
Choose a tag to compare
  • PyPI 0.1.3
  • Added temp() function to pull Powerwall temperatures.
pw.temps(jsonformat=True)
{
    "TETHC--2012170-25-E--TGxxxxxxxxxxxx": 17.5,
    "TETHC--3012170-05-B--TGxxxxxxxxxxxx": 17.700000000000003
}