Battery Storage for Solar with Home Assistant: How Close to Zero?
If you have solar panels on the roof or a balcony PV system, you know the evening: the panels stop producing, and the grid takes over again. Battery storage for solar shifts the midday surplus into the evening. This guide shows which type of battery fits which household, how close to zero grid import you can realistically get, and what Home Assistant adds. It is based on our own measurements with a Maxxicharge V2+ next to a 5.5 kWp rooftop system, the model calculation of HTW Berlin and the rules that apply in Germany.
The battery has been running at our house since early October. The measurements come from the first full charge and discharge cycles and are marked as such; efficiency over weeks, standby consumption, full-load behaviour and winter results follow over the winter of 2026/27. Changing settings over MQTT did not work with the first firmware; since firmware 2.43 (2.43.21 on our unit) the control unit accepts them – though with a flat electricity price there is little worth controlling (see Stage 2 of the Home Assistant section). This is part 3 of our series: part 1 explains the Huawei EMMA as a Shelly Pro 3EM, part 2 covers setup and integration: Maxxicharge Home Assistant integration. Maxxisun provided the control unit and battery block for this test; the article was not paid for, and Maxxisun did not see it before publication. The device is sold in Germany; screenshots are from our German setup.
An AC-coupled battery is a battery with its own inverter that plugs into a normal wall socket and works independently of your solar system. Its own meter at the grid connection tells it whether power is flowing into the grid (then it charges) or out of the grid (then it discharges). Typical figures are 2 to 6 kWh per block, 800 to 2,500 W of power and €1,000 to €1,500 for the control unit and one block (manufacturer prices, October 2026). On the Maxxicharge the control unit with inverter is called CCU, the battery block M3.0. The alternative is a DC-coupled battery from your inverter manufacturer, connected to the solar inverter and installed by an electrician.
Key takeaways
- A small AC-coupled battery covers the base load in the evening. At our house (about 420 W after sunset) one full 3 kWh block lasted until shortly before 11 pm; the night needs a second block.
- According to the HTW Berlin model, a household with 4,000 kWh and 5.5 kWp goes from 33 % self-sufficiency without a battery to 54 % with 3 kWh and 64 % with 5 kWh. Nobody reaches zero.
- Of the energy the battery takes in, 74 % on average came back into the house over a full cycle (four measured cycles, 70 to 79 %). With our tariff, every discharged kilowatt-hour therefore saves about 20 cents, not 31 – on a balcony system without a feed-in tariff the full electricity price counts.
- Control unit and one block cost €1,348 and save us an estimated €100 to €165 a year – eight to thirteen years to pay back, because we lose 7.8 cents of feed-in payment for every kilowatt-hour stored. Without a feed-in tariff, as on a balcony system, it pays back much faster.
- If you have or plan an electric car or a heat pump, you need power and capacity a plug-in battery cannot deliver – go for a large battery installed by a professional.
- In Germany every battery must be registered: in the Marktstammdatenregister and with the grid operator. Whether a battery may be plugged in without an electrician is legally unsettled.
- Home Assistant reads the battery completely, shows it in the Energy dashboard and reports faults. Since firmware 2.43 you can change settings from there too.
Which battery fits your household?
There are three ways to go. The table sorts them by household, not by product:
| Option | For whom | What you need | What speaks against it |
|---|---|---|---|
| Small AC-coupled battery at the wall socket (2–6 kWh) | Rooftop or balcony PV in place, evening consumption mostly base load, no EV, no heat pump | a free socket, your own meter (IR reader or Shelly), registration | Losses of AC coupling (about 30 % per cycle at our house, see measurements), limited power, legal status of plug-in batteries unclear |
| DC-coupled manufacturer battery at the solar inverter (5–15 kWh) | High evening consumption, EV, heat pump, backup power for the whole house | Electrician, compatible hybrid inverter or retrofit kit, space in the utility room | Price and installation effort; existing systems often need a new inverter |
| No battery | People at home during the day, or surplus already going into hot water or heating | Surplus consumers controlled by Home Assistant (see heating with solar surplus) | Evening and night stay on the grid |
The first option fitted us: an existing system without a hybrid inverter, an evening consumption that is almost all base load, and no appetite for modifying the solar system (a DC battery such as Huawei’s LUNA would have needed an installer). If that sounds like your house, the AC battery is the right choice – and you can add a second block later.
What “towards zero” realistically means
A battery shifts energy from noon into the evening, nothing more. How much that is worth depends on three numbers: your annual consumption, the size of your PV system and the battery capacity. The independence calculator of HTW Berlin works this out for a model household without heat pump and EV:

| Battery (usable) | Self-sufficiency with 5.5 kWp | Self-sufficiency with 2 kWp balcony PV |
|---|---|---|
| none | 33 % | 24 % |
| 3 kWh | 54 % | 40 % |
| 5 kWh | 64 % | 44 % |
| 10 kWh | 73 % | 46 % |
Self-sufficiency means: this share of the annual consumption comes from your own system. The rest is grid power, mostly in winter. HTW recommends two upper limits: at most 1.5 kWh of battery per kWp of solar and at most 1.5 kWh per 1,000 kWh of annual consumption, whichever is lower – beyond that the gain flattens out. For a balcony system with 800 W of panels a battery adds almost nothing according to the model, because there is hardly any surplus; from about 2 kWp it starts to make sense.
For “how long does one block last?” a rule of thumb is enough: divide the usable energy of your battery by your base load after sunset and you get the hours. With 2.6 kWh arriving in the house from a full 3 kWh block and a 420 W base load that is a good six hours – the evening, not the night. To make it to the morning you need a second block at a similar load, and in winter even that one rarely fills up.
Two starting points: rooftop PV or balcony PV
The Maxxicharge brings its own inverter, built into the CCU. Next to an existing rooftop system it only converts battery power – your solar inverter stays as it is. On a balcony system it can replace the micro-inverter: the panels then connect directly to the battery block, and the CCU feeds solar and battery power into the house together. We did not use this mode with our own panels; our measurements apply to the pure AC battery.
Existing rooftop system
An AC-coupled battery sits behind the inverter at a wall socket. It is not connected to your solar system; it only sees the surplus at the grid connection. For that it needs its own meter, polled over your home network; it cannot use the meter of your solar inverter. There are three ways:
- Infrared reader on the utility meter (e.g. EcoTracker, Poweropti, IOmeter): the simplest option if your digital meter has an infrared interface and you can get the PIN from the metering operator.
- Shelly 3EM or Pro 3EM in the distribution board: measures with current clamps, needs an electrician to install.
- Emulated Shelly in Home Assistant – our way: if you already have the grid power in Home Assistant (from your inverter, for example), a small program serves it in the format of a Shelly (Huawei EMMA as a Shelly Pro 3EM). Not a path supported by the manufacturer, but it runs stably at our house.
The battery gets along well with other surplus consumers as long as they react to export: our heaters only switch on when power still flows into the grid while the battery is charging – the battery gets priority automatically. It only becomes a problem with a second regulating battery at the same connection, such as a manufacturer battery: both regulate to zero and can charge and discharge each other. That needs a meter cascade (one battery’s meter sits behind the other’s) or coordination through Home Assistant.
A side effect: the statistics in your inverter manufacturer’s app no longer add up, because the app knows nothing about the battery. At our house the Huawei app FusionSolar counts battery power as export. From now on the Energy dashboard in Home Assistant (below) is the correct balance. How the battery is set up and commissioned – connections, app, meter – is in part 2, step by step.
Balcony PV
Two variants: if you already have a balcony system with a micro-inverter at a wall socket, the battery works as with the big system – it only sees the surplus at the grid connection and needs its own meter. If you are building new or re-plug the panels, they connect directly to the battery (on the Maxxicharge to the battery block), and the battery feeds the house through its built-in inverter – no micro-inverter needed. Two questions readers ask us often:
- Bidirectional meter: An old meter without a backstop would run backwards during export. In Germany the metering operator replaces the meter after registration; the swap is not a precondition for operating. The zero-export regulation does not care about the meter type – it relies on the battery’s own measuring device, not on the utility meter.
- What your balcony system delivers: Whether there is a regular daytime surplus is something you can see, for example, by reading your balcony PV with OpenDTU. Without surplus the battery stays empty.
What the battery does for us: measurements
This is what a sunny October day with the battery looks like. The solar system delivers more than 3 kW at noon, the battery charges with up to 1,000 W, the rest is exported. From the afternoon the battery covers the load and the grid connection sits close to zero – until the block runs empty late in the evening and 420 W come from the grid again:

We measured at the grid connection with the Huawei EMMA (one value every two seconds) and with the counters of the CCU that arrive in Home Assistant over MQTT. Charging and output were limited to 1,000 W in the app for these measurements: our CCU has the 2,300 W unlock, but for the first days in the living room on a normal socket we deliberately kept the limit low; it now runs at the full 2,300 W. All values come from one device during its first days and are therefore samples:
| Quantity | Measured | Context |
|---|---|---|
| Usable capacity | 2,919 Wh according to the CCU for one 3 kWh block | CCU figure for the range from 5 to 100 % charge, not verified; without panels connected directly the CCU does not discharge the battery any further |
| Energy into the house from one full charge | about 2.4 to 2.6 kWh | from the CCU’s AC counters, four cycles |
| Efficiency battery → house | about 85 % (80 to 88 % depending on the counter) | discharge only, CCU estimates; depends on output power: about 80 % at 120 W, 93 % from around 500 W |
| AC round trip (in → out) | 74 % on average (70 to 79 %) | four cycles (3,678 → 2,573, 3,215 → 2,413, 3,369 → 2,378 and 3,313 → 2,612 Wh), the best with firmware 2.43.19; the predecessor CCU V2 reached 80 % in a field test |
| Grid power at constant load | 0 to +4 W as a 5-minute mean | single values fluctuate by ±50 to 100 W |
| Reaction to a 720 W load step | back within ±60 W after 5 to 18 s | three runs, details in part 2 |
| Dropouts in the CCU power value | at output near 1,000 W no value for 1 to 12 s every 20 to 60 s, MQTT connection stays up | CCU-internal (inverter value), regulation keeps running; not seen at 450 to 600 W output; reported to Maxxisun |
| Noise | a faint whistle, audible in the same room | not behind a closed door – basement or utility room |
| Backup outlet | Schuko socket on the CCU, up to 2,300 W and under 20 ms switchover according to the data sheet | tested with the grid connected: a 740 W load is served from the battery, and at the discharge limit the CCU passes the grid through – see the “Backup power” section below |
The round trip is the number that counts: of 100 Wh of surplus the battery takes in, 74 Wh come back in the evening on average (70 to 79 per cycle). The CCU’s counters show where the rest goes: they count at the socket and at the battery, in and out. For the second cycle that gives four counting points along one path – charging and discharging happen once each:
| Counting point (7 Oct) | Energy | Difference to the previous point |
|---|---|---|
| 1. taken from the socket | 3,215 Wh | – |
| 2. charged into the battery | 3,065 Wh | −150 Wh: conversion while charging |
| 3. discharged from the battery | 2,839 Wh | −226 Wh: left in the battery or lost |
| 4. arrived in the house | 2,413 Wh | −426 Wh: conversion while discharging |
From point 1 to point 4, 75 % arrives. The biggest share is lost converting battery power back into household power. How much depends on how hard the CCU is working: during steady stretches, only 80 % of the battery energy reached the house at around 120 W, 89 % at 300 W and 93 % from about 500 W up (measured in October 2026). At low load, the inverter’s fixed losses make up a bigger share.
The 226 Wh between points 2 and 3 are not leftover charge: discharging stopped at 5 %, and the CCU does not discharge the battery any further as long as no solar panels are connected to it directly. The app shows this, and the CCU’s local interface also reports no remaining energy at 5 %. The CCU’s internal history shows that both measured cycles started and ended at 5 %, including the one during which MQTT dropped out. Whether the gap is lost in the battery and the battery management or is counter inaccuracy cannot be separated with the CCU’s counters alone.
The round trip is below the 80 % a several-week field test of the predecessor CCU V2 found (with panels also connected directly to the battery there). It is also just below the 75 to 85 % energienerds gives for AC batteries from other brands, and below the 83.9 % HTW assumes. Whether it holds over more cycles is shown by the measurement that runs automatically in Home Assistant (below).
How big the lever is over the year is shown by our meter readings before the battery – grid import and export per month from the Huawei EMMA, June to September 2026:
| Month | Solar yield | Export | Grid import | Grid import per day |
|---|---|---|---|---|
| June | 546 kWh | 500 kWh | 92 kWh | 3.1 kWh |
| July | 934 kWh | 847 kWh | 172 kWh | 5.5 kWh |
| August | 767 kWh | 616 kWh | 166 kWh | 5.4 kWh |
| September | 642 kWh | 406 kWh | 232 kWh | 7.7 kWh |
With 2.6 kWh a day from the battery, grid import in summer would roughly halve and drop by a third in September. In winter the surplus shrinks so far that the battery stays empty on many days.
Backup power: what the outlet on the CCU can do
The CCU has its own Schuko socket for backup power: up to 2,300 W and a switchover of under 20 ms during a grid outage, according to the data sheet. On our unit it was dead at first. It only carries voltage once backup mode (UPS) is switched on – in the app or in Home Assistant via the “UPS mode” switch of the MQTT device. After switching it on, it took about 30 seconds for voltage to appear.
With the grid connected, we ran a portable radiator from the outlet on 19 October, with a Shelly smart plug in between as a second meter:
| Reading | Value |
|---|---|
| Radiator according to the Shelly | 741 to 750 W |
| “Backup outlet power” according to the CCU | 739 to 745 W |
| Grid power at the house connection (EMMA / CCU) | −3 W / −2 W |
| DC discharge from the battery | about 1.2 kW for 740 W at the outlet plus the house load |
We take three things from this. First, the CCU meters the outlet separately and to within a few watts as long as the power comes from the battery; the value arrives in Home Assistant as its own sensor via MQTT. Second, the power comes from the battery even while the grid is available: the house connection stayed at zero, and only in the first minute after switching on did the house briefly draw about 170 W from the grid until the CCU had caught up. Third, as long as the grid is there, it makes no difference to the battery whether a device is plugged into the backup outlet or a normal socket – the CCU covers both from the battery as part of its zero-export control.
At the discharge limit the CCU passes the grid through: when the battery reached the configured floor of 20 % at 22:42, discharging dropped to zero within five seconds, the voltage at the outlet stayed at 236 V, and the house connection jumped from zero to the house load of about 360 W. The next morning the radiator drew 720 W from the outlet while the CCU’s outlet meter read 0 W – it only counts what the inverter delivers; on grid power you only see the load at the house meter.
So the outlet is for devices that should keep running during an outage – router, NAS, heating controller – ideally combined with the reserve automation from Stage 2, which keeps a minimum charge in the battery on dark days.
Does it pay off?
The app multiplies the discharged energy by the electricity price and calls that savings. That is too simple: every kilowatt-hour in the battery would otherwise have been exported and paid for, and part of it is lost. The correct calculation per kilowatt-hour that comes out of the battery into the house:
Savings = electricity price − (feed-in tariff ÷ round-trip efficiency)
With our German electricity price of 31 cents and a 74 % round trip (the mean of our four cycles):
| System | Feed-in tariff | Calculation | Savings per kWh from the battery |
|---|---|---|---|
| our rooftop system | 7.8 ct | 31 − 7.8 ÷ 0.74 | about 20 ct |
| system with a higher tariff | 12 ct | 31 − 12 ÷ 0.74 | about 15 ct |
| balcony system | none | 31 − 0 | 31 ct |
The higher the feed-in tariff, the less is left: every kilowatt-hour that goes into the battery is no longer paid for, and because of the losses one kilowatt-hour in the evening needs about 1.35 kWh of surplus at midday.
Payback: four cases
How much comes out of the battery each year depends on the full charges. At our house 2.4 to 2.6 kWh arrive per full charge; with 200 to 300 full charges a year – in winter the block rarely fills – that is 500 to 800 kWh. The HTW model arrives at about 840 kWh for 4,000 kWh and 5.5 kWp with a 3 kWh battery. Control unit and one block cost €1,348 according to the product page (about $1,510, as of 7 October 2026), a second block €749. The 2,300 W unlock (€179) is not included. Prices are German retail prices; dollar figures are rough conversions.
| Case | Price | From the battery per year | Savings per year | Payback |
|---|---|---|---|---|
| Our case: 1 block, 7.8 ct feed-in tariff | €1,348 | 500 to 800 kWh | €100 to €165 | 8 to 13 years |
| 2 blocks (HTW recommendation for us), 7.8 ct feed-in tariff | €2,097 | 800 to 1,200 kWh | €165 to €245 | 8½ to 13 years |
| 1 block, our amounts, no feed-in tariff | €1,348 | 500 to 800 kWh | €155 to €250 | about 5 to 9 years |
| balcony system with 2 kWp, 1 block (HTW model) | €1,348 | about 640 kWh | almost €200 | just under 7 years |
The main reason it takes so long for us is the feed-in tariff: every kilowatt-hour we store costs us 7.8 cents in lost feed-in payment. With the same amounts and no feed-in tariff, the battery would pay for itself three to five years sooner.
The second block pays off about as well as the first, but it also covers the night: HTW’s two upper limits (1.5 kWh per kWp and 1.5 kWh per 1,000 kWh of annual consumption, whichever is lower) put that at about 6 kWh for us. The model gives 67 % self-sufficiency instead of 33 % and about 1,360 kWh from the battery; we calculate more cautiously with 800 to 1,200 kWh because the second block fills less often. A third block would add little.
For a balcony system
In Germany a balcony system usually gets no payment for its export. The deduction disappears, and every kilowatt-hour from the battery saves the full electricity price. The losses remain; they only reduce the amount that arrives.
The catch is the small surplus: with 2 kWp of panels and a 3 kWh battery, self-consumption in the HTW model rises by about 640 kWh a year for a 4,000 kWh household; with 800 W of panels there is hardly anything left to store. Using the HTW plug-in solar simulator, heise calculated about 490 kWh more self-consumption a year for an older Maxxicharge with 1.68 kWp and 3 kWh, and a payback of seven instead of four years without the battery. If you are still planning the balcony system: large panels (2 kWp instead of 800 W) do more for the battery than a second block.
Bottom line: rising electricity prices shift the calculation in the battery’s favour. But buy it not for the return – buy it if independence in the evening, the backup outlet or the project itself is worth something to you.
With Maxxicharge Dynamixx Maxxisun offers an electricity tariff with exchange prices, where the battery, according to the company, also charges from the grid in cheap hours. A pilot pays 10.24 ct per kWh for surplus from December 2026 to May 2027 – but only from panels connected directly to the Maxxicharge, not from an existing system.
Rules in Germany: registration, electrician, feed-in tariff
This section describes Germany, where the Maxxicharge is sold. Elsewhere, check your local rules for plug-in batteries.
- Registration: A battery is a separate unit in the Marktstammdatenregister and has to be registered within one month of commissioning; it also has to be reported to the grid operator. Otherwise you risk a fine and trouble with the feed-in tariff of the existing system.
- Feed-in tariff stays: According to the Clearingstelle EEG|KWKG, adding a battery does not affect the tariff of the existing system; directly exported solar power is still paid at the old rate. Power exported from the battery can still earn the tariff in principle, but only under one of the Clearingstelle’s options (such as the exclusivity option). An AC battery that only covers the house load does not export anyway.
- Electrician: The product standard for plug-in solar devices (DIN VDE V 0126-95) does not cover batteries, and the VDE FNN requires a qualified electrician for batteries. Maxxisun describes the wall socket as the intended connection and protects the cable, according to the company, with ready2plugin – a cable protection that models the load on the house wiring and is meant to make more than 800 W at a socket safe; Maxxisun sells it as the 2,300 W unlock (€179). Whether you may run a battery without an electrician is therefore not settled – ask your grid operator if in doubt.
- Simplified procedure: The simplified registration applies to generation and storage up to 800 VA in total per connection. If a solar inverter is already in the house, that sum is exceeded; according to VDE FNN, the regular registration procedure under section 4.2 of VDE-AR-N 4105 then applies, using the grid operator’s form.
- Court rulings: In 2026 the regional courts of Bochum and Osnabrück banned retailers, in summary proceedings, from selling a specific plug-in battery without cable protection (according to pv magazine; the applicant was Indielux, whose ready2plugin technology Maxxisun licenses). Operating existing devices is not affected.
Getting more out of it with Home Assistant
The battery regulates on its own. Home Assistant makes it visible, monitors it and delivers the numbers for the calculation above. The prerequisite is the MQTT integration from part 2 (Maxxicharge Home Assistant integration): after that about 60 entities of the CCU are available – state of charge, power values, daily and total counters, fault bits and the settings. Our entities are called sensor.ccu2_…; “CCU2” is the device name from autodiscovery and may differ on your system.
Stage 1: see, measure, alert
Our dashboard shows status, daily values and settings on one page. Four building blocks behind it are worth having for everyone; the formula and the watchdog are right here, the daily report and the dashboard are at the end of the control part:
- Energy dashboard: Under Settings → Dashboards → Energy add a battery system. Energy into the battery is
sensor.ccu2_ccu_ac_input_energy_total, energy out of the batterysensor.ccu2_ccu_ac_output_energy_total, state of chargesensor.ccu2_local_battery_soc. Grid and solar stay as they are; the CCU counters sit behind the grid connection, nothing is counted twice. - Measure the round trip: A template helper (Settings → Devices & services → Helpers → Create helper → Template → Sensor) named “Maxxicharge round-trip total” (which gives
sensor.maxxicharge_round_trip_total) divides the energy delivered by the energy taken in (formula below). For whole months, add two utility meter helpers with a monthly cycle on the two total counters, “Maxxicharge AC input month” and “Maxxicharge AC output month”, plus a second template sensor, “Maxxicharge round-trip this month”, with the same formula using the two utility meters instead of the totals. Ours are calledsensor.ccu2_maxxicharge_ac_input_monthand…_output_monthbecause we assigned them to the CCU device. - Watch the connection: With the first MQTT firmware (2.42.103), the connection dropped after a few hours and did not recover by itself; since 2.43.19 we have not seen that again. The remedy was to save the MQTT settings once more in the CCU web interface. A template helper of type binary sensor named “Maxxicharge MQTT online” (giving
binary_sensor.maxxicharge_mqtt_online) with the template{{ states('sensor.ccu2_ccu_ac_power') != 'unavailable' }}shows whether the link is up; the automation below sends the outage to your phone. Deliberately nothas_value(): at high output the CCU repeatedly delivers no power value for a few seconds (state “unknown”) while the connection is fine – that must not count as an outage. - Daily report: An automation shortly before midnight sends AC in, AC out, grid import and export of the day as a message, before the CCU resets its daily counters. Two date-and-time helpers, “Maxxicharge battery empty at” and “Maxxicharge battery full at”, record when the battery was empty and full; a small automation sets them when the state of charge falls below 5 % or rises above 99 %.


The formula for the round-trip sensor. The CCU counters report watt-hours, so i > 1000 means “from 1 kWh taken in”; the sensor’s unit is %:
{% set i = states('sensor.ccu2_ccu_ac_input_energy_total') | float(0) %}
{% set o = states('sensor.ccu2_ccu_ac_output_energy_total') | float(0) %}
{{ (100 * o / i) | round(0) if i > 1000 else none }}
This is what the watchdog automation looks like in the visual editor: two triggers on the binary sensor and a choose action with two options that each send a notification. Both triggers wait for five minutes of stable state so that short dropouts do not trigger a message. If you prefer pasting to clicking, the YAML for the editor’s YAML mode is below (replace the notify service notify.mobile_app_your_phone with yours):
YAML of the watchdog automation
alias: Battery - MQTT watchdog
description: Tells you when the CCU stops sending over MQTT and when it is back.
mode: single
triggers:
- trigger: state
entity_id: binary_sensor.maxxicharge_mqtt_online
to: "off"
for:
minutes: 5
id: lost
- trigger: state
entity_id: binary_sensor.maxxicharge_mqtt_online
to: "on"
for:
minutes: 5
id: back
actions:
- choose:
- conditions:
- condition: trigger
id: lost
sequence:
- action: notify.mobile_app_your_phone
data:
title: Battery
message: >-
No MQTT data from the CCU for 5 minutes. Open the CCU web interface{{ ' (http://' ~ states('sensor.ccu2_ccu_ip') ~ ')' if has_value('sensor.ccu2_ccu_ip') }}
and save the MQTT settings again.
- conditions:
- condition: trigger
id: back
sequence:
- action: notify.mobile_app_your_phone
data:
title: Battery
message: "CCU is back on MQTT (SOC {{ states('sensor.ccu2_local_battery_soc') }} %)."
Stage 2: control – possible, but rarely needed
Over MQTT the CCU offers settings: maximum charging and output power, charge limits in percent, the power it outputs when the meter fails, the charging strategy (automatic, time or price plan from the cloud) and the backup mode. There is no fixed power setpoint (“output 300 W now”); the zero-export regulation always stays with the CCU.
Before you automate anything, a quick sum: with a flat electricity price, a stored kilowatt-hour is worth exactly the same at noon as in the evening. Whether the oven runs off the battery at 12 or the TV at 9 pm saves the same 20 cents – and a block emptied early can even take in surplus again in the afternoon. “Saving the battery for the evening” therefore only pays off with a dynamic tariff where evening power costs more. That leaves one case where control from Home Assistant adds something:
- Reserve for the backup outlet: If tomorrow’s solar forecast is poor (ours comes from the forecast service Solcast), an automation raises the lower charge limit to 20 % in the evening, otherwise sets it to 0 %. A reserve is energy you paid for and do not use – only worth it if something hangs on the backup outlet. You need three helpers for it: a toggle “Maxxicharge backup reserve”, a number “Maxxicharge backup reserve SOC” (20) and a number “Maxxicharge forecast threshold” (5 kWh). The forecast comes from the Solcast integration, set up as described in our guide to heating with solar surplus; without Solcast, use your own forecast sensor in the automation.
Run every change through a small script that sets the value, waits 15 seconds, compares the value the CCU reports back and sends a message if the setting was not accepted. That is necessary because, according to the documentation, the reply “applied” only confirms that the setting was stored, not that it has an effect – and because Home Assistant does not show a rejection otherwise, the slider just jumps back. With the first firmware, 2.42.103, the script reported “rejected” for every change. Since firmware 2.43 the CCU accepts the settings (write test on 19 October with version 2.43.21: the new output limit showed up as the effective value in the CCU in under a second). This is the script in the editor, with the YAML below; the reserve automation calls it:
YAML of the verification script
alias: Battery - apply setting
description: >-
Writes one CCU setting over MQTT and checks whether the CCU kept it.
"applied" only means stored; "rejected" shows up as the value jumping back.
mode: queued
fields:
entity_id:
name: Setting entity
selector:
entity:
domain: number
value:
name: Value
selector:
number:
min: 0
max: 2300
sequence:
- variables:
target: "{{ value | float }}"
- if:
- condition: template
value_template: "{{ states(entity_id) | float(-1) == target }}"
then:
- stop: "already at target value"
- action: number.set_value
target:
entity_id: "{{ entity_id }}"
data:
value: "{{ target }}"
- delay:
seconds: 15
- if:
- condition: template
value_template: "{{ states(entity_id) | float(-1) != target }}"
then:
- action: notify.mobile_app_your_phone
data:
title: Battery
message: >-
CCU rejected {{ state_attr(entity_id, 'friendly_name') }} = {{ target }}
(still {{ states(entity_id) }}).
- stop: "setting rejected by the CCU"
error: true
YAML of the reserve automation
alias: Battery - backup outlet reserve
description: >-
Keeps a reserve in the battery for the backup outlet on dark days: every evening at 18:00,
if tomorrow's PV forecast is below the threshold and the reserve toggle is on, the minimum
SOC is raised to the reserve value; otherwise it goes back to 0 %.
mode: queued
max: 3
triggers:
- trigger: time
at: "18:00:00"
id: evening
- trigger: state
entity_id: input_boolean.maxxicharge_backup_reserve
to:
- "on"
- "off"
id: toggle
actions:
- if:
- condition: state
entity_id: input_boolean.maxxicharge_backup_reserve
state: "on"
- condition: numeric_state
entity_id: sensor.solcast_pv_forecast_forecast_tomorrow
below: input_number.maxxicharge_forecast_threshold
then:
- action: script.battery_apply_setting
data:
entity_id: number.ccu2_minimum_soc
value: "{{ states('input_number.maxxicharge_backup_reserve_soc') | float }}"
else:
- action: script.battery_apply_setting
data:
entity_id: number.ccu2_minimum_soc
value: 0
The daily report from stage 1 is an automation with a time trigger at 23:55 and a notification; it uses the CCU’s daily counters, the monthly round-trip sensor and the two date/time helpers:
YAML of the daily report
alias: Battery - daily report
description: >-
One push message per day: AC energy in and out of the CCU, grid import and export measured
by its meter, round-trip efficiency this month, and when the battery was full and empty.
mode: single
triggers:
- trigger: time
at: "23:55:00"
actions:
- action: notify.mobile_app_your_phone
data:
title: Battery daily report
message: >-
AC in {{ (states('sensor.ccu2_ccu_ac_input_energy_today') | float(0) / 1000) | round(2) }} kWh,
AC out {{ (states('sensor.ccu2_ccu_ac_output_energy_today') | float(0) / 1000) | round(2) }} kWh.
Grid import {{ (states('sensor.ccu2_grid_import_energy_today') | float(0) / 1000) | round(2) }} kWh,
export {{ (states('sensor.ccu2_grid_export_energy_today') | float(0) / 1000) | round(2) }} kWh.
Round-trip this month {{ states('sensor.maxxicharge_round_trip_this_month') }} %.
Full at {{ states('input_datetime.maxxicharge_battery_full_at') }},
empty at {{ states('input_datetime.maxxicharge_battery_empty_at') }}.
SOC now {{ states('sensor.ccu2_local_battery_soc') }} %.
The two timestamps come from a small automation of their own: “empty” below 5 % state of charge, “full” above 99 %. The condition stops a Home Assistant restart or a brief MQTT dropout from overwriting a timestamp:
YAML of the timestamp automation to copy
alias: Battery - stamp battery empty and full
description: >-
Records when the battery ran empty and when it was full; the daily report prints both.
mode: queued
max: 4
triggers:
- trigger: numeric_state
entity_id: sensor.ccu2_local_battery_soc
below: 5
id: empty
- trigger: numeric_state
entity_id: sensor.ccu2_local_battery_soc
above: 99
id: full
conditions:
- condition: template
value_template: "{{ trigger.from_state is not none and is_number(trigger.from_state.state) }}"
actions:
- choose:
- conditions:
- condition: trigger
id: empty
sequence:
- action: input_datetime.set_datetime
target:
entity_id: input_datetime.maxxicharge_battery_empty_at
data:
datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
- conditions:
- condition: trigger
id: full
sequence:
- action: input_datetime.set_datetime
target:
entity_id: input_datetime.maxxicharge_battery_full_at
data:
datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
And the dashboard from the screenshot above: under Settings → Dashboards, add a new dashboard “from scratch”, open it, use the pencil icon and the three-dot menu to open the raw configuration editor and paste the content. It expects the helpers from stages 1 and 2; delete tiles for entities you do not have (such as the Solcast forecast).
Dashboard “Battery” for the raw configuration editor
views:
- title: Battery
path: battery
type: sections
max_columns: 4
badges:
- type: entity
entity: binary_sensor.maxxicharge_mqtt_online
show_name: true
show_state: true
- type: entity
entity: sensor.ccu2_operating_mode
show_name: false
show_state: true
- type: entity
entity: sensor.ccu2_ccu_ver
show_name: true
show_state: true
sections:
- type: grid
cards:
- type: heading
heading: Status
icon: mdi:battery-charging-high
- type: gauge
entity: sensor.ccu2_local_battery_soc
name: State of charge
min: 0
max: 100
needle: true
severity:
green: 50
yellow: 20
red: 0
grid_options:
columns: 6
rows: 4
- type: tile
entity: sensor.ccu2_usable_energy_remaining
name: Usable energy left
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_ccu_ac_power
name: Battery to house (+) / from grid (-)
grid_options:
columns: 6
features:
- type: trend-graph
hours_to_show: 6
- type: tile
entity: sensor.ccu2_grid_power
name: Grid (+ import / - export)
grid_options:
columns: 6
features:
- type: trend-graph
hours_to_show: 6
- type: tile
entity: sensor.ccu2_battery_charging_power
name: Charging (DC)
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_battery_discharging_power
name: Discharging (DC)
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_effective_output_limit
name: Effective output limit
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_effective_input_limit
name: Effective input limit
grid_options:
columns: 6
- type: grid
cards:
- type: heading
heading: Today and this month
icon: mdi:calendar-today
- type: tile
entity: sensor.ccu2_ccu_ac_input_energy_today
name: AC in today
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_ccu_ac_output_energy_today
name: AC out today
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_grid_import_energy_today
name: Grid import today
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_grid_export_energy_today
name: Grid export today
grid_options:
columns: 6
- type: tile
entity: sensor.maxxicharge_round_trip_this_month
name: AC round-trip this month
grid_options:
columns: 6
- type: tile
entity: sensor.maxxicharge_round_trip_total
name: AC round-trip total
grid_options:
columns: 6
- type: tile
entity: input_datetime.maxxicharge_battery_full_at
name: Battery full at
grid_options:
columns: 6
- type: tile
entity: input_datetime.maxxicharge_battery_empty_at
name: Battery empty at
grid_options:
columns: 6
- type: heading
heading: Round-trip = AC out / AC in of the CCU, incl. standby. Needs whole cycles to mean anything.
heading_style: subtitle
- type: grid
cards:
- type: heading
heading: CCU settings (via MQTT)
icon: mdi:tune
- type: tile
entity: number.ccu2_maximum_output
name: Maximum output
features:
- type: numeric-input
style: slider
grid_options:
columns: 12
- type: tile
entity: number.ccu2_maximum_charging_power
name: Maximum charging power
features:
- type: numeric-input
style: slider
grid_options:
columns: 12
- type: tile
entity: number.ccu2_minimum_soc
name: Minimum SOC
features:
- type: numeric-input
style: buttons
grid_options:
columns: 6
- type: tile
entity: number.ccu2_maximum_soc
name: Maximum SOC
features:
- type: numeric-input
style: buttons
grid_options:
columns: 6
- type: tile
entity: number.ccu2_meter_loss_output
name: Output on meter loss
features:
- type: numeric-input
style: buttons
grid_options:
columns: 6
- type: tile
entity: select.ccu2_charging_strategy
name: Charging strategy
features:
- type: select-options
grid_options:
columns: 6
- type: tile
entity: switch.ccu2_ups_mode
name: UPS mode
features:
- type: toggle
grid_options:
columns: 12
- type: grid
cards:
- type: heading
heading: Home Assistant strategies
icon: mdi:home-assistant
- type: tile
entity: input_boolean.maxxicharge_backup_reserve
name: Backup reserve for the UPS outlet
features:
- type: toggle
grid_options:
columns: 12
- type: tile
entity: input_number.maxxicharge_backup_reserve_soc
name: Reserve SOC
features:
- type: numeric-input
style: buttons
grid_options:
columns: 6
- type: tile
entity: input_number.maxxicharge_forecast_threshold
name: Forecast below
features:
- type: numeric-input
style: buttons
grid_options:
columns: 6
- type: tile
entity: sensor.solcast_pv_forecast_forecast_tomorrow
name: PV forecast tomorrow
grid_options:
columns: 12
- type: grid
cards:
- type: heading
heading: Diagnostics
icon: mdi:stethoscope
- type: tile
entity: binary_sensor.ccu2_meter_timeout
name: Meter timeout
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_maxxicharge_meter_timeouts_today
name: Meter timeouts today
grid_options:
columns: 6
- type: tile
entity: binary_sensor.ccu2_battery_fault
name: Battery fault
grid_options:
columns: 6
- type: tile
entity: binary_sensor.ccu2_inverter_fault
name: Inverter fault
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_ccu_temperature
name: CCU temperature
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_backup_outlet_power
name: Backup outlet
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_ccu_uptime
name: Uptime
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_ccu_ip
name: CCU IP
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_usable_energy_capacity
name: Usable capacity
grid_options:
columns: 6
- type: tile
entity: sensor.ccu2_battery_1_voltage
name: Battery voltage
grid_options:
columns: 6
- type: grid
column_span: 2
cards:
- type: heading
heading: History
icon: mdi:chart-line
- type: history-graph
title: Grid and battery power, 24 h
hours_to_show: 24
entities:
- entity: sensor.ccu2_grid_power
name: Grid
color: '#d97706'
- entity: sensor.ccu2_ccu_ac_power
name: Battery AC
color: '#2563eb'
grid_options:
columns: full
rows: 6
- type: statistics-graph
title: State of charge, 7 days
days_to_show: 7
period: hour
stat_types:
- mean
entities:
- entity: sensor.ccu2_local_battery_soc
name: SOC
grid_options:
columns: full
rows: 6
You set charge limits, strategy and backup mode in the app or through the entities in Home Assistant when needed; zero-export control is the CCU’s job.
Buying: set and meter
The Maxxicharge is available directly from Maxxisun: the CCU V2+ for €599 (regular €729), the M3.0 V2+ battery block for €749 (regular €899), the 2,300 W unlock for €179 (prices as of 7 October 2026; Maxxisun ships within Germany). You also need a meter: with a utility meter that has an infrared interface an IR reader such as the Everhome EcoTracker*, otherwise a Shelly Pro 3EM fitted by an electrician – or the Home Assistant route from part 1.
Conclusion
A small AC-coupled battery at a wall socket is the simplest way to run the evening on your own solar power: at our house the grid connection sits at zero from the afternoon until shortly before 11 pm. The night stays on the grid, winter anyway, and 74 % of the stored energy comes back on average. Towards zero yes, zero no.
Points in the Maxxicharge’s favour are the official MQTT interface and the cable protection. Against it: a young interface that needed five firmware updates in our two weeks of testing before the connection and control worked properly.
Financially, one block is a test of patience of eight to thirteen years for us, because we give up the feed-in tariff; on a balcony system without one it pays back faster. Whoever buys it buys independence in the evening and a backup outlet. With Home Assistant it becomes a device you understand: Energy dashboard, round trip, fault alerts. What is still missing is in the box at the top – we will add it over the winter.
Frequently asked questions
In energy terms yes: according to the HTW model a 3 kWh battery lifts the self-sufficiency of a 4,000 kWh household with 5.5 kWp from 33 to 54 %. Financially only just: with 31 ct import, 7.8 ct feed-in and a 74 % round trip every discharged kilowatt-hour saves about 20 cents, which is €100 to €165 a year for 500 to 800 kWh.
Multiply your base load after sunset by the hours until morning. For us that is about 420 W over 14 hours, almost 6 kWh in the house; with losses the battery has to take in about 8 kWh for that. One 3 kWh block covers the evening until shortly before 11 pm, a second block the night into the early morning.
No. According to the Clearingstelle EEG|KWKG, directly exported solar power is still paid at the old rate. Power from the battery can still earn the tariff in principle, under separate rules; an AC battery that only covers the house load does not export anyway. You still have to register the battery.
Reading yes, completely and without a cloud. The CCU offers settings such as the output limit or charge limits over MQTT; since firmware 2.43 it accepts changes from Home Assistant, while the first firmware, 2.42.103, still rejected them. A fixed power setpoint is not possible over MQTT at all.
Almost nothing with 800 W of panels, because there is hardly any surplus. With 2 kWp the self-sufficiency in the HTW model rises from 24 to 40 % with a 3 kWh battery, about 640 kWh more self-consumption a year. Because export usually earns nothing, every stored kilowatt-hour counts at the full electricity price – almost €200 at 31 cents. The precondition is a regular daytime surplus.
In Germany this is not settled. The standard for plug-in solar devices does not cover batteries, and the VDE FNN requires an electrician for batteries; manufacturers such as Maxxisun design for the wall socket. Ask your grid operator if in doubt and register the battery in any case.



