TEDAPI will activate in hybrid (using TEDAPI for vitals and existing local APIs for other metrics) or full (all data from TEDAPI) mode to provide better Powerwall 3 support.
The full mode will automatically activate when the customer password is blank and gw_pwd is set.
Note: The full mode will provide less metrics than hybrid mode since Powerwall 2/+ systems have additional APIs that are used in hybrid mode to fetch additional data
import pypowerwall
# Activate HYBRID mode (for Powerwall / 2 / + systems)
pw = pypowerwall.Powerwall("192.168.91.1", password=PASSWORD, email=EMAIL, gw_pwd=PW_GW_PWD)
# Activate FULL mode (for all systems including Powerwall 3)
pw = pypowerwall.Powerwall("192.168.91.1", gw_pwd=PW_GW_PWD)
This should work on Powerwall 2/+ and 3 systems. It requires that your host has access to the Gateway IP 192.168.91.1 and that you have the GW Password (usually found on QR sticker on Gateway).
Python Library
# First install the dev version
pip install pypowerwall==0.10.4.dev0
v0.10.4 - Powerwall 3 Local API Support
hybrid
(using TEDAPI for vitals and existing local APIs for other metrics) orfull
(all data from TEDAPI) mode to provide better Powerwall 3 support.full
mode will automatically activate when the customerpassword
is blank andgw_pwd
is set.full
mode will provide less metrics thanhybrid
mode since Powerwall 2/+ systems have additional APIs that are used inhybrid
mode to fetch additional dataRelated:
97
How to Test
This should work on Powerwall 2/+ and 3 systems. It requires that your host has access to the Gateway IP 192.168.91.1 and that you have the GW Password (usually found on QR sticker on Gateway).
Python Library
Simple Python test:
Proxy Test
You can also try the pypowerwall proxy:
Try these URLs: