github jasonacox/pypowerwall v0.4.0
v0.4.0 - Cache Bypass Option and New Functions

latest releases: v0.15.11, v0.15.10, v0.15.9...
4 years ago

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

Don't miss a new pypowerwall release

NewReleases is sending notifications on new releases.