-
-
Notifications
You must be signed in to change notification settings - Fork 16
Installation
- Home Assistant installed and running
- HACS (Home Assistant Community Store) installed
- A supported battery system with network access
- Electricity provider API credentials if required (see Electricity Providers)
- Open HACS in Home Assistant
- Click the three dots in the top right
- Select Custom repositories
- Add repository URL:
https://github.com/bolagnaise/PowerSync - Category: Integration
- Click Add
- Click Download on the PowerSync integration
- Restart Home Assistant
- Go to Settings > Devices & Services
- Click + Add Integration
- Search for PowerSync
- Click to add
The initial Home Assistant setup flow follows this order:
- Select your electricity provider:
- Australia: Amber Electric, Localvolts, Flow Power, Globird, AEMO VPP
- UK: Octopus Energy
- Europe: EPEX Day-Ahead
- New Zealand: NZ TOU
- Complete the provider-specific pricing step:
- Amber Electric: API token, then site/NMI selection
- Flow Power: NEM region and base rate, then network tariff
- Localvolts: API key, Partner ID, and NMI
- Octopus Energy: product and GSP region
- EPEX: market region and VAT/tax settings
- Globird, AEMO VPP, Other/Custom TOU, and NZ TOU: static tariff / AEMO / retailer details
- Select your battery system:
- Tesla Powerwall, FoxESS, Sigenergy, GoodWe, Sungrow SH-series, AlphaESS, Solax Hybrid, ESY Sunhome, SAJ H2/HS2, or Neovolt/Bytewatt
- Select your optimization provider:
- Smart Optimization (PowerSync LP), or the battery's native/built-in optimizer
- If Smart Optimization is selected, enter optimizer basics:
- battery capacity, maximum charge/discharge power, and optimizer backup reserve
- Enter battery connection details (see Battery System Setup)
Initial setup ends after the battery connection step. Fine-tuning is done afterwards from Settings > Devices & Services > PowerSync > Configure or from the mobile app.
The Configure button opens a menu in this order:
- Electricity provider options
- Battery connection settings for your selected battery system
- Optimization settings
- AC inverter settings
- Solar curtailment settings
- Demand charge settings
- EV charging settings
- Weather and solar forecast settings
- Auto-update settings
If you enter through Electricity provider options and continue through the full provider path, PowerSync then chains through demand charges, curtailment, optional AC inverter connection, weather/solar forecast, and EV charging.
After setup, go to Settings > Devices & Services > PowerSync. You should see your battery and energy sensors listed under the integration. Key sensors to check:
sensor.power_sync_solar_powersensor.power_sync_grid_powersensor.power_sync_battery_powersensor.power_sync_home_loadsensor.power_sync_battery_level
If sensors are missing, check Settings > System > Logs for errors from custom_components.power_sync.