Custom Home Assistant integration for the original Powerwall V1 hardware that Tesla no longer exposes through the standard Powerwall integration.
Setup is bootstrapped through your existing Teslemetry integration: pick an energy site, complete a one-time local pairing with the gateway, and the integration then polls the gateway directly over the LAN. No cloud round-trips at runtime.
- In HACS, open Integrations → menu → Custom repositories.
- Add this repository's URL with category Integration.
- Install Powerwall V1R and restart Home Assistant.
- Settings → Devices & Services → Add Integration → Powerwall V1R, select the Teslemetry entry and energy site, then complete local gateway pairing.
Copy custom_components/powerwall_v1r/ into your Home Assistant config/custom_components/ directory and restart.
- Home Assistant 2024.4 or newer
- The Teslemetry integration installed with at least one energy site
- Network reachability from Home Assistant to the Powerwall gateway
Each gateway endpoint is polled on its own cadence by a dedicated coordinator:
- status —
/api/system_status(fast) - meters —
/api/meters/aggregates(fast) - battery SoE — direct state-of-energy endpoint (medium)
- grid status — grid connection state (medium)
- config — site configuration (slow; only changes on user edits)
All coordinators share a single authenticated PowerwallClient, so the transport and session are reused.
The integration creates one device per energy site. Many entities are disabled by default — enable them under the device page if you want the extra detail.
- Battery / Site / Load / Solar power
- Solar RGM, Generator, Conductor power (disabled by default)
- Battery state of energy (direct gateway reading, primary)
- Percentage charged (computed from remaining ÷ full pack, diagnostic)
- Energy remaining, Full pack energy
For site, battery, load, solar:
- Apparent power, Reactive power, Voltage, Current, Frequency
- Energy imported, Energy exported (long-term statistics)
- Island mode, Islander grid state, Islander grid connection
- Active alerts
- Per-phase ISLANDER frequency & voltage (Load/Main sides) (mostly disabled by default)
- Per-CT (A/B/C) real power, reactive power, current
- Per-phase L–N voltages
- Grid status
- Backup reserve percent
- Net meter mode, Customer preferred export rule
- Nominal system energy / power (AC)
- Grid code, Country, Distributor (disabled by default)
- Grid OK, Site running
- Microgrid OK, Contactor closed, Site manager running (diagnostic)
- esCAN / pw3CAN firmware updating (diagnostic)
This repository uses GitHub Releases. HACS will offer the five most recent releases.
Apache License 2.0 — see LICENSE.