The useful part, up front

What you’ll take away

  • Net grid energy is import minus export; zero net does not mean zero household use or zero exchange.
  • In the declared battery-free AC account, household use equals solar generation plus import minus export.
  • Equal generation and consumption totals can conceal different temporal overlap and directional grid flows.
  • Self-consumption and self-sufficiency use different denominators, even when their direct-solar numerator matches.
  • Keep boundary, interval, counter semantics and any battery terms beside a reconstructed household total.
01

Zero net grid energy can accompany an active household

A home energy display reports zero net grid use for two hours. That sounds quiet, but it could describe a house that imported two kilowatt-hours and exported two. The two amounts cancel in the subtraction; neither amount disappears from the record of what happened. Home Assistant's grid energy balance card explicitly defines its net value as imported energy minus exported energy. [4] A zero difference therefore answers a narrower question than “Did this home use electricity?”

Consider an invented home with solar generation and no battery. In the first hour it generates three kilowatt-hours, uses one and exports the other two. In the second hour it generates nothing and imports two kilowatt-hours to supply its use. Across both hours, the home generates three, consumes three, imports two and exports two. Net grid energy is zero. We will keep this original account separate from real meter readings and use it to uncover the information lost when a dashboard compresses several flows into one number.

Keep the two hours before combining their totals. Original battery-free example. Every cell is energy over the named one-hour interval; direct solar use totals one kWh.
Original battery-free example. Every cell is energy over the named one-hour interval; direct solar use totals one kWh. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
02

Put generation, use and grid exchange on one boundary

To keep the account understandable, measure solar generation after conversion to household AC electricity. Count household use at that same AC boundary. All relevant consumption belongs in that use column, and no additional storage, generation or uncounted loss sits between our columns. SMA's Energy App documentation distinguishes household consumption from PV generation, grid-supplied power, grid feed-in and battery flows. [2] Those labels identify different parts of an account, even when an app draws them beside one another.

For our battery-free model, electricity arriving from solar and the grid must equal household use plus electricity leaving for the grid. In symbols, G + I = H + E. Rearranging gives household use H = G + I − E, or G plus net grid import. Do not put sunlight falling on the panels into G: that is an earlier energy boundary. Likewise, do not combine a live power reading with a two-hour energy total. Kilowatts describe a rate; kilowatt-hours describe accumulated energy over time. [1] The equation needs compatible quantities throughout.

03

A grid reading cannot identify the locally supplied load

Imagine a moment when the grid reading is exactly zero. In one possible state, solar output and household use are both zero kilowatts. In another, solar supplies three kilowatts and the household consumes all three locally. The grid reading is the same because nothing crosses the chosen grid boundary in either case. A third state could have five kilowatts of each. The grid number has not told us which house activity is occurring.

This is a missing-information problem. Even a perfectly accurate net grid reading would leave it unresolved. Under our assumptions, household power equals solar power plus signed net grid power. Measuring the solar contribution supplies the missing input; subtracting or averaging the grid reading again does not. SMA's separate consumption and generation definitions, and Home Assistant's separate energy-flow displays, reflect that distinction. [2][4] The same reasoning applies to interval energy: knowing N without G cannot establish H. Better precision in one column cannot replace an entirely different column.

04

Keep import and export before subtracting them

A second invented example follows only grid power over one hour. For the first half-hour the home imports at a constant four kilowatts. For the second half-hour it exports at a constant four kilowatts. Each half-hour moves two kilowatt-hours in its own direction. The import column is two, the export column is two, and the signed net column is zero. Multiplying a constant power by its duration gives the corresponding energy. [1]

Now replace that entire hour with its average signed power: zero kilowatts. The replacement preserves the net energy but loses both directional totals. It would be wrong to treat that average as proof that no electricity crossed the grid boundary. To preserve import and export, accumulate the positive and negative portions separately before taking their difference. A net figure is useful when that difference is the question. It is insufficient when the question asks how much entered, how much left, or whether the connection was active during the period.

An average of zero can hide two directional energy totals. Separate original grid-power trace: each listed rate stays constant for half an hour. Across the hour, import and export each total 2 kWh.
Separate original grid-power trace: each listed rate stays constant for half an hour. Across the hour, import and export each total 2 kWh. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
05

Equal generation and consumption totals do not establish overlap

Return to the two-hour home. In hour one, only one of the three generated kilowatt-hours serves the household directly. The other two leave. In hour two, household use is two kilowatt-hours but solar generation is zero. Direct solar use across the full period is therefore one kilowatt-hour. Taking the smaller of the two final totals—three generated and three consumed—would wrongly produce three as the directly used amount.

Compare a different invented history. Keep household use at one kilowatt-hour in hour one and two in hour two, but change solar generation to one and two respectively. Each hour's generation now exactly matches its use. The final generation and consumption totals remain three each, yet import and export are both zero and all three generated kilowatt-hours are used directly. The histories have identical G, H and N totals but different I, E and direct use. Solar production and its allocation are separate records in the documented dashboards. [2][4] Timing supplies information that end totals have discarded.

06

Direct solar use belongs in two accounts but is consumed once

Let S mean the solar energy used directly by the household in our battery-free model. Generated energy splits into direct use and export, so G = S + E. Household use splits into direct solar and import, so H = S + I. The same S appears in both accounts because it connects production with use. It is not two separate portions of electricity to add together.

For the original example, S = G − E = 3 − 2 = 1 kilowatt-hour. The household-side check gives S = H − I = 3 − 2 = 1 as well. Adding all solar generation to grid import would instead produce five kilowatt-hours and mistakenly include the two exported kilowatt-hours in household use. Home Assistant distinguishes energy consumed by the home from energy returned to the grid, while SMA separately labels feed-in and consumption. [2][4] Keep that exported column visible whenever you reconstruct a household total from generation and import.

07

Self-consumption and self-sufficiency divide by different totals

SMA describes a self-consumption quota relative to PV generation and a self-sufficiency quota relative to total household consumption, with battery terms included in its relevant definitions. [2] To see the denominator difference cleanly, keep batteries absent and use a separate invented interval: solar generates four kilowatt-hours, the home uses six, two are exported and four imported. Direct solar use is two kilowatt-hours by either account.

Two divided by four gives 50 percent of generated solar used directly. Two divided by six gives about 33.3 percent of household use supplied directly by solar. Both percentages describe the same two kilowatt-hours, viewed from different sides. A larger percentage in one column does not make the other incorrect. If generation is zero, the direct-use share of generation has a zero denominator and needs an explicit convention; mathematics does not supply a percentage automatically. Nor does either ratio, by itself, establish a money saving: no price or billing rule has entered this energy account.

The same direct solar energy produces two different percentages. Separate original battery-free interval: generation 4 kWh, household use 6 kWh, import 4 kWh and export 2 kWh.
Separate original battery-free interval: generation 4 kWh, household use 6 kWh, import 4 kWh and export 2 kWh. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
08

Counter differences need matching start and end times

Suppose three valid energy counters are read at the same start and end of our two-hour period. The solar counter rises from 100 to 103 kilowatt-hours; the import counter from 50 to 52; and the export counter from 20 to 22. Their increases are three, two and two. Those are the quantities to put into H = G + I − E, giving three kilowatt-hours of household use.

Adding the final counter values instead gives 103 + 52 − 22 = 133. That is not the energy for these two hours; it retains older accumulated offsets. The subtraction works here because every counter is valid over the same interval and none resets. Home Assistant's FAQ discusses cumulative sensors and how separately timed resets can produce misleading combined statistics. [3] A missing sample, changed baseline or reset requires the record's own rules. It should not be silently treated as ordinary consumption or patched by choosing whichever total looks plausible.

09

Sparse power snapshots can miss both directions of exchange

Power snapshots and accumulated energy answer different questions. Home Assistant explains that energy reconstructed from a sparsely sampled power stream is an approximation. [3] Imagine a separate one-hour record with a zero-kilowatt grid reading at the start and end. One possible history stays at zero throughout. Another imports four kilowatts from minute fifteen to minute thirty, exports four from minute thirty to minute forty-five, and is zero for the remaining time. Both histories match those two snapshots.

The second history imports one kilowatt-hour and exports one. Its net energy is zero, just like the idle history. Even an accurate accumulated net-energy change would therefore fail to distinguish these particular histories. Separate valid directional energy totals could distinguish them. More graph points may help describe changes, but the question is also what the instrument accumulates before the app receives them. A smooth line drawn between two zero samples is a drawing rule; it is not evidence that no exchange occurred in between.

Matching endpoints and matching net energy can still hide exchange. Separate invented one-hour histories. In the active history, all unlisted minutes have zero grid power; no instrument or household was tested.
Separate invented one-hour histories. In the active history, all unlisted minutes have zero grid power; no instrument or household was tested. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
10

A battery creates additional terms in the household account

The simple equation changes when a battery joins the boundary. Let C be AC energy sent into its charging system and D be AC energy supplied back from its discharge system. Household use becomes H = G + I − E − C + D. Charging takes energy away from immediate household loads; discharge supplies some of their input. SMA lists charging and discharge separately, and its quota definitions include battery contributions. [2]

For a new one-hour example, assign three kilowatt-hours of solar generation, no grid import, half a kilowatt-hour of export, one kilowatt-hour into battery charging and no discharge. Household use is 3 − 0.5 − 1 = 1.5 kilowatt-hours. Omitting charging would falsely give 2.5. The one kilowatt-hour here is measured at the AC charging input; it does not establish the increase in stored battery energy. That would require the conversion and storage account too. Keeping C and D visible also prevents transferring our earlier battery-free percentage formulas to a different system without checking their definitions.

11

A balance residual is a question to investigate, not a diagnosis

When all the inputs are independently available, a balance check can expose a mismatch. In the battery-free model, calculate R = G + I − E − H. Our original totals give 3 + 2 − 2 − 3 = 0 kilowatt-hours. If a separate household-use entry instead says four, the same check gives minus one. That tells us the four stated numbers do not close the chosen account.

It does not identify which number is wrong, or prove that a meter failed. Perhaps one record covers a different interval, one source is omitted, or the household figure uses another boundary. Home Assistant documents a separate solar export connection as a distinct configuration, illustrating why connection scope matters. [3] A battery term would change our own equation as well. Keep the residual with the original readings and definitions. Replacing a negative result with zero would hide the mismatch; it would not supply the missing explanation or independently validate the remaining numbers.

12

Read the quantity, direction and interval before reading the score

A useful home-energy record keeps more than the headline total. Start with the quantity and unit: current power, interval energy, a cumulative register or a percentage. Then identify its boundary: household use, solar AC output, grid import, grid export or a battery interface. Finally keep the start and end times and the rule used to combine those inputs. These distinctions match the separate power, energy and flow categories in the primary documentation. [1][2][3][4]

For the original two hours, the complete account is generation three, household use three, import two, export two and direct solar use one kilowatt-hour. Net grid energy zero is an accurate summary of one relationship within that account. It is not a replacement for the account. The most informative next question is therefore specific: are we missing generation, directional exchange, timing or a storage term? Answering that question makes a dashboard easier to interpret without turning its energy display into an unsupported claim about cost, equipment condition or total household independence.

Give the energy number a complete interpretation. Original reading sequence. The four steps establish what the reported value means before a further inference is attempted.
Original reading sequence. The four steps establish what the reported value means before a further inference is attempted. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
Follow the evidence

Sources & further reading

Explore the references behind this guide. External pages may change after our review.

  1. Measuring electricity - U.S. Energy Information Administration (EIA)
    U.S. Energy Information Administration · Accessed 7 Nov 2026
  2. SMA Energy App | SMA Solar
    SMA Solar Technology · Accessed 7 Nov 2026
  3. Frequently Asked Questions about home energy management - Home Assistant
    Home Assistant · Accessed 7 Nov 2026
  4. Energy cards - Home Assistant
    Home Assistant · Accessed 7 Nov 2026

Article updated 7 Nov 2026.

Found something we should revisit?

Good explanations get better with thoughtful feedback.

Suggest a correction