Good morning everyone. This is my first post and I am new to installing Home Assistant (Docker - QNAP). So I ask you to be patient because I have to learn
I have already read the discussions about my problem but I have not been able to find the solution.
I have photovoltaic panels with a storage battery from Huawey. I managed to match everything and I see the graphs and all the other things.
Unfortunately in the âEnergyâ dashboard, when I go to insert the sensor that measures the âinstantaneousâ production of the photovoltaic panelsâŚthe sensor is not in the drop-down menu.
I checked and as an entity I see it and it works (I attach a screenshot).
Yes, as has been said, the Energy Dashboard shows the energy that has been moved around. Energy is usually measured as kWh
Power is instantaneous energy flow, and usually measured as kW or just W.
The reference point #2 says - âif you only have a power sensor, you cannot add this to the energy dashboardâ
Point #3 says - âif you only have a power sensor, you can make an energy sensor using the Reimann Integral integrationâ
A Reimann Sum (or Integral) calculates the area under the power-curve graph you have in your post above. Since the height of the curve is âpowerâ as kW, and the x-axis is âtimeâ as h, the area under the curve between two points is power x time = energy as kWh.
Fortunately, the Reimann Sum integration does all the hard work.
Setting up a Reimann Sum sensor is best done using a helper: