Hi
With the latest 2021.8 release I started to monitor my energy consumption and I see for some reason negative values:
My config is basic - only grid:
And my values are always positive:
Can you tell what is wrong?
Thanks!
Hi
With the latest 2021.8 release I started to monitor my energy consumption and I see for some reason negative values:
My config is basic - only grid:
And my values are always positive:
Can you tell what is wrong?
Thanks!
The new Energy Monitor can only use energy sensors. That does not appear to be an energy sensor. It looks a lot more like a power sensor.
So it has the wrong units (kWh instead of W or kW).
An energy sensor keeps increasing throughout the day as power is used like this:
Energy (kWh) - can be used:
Power (W) - can’t be used:
You can convert power sensor (W) to energy sensor (kWh) using Riemann Sum integration. Also, based on your spiky power usage graph, you should choose the “left” method for a more accurate result.
thanks,
will use the utility meter sensor:
will see if it works ok,
anyway my “current_usage” is also energy sensor, probably what you meant that it should be accumulative sensor rather then current value.
Thanks guys
I have this same issue, so is this looking for the cumulative total that keeps increasing forever or a number that gets reset every so often like an hourly/daily/weekly/monthly total?
I have not noticed any issues with daily energy meters.
If you wanted to specifically track and reset energy sensors by hour/day/week/month/year etc. then you can use the utility_meter integration:
Ah, it’s one of those one minute average energy sensors. I have no idea why manufacturers keep implementing those. They are no use at all. You get just as much information from a power sensor.
So, if i’m correct i’m using the wrong sensor info? i should get my utility meters totals instead of the current usage?
I should used this one (tarief 1) and tarief 2 (for night and day usage).
These are the actual counters that are shown on the utility meter/ these counters never go down.
Not even with solar charging (do not have this yet) because those are 2 different counters| that also only go up in numbers.
Name Value Unit
Energie Gebruikt tarief 1 4637.594 kWh
Energie Gebruikt tarief 2 4912.754 kWh
i'm now using this sensor that shows the current usage every 10 seconds...
This value goes up and down depending on the use of electricity.
Vermogen Gebruikt 0.396 kW
Full sensor details (in case i missed another sensor that could be of value) it also shows unused sensors
as we do not have solar panels (yet) and we do not have a natural gas meter (all upcoming in about a year and a half when we move):
Energie Gebruikt tarief 1 4637.679 kWh
Energie Gebruikt tarief 2 4912.754 kWh
Energie Opgewekt tarief 1 0 kWh
Energie Opgewekt tarief 2 0.175 kWh
Vermogen Gebruikt 0.399 kW
Vermogen Opgewekt 0 kW
Voltage l1 232.6 V
Voltage l2 229.7 V
Voltage l3 229.8 V
Current l1 0.74 A
Current l2 0.61 A
Current l3 1.44 A
Vermogen Gebruikt l1 0.104 kW
Vermogen Gebruikt l2 0.079 kW
Vermogen Gebruikt l3 0.215 kW
Vermogen Opgewekt l1 0 kW
Vermogen Opgewekt l2 0 kW
Vermogen Opgewekt l3 0 kW
MBus-1 Gebruikt 0 m3
MBus-2 Gebruikt 0 GJ
MBus-3 Gebruikt 0 m3
MBus-4 Gebruikt 0 m3
Gas Gebruikt 0
This whole Energy monitor in HA is driving me nuts !!!
I’m having this same issue, all I want it to track my grid usage then track each entity I have in my home…
But feels like I have to be a electrical engineer to understand half of this stuff…
As below, I’m now seeing the same…
Here is the sensor…
Can somebody please explain what the heck I’m doing wrong here?!
same issue.
Im using “accumulated” kWh sensor.
state_class: total
unit_of_measurement: kWh
device_class: energy
friendly_name: accumulated consumption house
All these issues started when i upgraded to 2021.12
Dev tools
I can confirm this. Energy monitoring worked well for me, but something happened after upgrading to 2021.12. It looks like it resets wrong at midnight. It should start with 0 kWh, but starts with the total consumption from the previous day as a negative number. If the consumption for the next day is less than the previous day, I end up with a total negative consumption. I am pretty sure I don’t produce any energy to the grid.
I see the same issue since upgrade to 2021.12.
I have also the same issue after 2021.12 upgrade !
I have the same issue with the 2021.12.7 is this fixed already?
I’m using the Tibber-integration (Tibber is my power supplier) so the solution for me was to change the sensor to this one :
sensor.last_meter_consumption.xyz…
For other integrations I dont know, but it’s related to how the sensor is calculating energy usage.
This semi fixed the problem for me too. I don’t have any negative energy bars any longer, but now all the energy usages are an hour off.
sensor.accumulated_consumption_address
updates constantly but has the huge drop/negative energy, but during the day the energy bars are correct
sensor.last_meter_consumption_address
updates for me ~10 seconds past the hour so all my bars are always 1 hour late, but no negative energy bars.
I guess we have to wait until Add missing `last_rest` in Tibber by Danielhiversen · Pull Request #61914 · home-assistant/core · GitHub gets released.
See this comment for more information: Tibber - Energy - Large negative consumption around midnight · Issue #61551 · home-assistant/core · GitHub
I also have this strange issue with version 2022.7.3.
My main power meter (poweropti) shows negative values.
The kWh value is permanently increasing.
but the energy dashboard shows negative values:
Also one of my five sockets shows a huge negative value:
I guess I can join the ranks of those with issues:
I have a blitzwolf plug, and I made a sensor using Riemann sum integration. The energy usage of the plug looks fine to me, however, just the energy dashboard is affected.
Home Assistant 2022.7.6
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.1 - latest