Modbus Energy Total Stats Sensors not registering

Post Reply
mdex
Posts: 5
Joined: Thu Nov 07, 2024 12:00 pm

I have a KH10 inverter installed a couple of weeks ago and my HA installation automatically built the energy dashboard. The energy distribution for the grid/battery/house load all seem to be presenting correctly but the panels aren't.

pv1_energy_total and pv2_energy_total are not providing any values. There is one called solar_energy_total which could be a merging of the 2?

pv1_power and pv2_power seem to present real time values ok.
Dave Foster
Posts: 1786
Joined: Thu Oct 13, 2022 7:21 pm

solar_energy_total comes directly from the inverter (it is the total solar the inverter is reporting).

Whereas pv1(/2)_energy_total are derived from riemann sums working on the pv_power sensors - try restarting the home assistant when pv power is present when riemann sum sensors are created for the first time they sometimes freeze, a restart should solve it.
mdex
Posts: 5
Joined: Thu Nov 07, 2024 12:00 pm

Nice and simple! Thanks Dave

EDIT: Which of the 2 should I user for my energy dashboard? Does it matter as I assume they'd report the same?

EDIT 2: Unless solar_energy_total is a total ongoing count?
Dave Foster
Posts: 1786
Joined: Thu Oct 13, 2022 7:21 pm

mdex wrote: Wed Feb 26, 2025 9:08 am
EDIT: Which of the 2 should I user for my energy dashboard? Does it matter as I assume they'd report the same?

EDIT 2: Unless solar_energy_total is a total ongoing count?
If you add the pv1_energy_total strings independently to your dashboard under solar panels you will be able to see how each string performs and you'll get your daily stats etc... - if you only add solar_energy_total it will show you the total production but you won't be able to break it down by string performance.

They are all increasing totals, the energy dashboard will sort all of that out for you .
mdex
Posts: 5
Joined: Thu Nov 07, 2024 12:00 pm

Dave Foster wrote: Wed Feb 26, 2025 9:27 am
mdex wrote: Wed Feb 26, 2025 9:08 am
EDIT: Which of the 2 should I user for my energy dashboard? Does it matter as I assume they'd report the same?

EDIT 2: Unless solar_energy_total is a total ongoing count?
If you add the pv1_energy_total strings independently to your dashboard under solar panels you will be able to see how each string performs and you'll get your daily stats etc... - if you only add solar_energy_total it will show you the total production but you won't be able to break it down by string performance.

They are all increasing totals, the energy dashboard will sort all of that out for you .
So they are. Thanks for the help Dave, appreciated.
Post Reply