Repository navigation
Consumers
Besides batteries, ZenMaster plans the large loads of the house. The space heating, the pool heat pump and the electric boiler are part of the linear program itself; appliances, the EV and the hot water heat pump are placed in their cheapest windows and enter the plan as load on their phase. See The planner.
| Consumer | What ZenMaster does | Details |
|---|---|---|
| Heat pump for space heating | Reaches the evening setpoint at the lowest cost, with long, low runs | House model |
| Hot water heat pump and electric boiler | Heats the tank in the cheapest window that still keeps it above its minimum | Hot water tank |
| Pool heat pump | Keeps the pool in its temperature band at the lowest cost | Hot water tank |
| Dishwasher, washing machine, dryer, custom appliances | Once armed, places the cycle in the cheapest window before its deadline, within the phase limits | Appliances and EV |
| EV charger | Off, solar (opportunistic while it pays), plan (reach a target SoC before departure) or fast | Appliances and EV |
- The plan keeps only runs the heat pump can make: no blocks under its minimum power (higher in the cold) and no runs shorter than half an hour.
- The setpoint goes to the heat pump as power, capacity, temperature or temperature difference, whichever its control entity takes.
An appliance is armed when it starts drawing power after a rest. The switch type sets how ZenMaster holds that cycle and lets it run.
| Switch type | At arming | In the cheapest window | Note |
|---|---|---|---|
| Plug | The smart plug is switched off | The plug is switched on | The appliance has to resume after a power cut |
| Pause/resume | The appliance's own pause button is pressed | Its resume button is pressed | For example Miele, or Home Connect washers and dryers |
| Remote start | Armed when its remote start allowed sensor turns on | Its start button is pressed | A cycle that already runs cannot be held, so a start without a plan is only shown as running |
| Automation | Nothing is switched | Nothing is switched | ZenMaster only publishes the status on sensor.<appliance>_state
|
Your own automation holds the cycle on armed and lets it run on the change from armed to planned or running (the latter covers a direct start):
triggers:
- trigger: state
entity_id: sensor.vaatwasser_state
from: armed
to: [planned, running]
actions:
- action: button.press
target:
entity_id: button.vaatwasser_resume # the appliance's own resume or startWith another switch type, an appliance that waits without drawing power is armed by pressing button.<appliance>_arm, for example from an automation. With a plug, that button also switches the plug off, and with pause/resume it presses the pause button, so an appliance that already runs waits for its window.
With a program duration sensor (for example Home Connect's estimated total program time) the learned cycle is stretched or shortened to the selected program's length.
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