#Sometimes missing solar power used in energy dashboard

1 messages · Page 1 of 1 (latest)

cloud tree
#

Hello, I have a problem with the statistics shown in the energy panel, I think.

In the screenshot you will see that sometimes I have no own solar used. In fact it shows that I used no power at all.

I already had this a couple of days ago for only 1 hour, and it showed a little power usage (way less then normal) and I feel like this is not the expected behavior.

I feel like I have set up everything up correctly. It was also working well until we started getting more sun, which is strange to me.

Also there seems to be more going wrong, as on the 25th of January nobody was at home at 14:00, but it shows way more "idle" usage then normal... that could also be coincidence, I'm not sure.

I also have 2 individual devices which are Shelly plugs, but I have those entities disabled as I am currently not using them yet.

Is this something that I did not configure correctly? Or is there something else going on? Or am I just reading it all wrong?

#

I forgot to add that it also shows negative individual device power used.

trail latch
#

Can you describe what sensors you have for grid and solar and what they measure?

cloud tree
#

I have two grid usage sensors, they measure total used power from when the smart meter was placed. I have Low and High power usage so that's why there are two. The same goes for the delivery.

The Solar production measures total production over 1 day, every night it resets to 0. I was thinking that might have something to do with it? The sensor is from an add on of HoyMiles Solar Gateway stable Addon, so I can read out the data from the cloud app.

trail latch
#

Can you download the CSV for that day you're showing and upload it on a code share

#

(25th or 27th, whichever you prefer)

cloud tree
#

So sorry for asking, I have the CSV but what do you mean with a code share? I work in IT but have not heard of it before.

frank mothBOT
#

Please use a code share site to share code or logs, for example:

Please don't use Pastebin, since it can randomly add spaces to the main view. Please also don't share text as images since it makes it harder for people to help you. Remember that others may have colour blindness, impaired vision, etc.

trail latch
#

Just a place you can dump text that someone else can easily retrieve it.

cloud tree
#

Got it, might need a minute as I need to log in to Excel with my work account first.

trail latch
#

Ok perfect.

cloud tree
#

I like sharing as much information as possible with a problem, sorry for spam maybe.

I also wanted to share the 26th, where everything seemed perfect, and nothing has been changed in the energy configuration.

trail latch
#

So on 27 January, 10AM hour:

  • It says you have 0.351 kWh solar produced
  • It says you sold 0.351 kWh to grid.
  • It says you consumed 0.004 kWh from the grid (e.g. nothing)
#

So therefore your house seems to have consumed no energy.

#

You would have to ask yourself which of those numbers is wrong, if you think you did consume energy.

cloud tree
#

Which is impossible to me, as I have atleast 1 device (A basic windows server which runs Plex and other stuff) which runs 24/7

#

my idle usage at all times is at about 250-300 watt, every hour.

trail latch
#

So one of your sensors must not be giving you the right data.

#

I can't tell you which one it is from here.

cloud tree
#

Would it help if I shared the data graphs from today?

trail latch
#

You can if you want. I can only offer general guidance, you'll have to figure it out yourself somewhat.

#

Is your solar API delayed / slow to update?

#

It may be attributing energy into the wrong hour if it doesn't update frequently.

#

That could explain this weird steppy pattern:

cloud tree
#

I get that, been tinkering with home assistant for 2 months now, has been fun.

Solar Api is indeed a bit slower, but it updates about every 10-15 minutes usualy. But for me that still does not explain 0 usage.

The weird steppy pattern could be because of the Netherlands... one hour we have sun, next hour none.

But as you can see in the "Productie vandaag" it updates several times withing an hour.

trail latch
#

Solar Api is indeed a bit slower, but it updates about every 10-15 minutes usualy. But for me that still does not explain 0 usage.

It could explain it, as usage is only calculated from the other sensors.

cloud tree
#

This is the real time power produced that i get from the solar api, it's a bit steppy indeed, but still more then 1 udate in an hour.

trail latch
#

Consumption is calculated as produced + import - sold.

Imagine for a moment that in one hour your solar produces 1kW, and you sold 800W to the grid in that hour. HA would calculate then that you must have consumed 200W.

#

Now image that your solar sensor updates with a delay, and even though you really produced 1kW in an hour, the sensor was updated with a delay, and it only sees that you calculated 800W in that hour.

#

If it sees you sold 800W, then it will say 800 - 800 = 0 consumption.

#

In the next hour it will then shift 200W of production into the wrong hour.

cloud tree
cloud tree
trail latch
#

So your graphs will only be as good of quality as the data going in. Especially mismatching data from different sources with different update intervals will sometimes look weird.

cloud tree
#

So my solution would probably be to find a way to get a sensor that gets more frequent data updates?

trail latch
#

That would help.

#

Or you can just live with it. Switching to like monthly view should smooth out some of that shifting and be more correct, since each column will be a whole day's worth of data.