Energy

The Energy tab

The Energy tab turns your sensors into an energy balance. It sets the energy roles of every power and charge entity, the groups and the custom categories, and it shows how the house consumption is derived. To see where that energy flows, open the device map. Roles, groups and categories are shared between both tabs, so a change on one shows up on the other right away.

Plant live

Plant live on the Energy tab

The device map arrangement, read only, with the live flow and the energy balance. Click a device to light up its rows in the role table, click a group to jump to its card.

Balance interpretation

Balance interpretation

Mode House consumption is
Automatic (default) PV + grid import + discharging − feed-in − charging. A house meter is a cross-check and is used when no grid role is assigned
Calculated always the calculation, a house meter is only compared
Measured the house meter

In every mode, wallbox, heat pump and custom consumer categories are subtracted from house consumption. What is left is shown as remaining consumption. A line below the modes tells where house consumption currently comes from and whether the house meter matches the calculation.

The role House meter always means the whole house. Metered sub-consumers belong in a custom consumer category. Setups that used the former Combined mode were converted automatically: every entity with the old role became its own consumer category named after the entity. Rename them under Custom categories. An entity that only got the role by name detection (not saved) is treated as house meter afterwards. If the status line reports a deviation, check it.

When house consumption is calculated, “Remaining consumption” is a remainder, not a measurement. It takes in every consumer without a meter of its own.

Below that: whether a remaining gap counts as house consumption, the tolerance, the surplus and grid import thresholds of the status card and the battery reserve.

Balance gap

The gap is what is left when sources (PV, grid import, discharging) and sinks (consumption, feed-in, charging) do not add up.

With Unknown consumer (the default) the gap is added to house consumption. A negative gap shows up as “Unknown generation”. Self-sufficiency is then higher than in diagnostics, because the extra consumption counts as covered. With Diagnostics the gap stays visible as “Unassigned”, and the status card reports an unbalanced balance.

Gaps below the tolerance count as balanced. The default is 25 W, or 2 % of the total power in percent mode.

In Calculated mode a gap can only be negative. That happens when wallbox and heat pump together report more than the calculated house consumption, usually because of a wrong scale or invert on one of their meters. A large gap in other modes mostly means a power entity without a role, see the list at the top of the tab.

Key figures

Self-sufficiency is the share of house consumption not drawn from the grid. Self-consumption is the share of PV yield not fed into the grid.

Energy roles

Energy roles

Every power and charge entity gets a role such as PV, grid, battery, house meter, wallbox, heat pump or a custom category. Entities sharing a role are summed. Battery charge levels are the exception: each bank needs its usable capacity, and the total is weighted by capacity. A bank without capacity is left out and the tab says so. The tiles show each role with its value and whether it is fresh and live. Power values without a role are listed at the top of the tab, because they are the usual reason a balance does not add up.

An entity without a role can be hidden with the button on its row. The list of hidden entities is saved with the energy configuration, so it is the same in every browser, and the device panel of the device map leaves these entities out too. An entity with a role cannot be hidden, and assigning a role to a hidden entity shows it again.

Switches have their own role, Switches, in a separate group. It marks a socket or relay output, adds no power to the balance and is read by the device map. A device with several switches also gets a channel from 1 to 16 for each switch, so the map can tell which connection a switch cuts. Two switches of one device cannot share a channel. Switches the dashboard detects stay “detected” until you change or save them.

Groups

Groups with the count as a whole switch

A group bundles devices without a meter of their own.

  • Count as a whole off (Garage): every member counts with its own role.
  • Count as a whole on (Workshop): the group counts in one consumer category. Pick it from the chips or create a new one in place.

A device sits in at most one group. Groups can hold other groups.

Custom categories

Custom categories

Your own consumer, producer or storage types next to the built-in roles. The base decides how the category counts: consumers like house load, producers like PV, storage like a battery. Each consumer category appears as a sink of its own in the overview tiles and in the history. A category that roles or groups still use cannot be removed. Automation rules do not block removal, but the dashboard lists the rules that still read the category before you confirm.

Sub-devices

A sub-device names the consumer behind a power measurement, for example “Washing machine” instead of “Plug B / Power”. Where a sub-device exists, its name replaces the label of the measurement on this tab, in the role table and in the energy flow. The role itself is still set on the measurement, as before, and a sub-device changes nothing else.

Measurement chains

A measurement chain from the inverter to the wallbox, with one counting point and three reference points

A measurement chain is a row of power meters that measure the same path, for example the meter at the inverter, the meter at the sub-distribution and the meter at the wallbox. The points run in flow direction, from the source to the consumer. Each chain has one counting point and any number of reference points.

  • The counting point goes into the balance. It carries the role of the chain.
  • The reference points are only compared. Their power is already part of the counting point, so the balance skips them. They have no role of their own and show their value as a display value only.

The first point counts at first. You can pick another point as the counting point at any time, and the role moves with it.

Substitute values

The measurement chains on the Energy tab with a suggestion and two chains

A counting point that cannot deliver a current value is replaced by a reference point. The balance then uses the value of the nearest reference point that is current, and the role shows it as a substitute value. If two points are equally close, the earlier point in the chain wins.

The dashboard corrects that value by the learned loss of the segments between the reference point and the counting point, see Learning. The loss is added when the reference point lies downstream of the counting point and subtracted when it lies upstream. The corrected value never changes its sign. The correction needs a flowing chain and a learned load class for every segment on the way. While one of these segments is not learned, the raw value of the reference point counts.

A point is not current when it has no value, when it is offline, or when it has not updated for 10 minutes. The substitute only applies when a reference point is current. If none is, nothing is substituted and the counting point counts as missing.

After a restart of the dashboard, all values are retained and marked stale until the devices publish again. Nothing is substituted in that time, so old values do not count as current ones.

A negative substitute value counts as zero, except for the battery, grid and storage roles, which keep their sign.

Roles when a chain changes

  • When a chain is created, its counting point takes the role of the chain from the first point that has one. The other points lose their role.
  • When the counting point changes, the role moves to the new counting point.
  • A point that leaves a chain loses its role. It is listed in the hint at the top of the tab, and you set its role again.
  • When a chain is deleted, its counting point keeps the role. The other points are listed in the same hint.

Findings

The Energy tab does not list the findings of the chains itself. Its top shows a summary line with a bell instead. It says how many notices about energy are open and how many of them are new, and Open in monitoring opens the Monitoring tab with the filter Energy. There each chain finding has its text and its recommended steps. The step Measurement chain opens the dialog of the chain on this tab.

The same findings show on the Efficiency tab, where Apply suggestion fills a fix into the draft of the entity, and as a warning on the device map. Nothing is saved until you save.

Loss per segment

The energy page shows the loss between two neighbouring points live. It is the difference of their power. The efficiency is computed when the source delivers at least 10 W. A segment is only computed while both of its points have a current value.

The Efficiency tab shows these losses per day and per month, the round trip of a storage chain over 30 days, the efficiency curve and the diagnosis of the segments. The chains also feed sensors into Home Assistant, see Home Assistant.

Suggestions

The node suggests measurement chains by itself. It compares the power entities over time. For each pair it takes the mean of the absolute power per minute and keeps the last seven days. A minute counts when both entities have a value and at least one of them is above 20 W. Stale or unavailable values are skipped, and so are the entities of the Energy Node itself. On small devices at most 64 entities take part, the first 64 by their ID.

A pair becomes a suggestion when all of these hold:

  • There are at least 3 days with data and 12 active hours, which is 720 minutes.
  • The correlation of the two series is at least 0.95. With an energy connection between the two devices on the device map it is enough to reach 0.90.
  • The mean of the smaller value divided by the mean of the larger one is at least 0.7.
  • Both sides vary by at least 10 W.
  • The two series are not duplicates. Two entities that only repeat the same value are not suggested.

Pairs that already stand next to each other in a chain are skipped. When exactly one of the two entities is in a chain, the suggestion extends that chain. An entity appears in at most one suggestion, and at most 20 suggestions are shown. Suggestions with an energy connection come first, then the strongest correlation.

The entity with the higher mean comes first, which is the grid side for a consumer or a charger. For a producer the order is the other way round, so the dialog has a swap button.

Accept opens a short dialog with the order, the swap button and a name for the chain. Confirming creates the chain or extends the existing one, the same way as a change on this tab. Dismiss removes the suggestion for good for this pair. It changes no configuration, and the pair does not come back. Accepting and dismissing need the permission edit_energy. Everyone who may see the Energy tab sees the suggestions.

Rules

  • Only power entities can be points. Entities of the Energy Node itself cannot.
  • An entity belongs to at most one chain.
  • Creating and changing chains needs the permission edit_energy.

Permissions

Changing roles, groups, categories or the interpretation needs the permission edit_energy. Until there is a user management every account has it, guests included.

Written for Energy Node v0.12.0.

Edit on GitHub