Overview of pyPowerwall
mainpyPowerwall is a Python module designed to interface with Tesla Energy Gateways to monitor and control Powerwall and solar power data. It supports Powerwall, Powerwall 2, Powerwall+, and Powerwall 3 systems.
Key features include:
- Multiple Access Modes: Supports Local Gateway APIs, official Tesla FleetAPI, unofficial Tesla Owners API, and v1r LAN TEDAPI (specifically for Powerwall 3).
- Efficiency: Caches authentication headers and API responses to reduce load on the Gateway and cloud services. It also re-uses HTTP connections for faster response times.
- Solar Data: Provides solar string data for Powerwall+ and Powerwall 3 systems.
- Core Interface: Uses a single
Powerwallclass and simple functions to fetch energy data and poll endpoints.