evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Energy flow: add an "Other" row so the consumers add up to the consumption total

Open ghaeprv opened this issue 1 month ago • 2 comments

Is your feature request related to a problem? Please describe. The energy flow lists all consumer meters under Consumption, but the rows do not add up to the total. evcc shows only what is metered. The unmetered rest is not shown, so I have to calculate it myself.

Example from my setup (screenshot): Consumption 814 W, the 19 consumer rows add up to 529 W. 285 W (35 %) is not shown anywhere.

Describe the solution you'd like One extra row at the end of the consumer list, "Other", with the value: home power minus the sum of all consumer and aux meters. Then the rows always add up to the total, and the size of the unmetered part is visible at a glance.

  • Show it only when at least one consumer is configured.
  • Keep it at the end, outside the alphabetical sort from #35420.
  • Clamp it at 0 W. The meters are read at slightly different times, so the difference can go below zero for a moment.

Describe alternatives you've considered

  • Adding up the rows by hand each time.
  • A custom consumer meter with the calc plugin: home power from the API minus each consumer source. Possible, but it reads every device a second time and must be edited each time a consumer is added.

Additional context evcc 0.318.1, 19 consumers configured in the UI. On master, Energyflow.vue renders the consumers and aux meters under the home entry, with no remainder row.

🤖 Generated with Claude Code

ghaeprv avatar Oct 28 '26 19:10 ghaeprv

Small UI-only change: assets/js/components/Energyflow/Energyflow.vue now appends an "Other" row after the sorted consumer/aux rows, computed as homePower minus the sum of all consumer and aux meters, clamped at 0 W and shown only when at least one consumer or aux meter exists. A draft PR follows.

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 28 '26 19:10 github-actions[bot]

In the same context: Wouldn't it be nice for the consumers to appear on the power bar visualization at the top of the page as well? Or maybe at least the most significant ones depending on their current consumption share. Maybe also user configurable.

BrickTop87 avatar Oct 29 '26 08:10 BrickTop87