v0.7.2 - Cloud Mode Settings
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
authpath
which defaults to current directory (authpath=""
) - Proxy - An environmental variable
PW_AUTH_PATH
is added which defaults to current directory.
This also adds the option to specify the energy site ID (siteid
):
- API - The initializer now has
siteid
which defaults to None. - Proxy - The existing environmental variable
PW_SITEID
is available to set thesiteid
.
import pypowerwall
pw = pypowerwall.Powerwall(email="[email protected]",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