Is there a way to manually correct the data on Energy Management? I had some networks issues yesterday and my Shelly EM3 was offline and came online one yesterday and twice this morning. So my daily, weekly and monthly are quite a bit off now. See the screens:
Turned out it was caused by Shelly EM3. After restar sometimes it will be unavailable and because of that calculation that sums three phases will be 0 for a brief moment and then back to where it really was. Trick was to add availability_template to the template sensor. More here: Shelly 3EM 3-phases Energy sensor - #56 by arva
But now i need to delete those spikes and I don’t know where.
My issue was that Shelly EM was unavailable few times after restarts and template sensor that sums up three phases went to 0 and theb back to real value.
When i investigated database with SQLite Web I saw the problem with some 0 rows and sum lines that were affected. I deleted the 0 rows and corrected the SUM values with UPDATE. Now everything in DB looks good, but Energy Dashboard still shows the wrong numbers.
Any ideas, where the Energy Management gets the (wrong) data?
EDIT: If anyone is using HA in a Docker stack, SQLite Web works neatly with Docker Compose:
I have posted a new topic in community forum to suggest to add Water Heating as new source/consumption of energy on the top of Grid, Solar and Gas, for those who are connected to district heating or have solar water panel.
I am not speaking about water consumption…
see Add Water Heating as source of Energy
Hi such a problem and I can not find a solution
database - mariadb.
1.After restart, HA added the entire value of the entity to me, not just the measured hour. How to avoid it, is there a way?
2. Is it possible to remove this result from the database so as not to disturb the whole?
The problem is that I saw the entity in “Energy Monitor” on Home Assistant but with wrong value because it shows me a daily consumption of 3 KWh instead on Smart Life app I saw a daily consumption of 0.54 KWh.
I tried to convert by myself the value of the watt in kwh and HA is 100% wrong. Even if I add “method: left” or “method: right” nothing changed.
Let’s see if anyone can understand what I wish for here
In the energy management, I get my data partly from a pulse reader, attached to my electricity meter that the electricity company uses for billing me. And partly from individual devices, connected to smart plugs.
I really like the visualisation with the bars, showing how much has been consumed per hour/day/week etc.
However, I want the bars to concist of what’s been consumed TOTALLY (read from my energy meter) and how much of these bars have been consumed by individual devices. If i add individual devices as “Grid consumption”, sure enough they show up, but they make the totally consumed energy statistics wrong. Since they are already being accounted for in the reading from my electricity meter, they don’t need to be “added to the bar” again as extra consumption. I only want the bar to be broken down. For example "Hour x, total consumption from electricity meter: 10kWh
These 10kWh concists of 1kWh from freezer, 1kWh from cooler, 1kWh from dishwasher, 7kWh from googling HA energy setup".
In this way, it will be way more graphical and intuitive too see what’s been pulling electricity and when.
The consumption of individual devices that are shown under “Sources” does not provide a good graphical visualization and makes it harder to see how much a given device has “contributed” to the total consumption. If the bars could include how much an individual device has “contributed” to it, it would be way better.
I try to add a picture, perhaps some good soul will understand what i’m trying to say
Thank you for your reply. I do have the devices added individually, but their consumption does not show up graphically on the bars. Would be a really helpful functionality if it did. Perhaps it can be solved?
As I’m just a beginner in this area. I wonder if I could add entities which come from my e3dc System. I get the values out of a Modbus integration in my configutation.yaml. Is there a solution for that?
This is what I’m after too.
I have a Shelly EM and I am now using it to track my heat pump electricity consumption.
I would like to split my energy dashboard bar chart between household use and heat pump use.
Other than creating a custom Grafana chart, I can’t see any other way to do this at the minute.
It should be something easy for HA to add in though as you could just select a tick box when adding a meter to grid consumption to ‘not add consumption to overall’
It would also be great if we could show this as a separate icon like the solar production on the little graphic.
Hi
I am using a sonoff pow to measure my solar pannel energy generation, but can not see it in the energy drop button, I am using this code, to make it apear, but when I set the state class: I got an error in the Yam file until I errase it. this is my code any Ideas?