Intelligent battery optimisation
for Home Assistant

Automatically schedule charging, discharging, and exports to minimise your electricity costs using real-time price data and smart forecasting.

✓ Free & open source ⚡ Linear programming optimiser 📱 Companion mobile app 🌏 AU · NZ · UK · EU
PowerSync mobile app — live energy flow dashboard

Features

Everything you need to get the most out of your home battery — and more arriving every release.

🧠

Smart LP Optimiser

Built-in linear programming engine with the HiGHS solver plans the cost-minimising charge/discharge schedule 48 hours ahead using real-time and forecast prices.

🚗

EV Smart Charging

Coordinate Tesla, OCPP, Zaptec, and generic chargers so vehicles charge during the cheapest periods while meeting your departure target.

AEMO Spike Detection

Detect wholesale price spikes and force-export battery power to maximise revenue — supports Amber, AEMO VPP, Flow Power, and GloBird.

☀️

Solar Curtailment

Monitor AEMO negative-price signals and automatically reduce inverter output with load-following logic across every supported brand.

⛈️

Tesla Storm Watch

Enable, disable, or automate Tesla's predictive pre-charging before severe weather — as a switch, a sensor, and an automation trigger.

🔋

Off-Grid EV Reserve

Separate battery reserve held for vehicle charging during a grid outage, independent of your normal backup reserve.

📡

Tesla VPP Enrollment

Enroll or unenroll in Tesla's virtual power plant / grid-services programs directly from Home Assistant or the mobile app.

📱

Mobile App

Purpose-built companion app with real-time energy flow, optimisation schedules, automation builder, and system control.

📊

Auto Dashboard

PowerSync builds you a fully-fledged Lovelace dashboard on setup — power flow, price charts, controls, TOU schedule and more.

Choose your Tesla API path

PowerSync supports three ways to talk to your Powerwall. The free PowerSync.cc sign-in is exclusive to this site.

Tesla Fleet API

Free (self-hosted)
  • Uses HA's native Tesla Fleet integration
  • Full Powerwall + vehicle command support
  • Requires Tesla developer account
  • You manage your own OAuth credentials
Learn more

Teslemetry

~$4 / month
  • Commercial proxy service
  • Full Powerwall + vehicle command support
  • No developer setup required
  • Native HA integration or direct API token
Visit teslemetry.com

Supported Systems

Works with the most popular battery inverters and electricity price providers across Australia, New Zealand, the UK, and Europe.

Battery Inverters

Tesla Powerwall 2 & 3 FoxESS Sigenergy GoodWe Sungrow SH

AC-Coupled Inverters

Fronius Enphase Huawei Zeversolar Sungrow SG GoodWe

Electricity Providers

Amber Electric Octopus Energy EPEX Day-Ahead AEMO VPP Flow Power GloBird Energy Localvolts NZ TOU

EV Chargers

Tesla Fleet API Tesla BLE (ESPHome) Teslemetry OCPP Zaptec Generic (switch + amps)

Companion App

Monitor and control your system from a dedicated mobile interface — live energy flow, LP optimisation schedule, price forecasts, and one-tap configuration.

PowerSync app — Smart Optimization summary with current and next action
Smart Optimization
PowerSync app — 24-hour LP optimiser action plan
24-hour action plan
PowerSync app — TOU schedule and 48-period price chart
TOU & price forecast
PowerSync app — battery and provider settings
Plug-and-play setup

Get Started

Install in minutes through HACS.

1

Add Repository

Open HACS in Home Assistant, click the menu, and select Custom repositories. Add the repo URL as an Integration.

Bolagnaise/PowerSync
2

Install

Search for PowerSync in HACS, click Download, and restart Home Assistant.

3

Configure

Go to Settings → Integrations → Add Integration, search for PowerSync, pick your Tesla API provider, and follow the wizard.

Open in HACS