Description
pyPowerwall is a Python module for reading data from Tesla Energy Gateways, the devices that connect Powerwall batteries and solar systems. It supports Powerwall, Powerwall 2, Powerwall+ and Powerwall 3 systems through local access, and it also reaches solar-only systems through Tesla's cloud APIs. Local access uses the gateway's own API. The Powerwall 3 TEDAPI mode uses RSA-signed protobuf messages on a wired LAN. Cloud access uses Tesla's official FleetAPI or the unofficial Owners API. The module uses one Powerwall class and simple functions to fetch energy data and poll endpoints on the gateway. It caches authentication and API responses to reduce the number of calls to the gateway when you poll often. The README includes notices about recent changes by Tesla. From firmware 25.10.0, TEDAPI needs a direct connection to the Powerwall's Wi-Fi access point. Cloud mode needs HTTP/2, so you need pypowerwall version 0.15.11 or later. It is installed with pip. The project suits developers who want to build dashboards or automations around their own Powerwall and solar data.…
Highlights
- Reads Powerwall, Powerwall+ and Powerwall 3 data
- Local gateway, FleetAPI, Owners API and TEDAPI LAN access
- Caches authentication and responses
- Single Powerwall class for simple polling
- Installed with pip
Ratings & Reviews
No ratings yet
Be the first to rate Pypowerwall.
People also visit
Powerwall-Dashboard
Grafana Monitoring Dashboard for Tesla Solar and Powerwall Systems
Lumina Energy Card
Ultra Modern 3D Home Assistant dashboard card for monitoring electricity
Teslamate
A self-hosted data logger for your Tesla [main maintainer=@JakobLichterfeld]

cobanov/teslamate-mcp
Query Tesla vehicle data and analytics from your TeslaMate database
Pypowerwall FAQ
What is pypowerwall?
A Python module that reads data from Tesla Energy Gateways for Powerwall and solar systems.
Which systems are supported?
Powerwall, Powerwall 2, Powerwall+ and Powerwall 3, and solar-only systems through the cloud modes.
How do I connect?
Through local gateway access, Tesla's FleetAPI, the Owners API or, for Powerwall 3, TEDAPI on the LAN. The setup section explains each option.
Which version is needed for cloud mode?
Version 0.15.11 or later, according to the README, because Tesla now requires HTTP/2. Update with pip install --upgrade pypowerwall.
Does it only read data?
The README says the module can monitor and control Powerwalls.
What are the best Pypowerwall alternatives?
Popular alternatives to Pypowerwall include Powerwall-Dashboard, Teslamateapi and Lumina Energy Card. See all Pypowerwall alternatives

