What's Changed
- v0.7.2 - Add cloud mode configuration setting by @jasonacox in #61
Details
This adds the option to set file path for cloud auth (.pypowerwall.auth) and site (.pypowerwall.site) cache files:
- API - The initializer now has
authpathwhich defaults to current directory (authpath="") - Proxy - An environmental variable
PW_AUTH_PATHis added which defaults to current directory.
This also adds the option to specify the energy site ID (siteid):
- API - The initializer now has
siteidwhich defaults to None. - Proxy - The existing environmental variable
PW_SITEIDis available to set thesiteid.
import pypowerwall
pw = pypowerwall.Powerwall(email="email@example.com",cloudmode=True,siteid=1234567,authpath=".auth")This will provide more flexibility to run the pypowerwall proxy in a container for cloud mode support.
Full Changelog: v0.7.1...v0.7.2