What's Changed
- Added logic to pull string data from
/api/solar_powerwallAPI if vitals data is not available by @jasonacox in #76. - Added alerts from
/api/solar_powerwallwhen vitals not present by @DerickJohnson in #75. The vitals API is not present in firmware versions > 23.44, this provides a workaround to get alerts. - Allow customization of the cachefile location and name by @emptywee in #74 via
cachefileparameter.
# Example
import pypowerwall
pw = pypowerwall.Powerwall(
host="10.1.2.30",
password="secret",
email="me@example.com",
timezone="America/Los_Angeles",
pwcacheexpire=5,
timeout=5,
poolmaxsize=10,
cloudmode=False,
siteid=None,
authpath="",
authmode="cookie",
cachefile=".powerwall",
)New Contributors
Full Changelog: v0.7.11...v0.7.12