Strange things appear from the energy dashboard

I have a problem that I don’t understand at all. My consumption is always relatively constant per hour and as soon as solar energy is generated and only then between 9 a.m. and 3 p.m. I see that I suddenly use all of the solar energy that I produce myself. But that makes no sense at all because consumption increases from 0.65 kWh to suddenly 10 kWh per hour as soon as solar energy is generated. So I’m supposedly draining all of my solar energy. That can’t be right at all. And that is also reflected in the consumption, which has suddenly doubled per day, which can’t be right. I took a screenshot with gyazo. Then you see what I mean, it just doesn’t make any sense.

Hi @Salvatrucha

Can you share some more details about your energy sensors and your config of the energy-dashboard.

For sure there will be a fault configuration.

Cheers
Matt

Thats my energy-dashboard config : Screenshot - 97d7bc9890c86cfa60ac7c1e68ba93d4 - Gyazo
i use a solax x3 hybrid inverter.

Here are all of my Sensors:

Hmmm…
In my opinion, you need additional sensors.

For Production/Import/Export i use sensors with class total_increasing.
They do not get resetted every day.

Maybe you need to setup some sensor templates with some math behind to get this done.

I would calculate the production sensor via “PV Power Total” like this.

platform: integration
source: sensor.PV_Power_Total
method: left

This will generate you a new sensor named sensor.PV_Power_Total_integral
This new sensor has the unit W(att)h(ours) so you need to do further calculation.

I added a teplate sensor like this:

sensor:
  - name: Energy Production Solar
    state: "{{ states('sensor.PV_Power_Total_integral') | float / 1000}}"
    unit_of_measurement: "kWh"
    state_class: total_increasing
    device_class: energy

This converts the Unit from Wh to kWh, and the state_class to total_increasing
This sensor is now ready to use in the energy_dashboard for Solar Production.

The other sensors you can create like this one.

If you need more details just come back.

Cheers.

1 Like

Please post your images here instead of using gyazo. Thanks.

After a configuration check by Solax, the problem disappeared.