Surplus charging
The car charges exclusively on electricity that would otherwise be exported. The control follows the cloud cover second by second, modulating between 1.4 and 11 kW — and a target still guarantees a full battery in the morning.
Renewable energy
Photovoltaics, heat pump, EV and a dynamic electricity tariff — designed as one system, not four separate appliances.
The hardware for a largely self-sufficient family home has been off the shelf for years: PV modules, battery storage, a heat pump, a wallbox. What's usually missing isn't technology — it's integration. Only when every component talks to the others, and one central logic decides where each kilowatt-hour goes, do separate appliances become a system that cuts costs instead of merely generating electricity.
This page describes a reference architecture: which components belong in such a house, which software connects them, and which strategies the system uses to weigh sunshine, electricity price and demand against each other. That integration work is exactly the part softleb takes on.
The heart of the system is a priority cascade: for every kilowatt-hour generated, the energy management decides in real time where it creates the most value. The order below is the sunny-day default — it is continuously re-sorted against electricity price, weather forecast and charge levels.
Base load and running appliances are covered directly. The self-consumed kilowatt-hour is the most valuable one in the whole system: it replaces grid electricity at the full retail rate instead of earning only the feed-in tariff.
The SG-Ready heat pump uses surplus to overheat the hot-water tank and pre-heat the house — heat is the cheapest storage in the building. A continuously modulated heating element mops up even the smallest remaining surplus as the final stage.
Whatever house and heat don't absorb fills the battery for the evening and night. If tomorrow's forecast is sunny, the battery may discharge deeper tonight — the forecast controls the reserve.
With the car at home, surplus charging modulates the charging power second by second between roughly 1.4 and 11 kW — single-phase under thin clouds, three-phase in full sun. Targets like “80% by 7 a.m.” remain guaranteed throughout.
Only the remainder goes to the grid. With variable feed-in remuneration via direct marketing, it pays to shift feed-in from the battery into the evening price peak instead of selling at midday's daily low.
With a dynamic supply tariff the cascade inverts at night: in the cheapest hours the grid charges battery and car — and when exchange prices go negative, consuming actually earns money.
The bill of materials for such a house — with what really matters about each component for integration: open interfaces and local controllability. The products named are proven examples, not requirements.
The source of the system. An east-west layout yields a flatter, longer generation profile that matches the daily load curve better than a pure south-facing peak. The hybrid inverter couples PV and battery on the DC side and is the energy management's most important data source — it must be locally readable and controllable, not only through a vendor cloud.
e.g.SMA Sunny Tripower Smart EnergyFronius Symo GEN24 PlusVictron MultiPlus-II
Shifts the midday yield into evening and night, and doubles as the workhorse of every price strategy: grid-friendly charging in cheap hours, targeted discharging into the price peak. Controllability is decisive — charging power, discharge locks and reserve must be settable from outside.
Heats house and hot water at a coefficient of performance of 3 to 5 — one kilowatt-hour of electricity becomes three to five kilowatt-hours of heat. For integration, the interface is what counts: SG-Ready is the minimum; a native Modbus or vendor protocol allows true target-temperature control instead of bare on/off signals.
e.g.Vaillant aroTHERM plusPanasonic AquareaViessmann Vitocal
Hot water is generated entirely electrically: primarily by the heat pump, backed by a continuously modulated heating element that still uses a 200 W leftover surplus. The overheated tank is the cheapest battery in the house — a kilowatt-hour of thermal storage costs a fraction of a kilowatt-hour of lithium storage.
Real surplus charging needs two things from the wallbox: fine current control from 6 to 16 A per phase, and automatic phase switching so that around 1.4 kW of surplus is already enough to charge. The vehicle itself reports its state of charge via API — without that value, no meaningful charge planning is possible.
You can only control what you measure. A bidirectional meter at the grid connection point delivers import and export every second — the reference input of every control loop. Sub-metering on heat pump, wallbox and heating element makes the flows inside the house visible and every analysis trustworthy.
A smart metering system is the ticket in: for dynamic tariffs that pass the exchange price through in 15-minute slots, and for variable feed-in remuneration via direct marketing. Registering heat pump and wallbox as controllable loads under §14a EnWG additionally lowers the grid fees.
The intelligence of the house is a software stack of proven open-source building blocks — read top to bottom: from the dashboard the residents see, down to the small computer in the basement that runs it all.
One glance at the phone shows generation, storage level, charging power and the current exchange price. Operating the system mostly means one thing: setting targets — the system decides the rest.
Home Assistant is the control centre: PV forecast, price signal, charge levels and weather data converge here, and this is where the automations live — overheating the tank, boosting the heat pump, applying §14a dimming signals without anyone noticing.
EVCC is the specialised controller for the car: surplus charging with second-by-second tracking, price-optimised target charging, phase switching, battery prioritisation. It supports well over a hundred wallboxes and the APIs of most vehicles.
The devices speak different languages — Modbus TCP, MQTT, OCPP, SG-Ready contacts, vendor REST APIs. An MQTT broker as the central data bus decouples the components; every control loop runs entirely locally.
A frugal small computer carries the whole system, buffered by a UPS. Readings land in a time-series database for long-term analysis; remote access runs over VPN, the configuration is versioned, backups run automatically.
Local-first as a principle: every control loop runs inside the house. Cloud services only supply auxiliary data — prices, forecasts, the vehicle's state of charge — and their outage slows the system down instead of stopping it.
Only integration makes these strategies possible — each one cuts costs or raises self-consumption, and together they are the difference between a PV installation and an energy system.
The car charges exclusively on electricity that would otherwise be exported. The control follows the cloud cover second by second, modulating between 1.4 and 11 kW — and a target still guarantees a full battery in the morning.
Overheat the 300-litre tank to 60 °C at noon instead of exporting for a few cents: the hot-water tank is the cheapest kilowatt-hour of storage in the house, shifting PV energy into the evening's shower and heating.
If the PV forecast is weak, battery and car charge in the cheapest night hours of the dynamic tariff. When exchange prices go negative, the market pays for consumption — the system takes such hours along automatically.
With variable remuneration, not every exported kilowatt-hour is worth the same. The battery holds energy back and feeds into the evening peak on purpose — direct marketing turns the PV system into a small power plant on the market.
PV-yield and load forecasts decide each morning how the day is run: reserve in the battery or free discharge, shifting the heat pump into the sunny midday hours, placing the car's charging window.
Heat pump and wallbox registered as controllable loads noticeably lower the grid fees. The operator's rare dimming signals are applied automatically by the energy management — with a battery and thermal mass, nobody in the house notices.
Typical target figures for a family home with 10–15 kWp, storage, heat pump and EV — the exact numbers depend on load profile, roof and location.
softleb plans and builds the integration — vendor-independent, on open standards, coordinated with your electrical and heating contractors.
For clarity: electrical and heating installation belongs in the hands of certified contractors. softleb delivers concept, software and integration — working closely with your installer throughout.
Whether it's a concrete project or just a vague idea — tell me briefly what it's about. You'll get an honest first assessment soon, usually within one to two business days.
Start a project