# Wrong value and sign (+/-) for consumption and feed to grid

**URL:** <https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046>\
**Category:** English Forum\
**Created:** [November 1, 2026, 8:41pm UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046 "2026-11-01T20:41:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjjh](https://community.openems.io/user_avatar/community.openems.io/sjjh/32/2296_2.png) [@sjjh](https://community.openems.io/u/sjjh)\
**Post date:** [November 1, 2026, 8:41pm UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/1 "2026-11-01T20:41:57Z")

</div>

We’re facing an issue I cannot understand completely. At the history the graph with `consumption` and `feed to grid` looks plausible to me on first glance. But the value of `feed to grid` in the legend below the graph seems unreasonable large. Additionally the label for `consumption` seem to show a wrong sign (in my understanding the consumption should be positive). Cf. below screenshot.  
Is this potentially a bug? Or could it be a configuration mistake? How can we debug it further? Thx for any support!  
We are running **OpenEMS 2026.11.0 Edge** as docker.

 ![grafik](https://community.openems.io/uploads/default/original/2X/0/0f2c6b1843631ccc6f04a9044302449313eccf22.png)

---

<div class="post-metadata">

**Author:** ![vision03](https://community.openems.io/letter_avatar_proxy/v4/letter/v/ecc23a/32.png) [@vision03](https://community.openems.io/u/vision03)\
**Post date:** [November 2, 2026, 4:37pm UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/2 "2026-11-02T16:37:09Z")

</div>

Hi.

To help you in the right way, which smartmeter do you use?

First you should test, turn off all power generating devices such as pv and battery, what does the consumption then shows?

Then click on the gridsymbol in the overview, there it shows you what the meter reads on each phase, so you can see if there is consumption or feed to grid.

You also could configure a ctrDetailedLog as component add your meter. Then you can see detailed values in the log.

---

<div class="post-metadata">

**Author:** ![sjjh](https://community.openems.io/user_avatar/community.openems.io/sjjh/32/2296_2.png) [@sjjh](https://community.openems.io/u/sjjh)\
**Post date:** [November 3, 2026, 9:00pm UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/3 "2026-11-03T21:00:45Z")

</div>

Thanks for your reply!

> [@vision03](#):
>
> which smartmeter do you use?

A Victron Grid Meter was configured. I now disabled the component and activated a Fronius Meter instead. I’ll report back, if that makes any change.

> [@vision03](#):
>
> First you should test, turn off all power generating devices such as pv and battery,

As a complete village is concerned (covering 15 PV inverters), that’s easier said than done. 🙂 But if changing the grid meter is not making any change, I’ll coordinate with the respective people and progress further in this direction.

---

<div class="post-metadata">

**Author:** ![vision03](https://community.openems.io/letter_avatar_proxy/v4/letter/v/ecc23a/32.png) [@vision03](https://community.openems.io/u/vision03)\
**Post date:** [November 4, 2026, 6:59pm UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/4 "2026-11-04T18:59:27Z")

</div>

hi.

maybe you can have a look in the evening, maybe there should be some consumption. With no minus sign.

---

<div class="post-metadata">

**Author:** ![sjjh](https://community.openems.io/user_avatar/community.openems.io/sjjh/32/2296_2.png) [@sjjh](https://community.openems.io/u/sjjh)\
**Post date:** [November 4, 2026, 8:29pm UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/5 "2026-11-04T20:29:13Z")

</div>

After letting the system run a day with the Fronius grid meter, the numbers in OpenEMS look good. Thus I assume it’s a problem with the Victron Grid Meter component. I’m not sure if it was a configuration issue in our end, or if it is a bug in the component. Would be interesting to know, if the Victron component works for other people and where there might be a difference in the configuration.

---

<div class="post-metadata">

**Author:** ![s\_h](https://community.openems.io/letter_avatar_proxy/v4/letter/s/85e7bf/32.png) [@s\_h](https://community.openems.io/u/s_h)\
**Post date:** [November 18, 2026, 8:02am UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/6 "2026-11-18T08:02:28Z")

</div>

> <https://github.com/OpenEMS/openems/pull/4138>
>
> \## Victron.Meter.Grid: fix energy direction and read grid frequency
> 
> \### Energy …direction
> Victron's register list defines \`/Ac/Lx/Energy/Forward\` (registers 2622-2626) as "Energy from net" and \`/Ac/Lx/Energy/Reverse\` (2628-2632) as "Energy to net". For a grid meter, OpenEMS defines the energy bought from the grid as \`ActiveProductionEnergy\` and the energy sold to the grid as \`ActiveConsumptionEnergy\`: \`ElectricityMeter\` (GRID: positive = buy-from-grid; production energy = integral over positive power) and \`Sum\` (\`GridBuyActiveEnergy\` = "Production", \`GridSellActiveEnergy\` = "Consumption").
> 
> The component mapped them the other way round, so \`\_sum/GridBuyActiveEnergy\` and \`\_sum/GridSellActiveEnergy\` were swapped. This PR maps Forward to \`ActiveProductionEnergyL1-L3\` and Reverse to \`ActiveConsumptionEnergyL1-L3\`.
> 
> \### Grid frequency
> The \`Frequency\` channel was never set. It is now read from register 2644 (\`/Ac/Frequency\`, uint16, 0.01 Hz) and scaled to mHz. The register is not part of register list 2.80 (added in revision 49), so it is read in a separate task.
> 
> \### Test
> \- Realistic raw values for voltage and current (before, \`23000\` was commented as 230.00 V but resulted in 2300 V).
> \- Checks for energies per phase and sum, and for the frequency.
> \- The new test fails with the previous mapping.
> 
> \### Documentation
> \- Added the current Victron Modbus TCP register list (3.81) to \`doc/\`.
> \- Documented the grid meter registers in the readme.

---

<div class="post-metadata">

**Author:** ![williamwilliams](https://community.openems.io/letter_avatar_proxy/v4/letter/w/8491ac/32.png) [@williamwilliams](https://community.openems.io/u/williamwilliams)\
**Post date:** [November 22, 2026, 9:15am UTC](https://community.openems.io/t/wrong-value-and-sign-for-consumption-and-feed-to-grid/11046/7 "2026-11-22T09:15:48Z")

</div>

The PR posted by s\_h looks like it explains the swapped legend values: Victron’s Forward/Reverse registers were mapped opposite to OpenEMS’s GridBuy/GridSell convention, so the sign and magnitude can look wrong even when instantaneous power is correct. After updating, I’d verify at a low-PV moment that GridBuyActiveEnergy is positive and matches the meter’s Forward register. That check should distinguish the component bug from any remaining configuration issue without shutting down the village.
