github jasonacox/pypowerwall v0.7.4
v0.7.4 - Bearer Token Auth

latest releases: v0.15.13, v0.15.12, v0.15.11...
2 years ago

What's Changed

  • Add Bearer Token Auth by @jasonacox in #63
  • Powerwall Network Scanner - Added optional IP address argument to network scanner by @mcbirse in #63. The Scan Function can now accept an additional argument -ip= to override the host IP address detection (python -m pypowerwall scan -ip=192.168.1.100). This may be useful where the host IP address/network cannot be detected correctly, for instance if pypowerwall is running inside a container.

pyPowerwall

  • This release adds the ability to use a Bearer Token for Authentication for the local Powerwall gateway API calls. This is selectable by defining authmode='token' in the initialization. The default mode uses the existing AuthCookie and UserRecord method.
import pypowerwall

pw = pypowerwall.Powerwall(HOST, PASSWORD, EMAIL, TIMEZONE, authmode="token")

Proxy

  • The above option is extended to the pyPowerwall Proxy via the envrionmental variable PW_AUTH_MODE set to cookie (default) or token.

Full Changelog: v0.7.3...v0.7.4

Don't miss a new pypowerwall release

NewReleases is sending notifications on new releases.