github jasonacox/pypowerwall v0.28.0
v0.28.0 - Gateway Authorized Clients

one hour ago

See which keys are paired with your gateway (the Tesla app, vehicles, v1r clients like pypowerwall), and remove a stale one over signed v1r, with the new authorized_clients() and remove_authorized_client() from @cnapagoda.

  • feat(tedapi): new Powerwall.authorized_clients() (and TEDAPI.get_authorized_clients()) lists the keys paired with the gateway and their state, marking the key the v1r connection signs with. details=True adds descriptions and public keys. remove_authorized_client() removes a listed key over signed v1r, and refuses the connection's own key unless allow_current_key=True — nothing is sent unless the key matches exactly one client in a fresh read of the list. CLI: python -m pypowerwall tedapi -clients [-details] and -remove_client KEY [-yes]. (#483) Note: there is no add method despite the PR title — list and remove shipped.
  • fix(tedapi): get_network_status() now explains a None from a gateway refusal over the opt-in signed Wi-Fi v1r route (wifi_v1r_fallback) after the LAN fails over, as it already did on the LAN. The fault is read from the transport that carried the request, so a refusal recorded earlier on another transport (for example before a failover) adds no hint. (#486)
  • Library version bumped to 0.28.0 (minor: new public methods, nothing existing changed).
  • Proxy image jasonacox/pypowerwall:0.28.0t118 (amd64 and arm) — pin-only update; hardware A/B t117 vs t118: 76 pass, 0 warn, 0 fail.

Install: pip install --upgrade pypowerwall==0.28.0 — https://pypi.org/project/pypowerwall/0.28.0/

Tested against live hardware: 2x Powerwall 3 + Backup Gateway 2 (no expansion packs).


Contributors

Thanks to the community members who made this release possible:

  • @cnapagoda — the gateway authorized-clients feature: list, current-key marking, and signed-v1r removal (#483); second contribution after network_status() in v0.26.0
  • @erikgieseler — Powerwall 2 list and removal validation over Wi-Fi + signed v1r on #483
  • @jasonacox-sam — reviews on #483

Don't miss a new pypowerwall release

NewReleases is sending notifications on new releases.