Skip to content

Getting Started

Everything you need to install Hanergy and get your first solar surplus automation running in minutes.


Hanergy supports two deployment methods:

The primary installation method for users running Home Assistant OS or Home Assistant Supervised. The add-on integrates directly with the Supervisor and appears in the HA sidebar.

Installation Guide


Before installing, confirm the following:

  • Home Assistant 2024.1 or later — Hanergy requires recent HA APIs for entity state subscriptions.
  • At least one solar production sensor — a numeric sensor reporting watts (W) or kilowatts (kW), typically from your solar inverter.
  • Grid import and grid export sensors — most smart meters and energy inverters expose these as separate entities. Hanergy needs both to calculate surplus.
  • At least one controllable device — any Home Assistant entity of domain switch (for fixed loads) or number / input_number (for dynamic loads with adjustable setpoints).

  1. Install Hanergy — follow the step-by-step add-on or Docker installation.
  2. Complete the Setup Wizard — map your energy sensors, add your first device, and create a priority entry.
  3. Configure Your System — fine-tune devices, priorities, and engine settings.