Hanergy

How It Works

Simple, predictable solar surplus management. No forecasts, no complex algorithms — just a clear priority list that runs every 10 seconds.

The 10-Second Cycle

Every 10 seconds, Hanergy evaluates your energy situation and makes real-time adjustments. No waiting for hourly schedules or day-ahead plans.

  1. 1

    Read Sensors

    Hanergy reads solar production, grid import, grid export, and consumption from your Home Assistant sensors.

  2. 2

    Calculate Surplus

    Available surplus is derived from production minus consumption, smoothed with an exponential moving average to filter cloud transients.

  3. 3

    Walk the Priority List

    The engine walks through your priorities top-to-bottom, checking if each load is available and if surplus meets its threshold.

  4. 4

    Activate and Adjust Loads

    Loads that pass all checks are activated or adjusted. Dynamic loads receive a calculated setpoint clamped between their min and max values.

  5. 5

    Shed in Reverse

    If surplus drops below zero, the shedder walks the priority list bottom-to-top, removing loads until the deficit is recovered.

Three Load Types

Hanergy supports three load types to match how your devices actually work.

Dynamic

Adjustable setpoint — the engine calculates the optimal value (amps, temperature, percentage) based on available surplus.

EV charger, heat pump, battery inverter

Fixed

On/off only — the load draws a constant rated power. Hanergy turns it on when surplus exceeds the threshold, off when it drops.

Pool pump, irrigation valve, resistive heater

Deferred

Waits for a user-triggered request before consuming surplus. The user signals readiness, and Hanergy starts the load when surplus is available.

Washing machine, dishwasher, dryer

Priority Cascade

Surplus flows top-to-bottom. Shedding goes bottom-to-top. The highest-priority load always gets power first.

1

EV Charger

Dynamic · 1.4 kW min · 7.4 kW max

First to receive
2

Heat Pump

Dynamic · SG-Ready boost

3

Pool Pump

Fixed · 750 W

First to shed

The same device can appear at multiple priority levels with different thresholds. For example, charge the EV to 60% at priority 1, then boost to 80% at priority 4 if surplus remains.

Built-in Safety Features

Hanergy includes multiple safeguards to protect your equipment and prevent grid import.

EMA Smoothing

Exponential moving average dampens cloud transients and prevents decisions based on momentary spikes or dips in solar production.

Anti-Cycling Hysteresis

Configurable minimum on-time and off-time per load prevents rapid switching that could damage equipment like compressors or relays.

Grid Import Protection

A hard limit on grid draw ensures loads shed immediately if grid import crosses the configured threshold. Your electricity bill stays predictable.

Surplus Buffer

A configurable safety margin (default 100 W) prevents the engine from allocating right to the edge of available production.

Start optimizing your solar surplus today

Install Hanergy in minutes. Free tier includes 2 devices — no credit card required.