Hi all, I am new to HA and I have nearly everything available on the KNX Bus including PV Energy generation, Battery Charge Level and Battery Load (unloading and loading based on positive or negative value). I have created Sensors for each value but these are not shown in the dropdown list of the energy dashboard. Is there an easy way to add these entities as selectable within the energy dashboard?
#Convert KNX Entity to Long-term statistic values for Energy Dashboard
1 messages · Page 1 of 1 (latest)
Does the sensor have a state_class, a device_class, and a valid unit_of_measurement? (check developer tools -> states if you're unsure)
Energy dashboard does not handle any power sensors. You need energy sensor to be added to energy dashboard.
If you want to make an energy sensor from this, feed it into a Riemann sum helper.
You talk about this?`
Yep that's it.
You need to take the integral of power (kW) to get energy (kWh)
Or maybe you already have a sensor from somewhere that has total energy.
My comsumptions from the grid and input into the grid are coming from another integration (Tibber). So these are fine and working perfectly. As my PV manufacturer is Viessmann they have only a paid Cloud API that I am accessing via NodeRed to push it to the BUS. The Viessmann Integration from HA is only for heatpumps and other hardware but not for PV.
regarding the Rieman sum: what is the difference between the integration methods?
I believe left is always correct for HA. I don't know why those other options are even there.
Though adding the helper it does not show up in the dashboard config.
You need to again make sure it has correct state_class, device_class, unit_of_measurement, and possibly wait a few hours for the new statistics to be generated.
What state, device and unit of measurement would you recommend then?
state_class: total_increasing
device_class: energy
unit_of_measurement: kWh
with this uom i got a invalid config after loading...
whithou the uom i was able to load the config again. But still not selectable from the energy dashboard config.
@hollow hinge any further idea?