Repository navigation
Home
Jan Brandsma edited this page Dec 4, 2026
·
2 revisions
Energy mastered. Zen at home.
ZenMaster is a Home Assistant integration that plans and steers a home battery fleet, heat pumps and other large loads against the dynamic energy price, the solar forecast and the house's own load. Every quarter of an hour it solves a linear optimisation (LP, with the HiGHS solver) over the next 48 hours and sends each device its setpoint.
The README gives the overview. This wiki explains the details: how to set things up, what each device does, and how ZenMaster calculates.
| Page | What you find there |
|---|---|
| Installation | HACS or by hand, and the first setup |
| The panel | The tabs, the header tiles, the planning chart, the lanes and the controls |
| FAQ | Known limits and what to do when something does not work |
| Page | What you find there |
|---|---|
| Zendure | Supported models, the connection routes and the own MQTT broker |
| Deye | Three-phase hybrid inverters through the logger stick |
| Experimental brands | Marstek, Anker SOLIX and Sessy |
| Consumers | Heat pumps, boilers, the pool, appliances, the EV charger and the appliance switch types |
| Page | What you find there |
|---|---|
| The planner | The linear program over 48 hours: variables, balance, phase limits, objective |
| Battery model | Losses, wear, end value, calibration and savings |
| Real-time control | How the fleet setpoint is divided between two plans |
| House model | The thermal model of the house, the COP and the weekly calibration |
| Hot water tank | The tank model, tapping and legionella |
| Price model | Price providers, tariffs and the prices beyond the day-ahead market |
| Solar, base load and phases | Solar calibration, base load per phase and phase detection |
| Appliances and EV | Cycle learning, placement and EV charging |
| Recorder | What ZenMaster reads from the recorder, how often, and how it keeps that light |
ZenMaster on GitHub · Releases · Issues · Licensed under GPL-3.0
Getting started
Devices
How it calculates
- The planner
- Battery model
- Real-time control
- House model
- Hot water tank
- Price model
- Solar, base load and phases
- Appliances and EV
- Recorder
More