Hi everyone,
I’m trying to understand the logic behind the Energy Dashboard, because I’m clearly missing something.
In the attached image you can see my setup:
Clamp 1 (P1) measures the total house consumption
Clamp 2 (P2) measures solar production
(both from Shelly EM)
This is how I configured the Energy Dashboard:
Grid consumption → Riemann integral of P1
Return to grid → Riemann integral of
max(0, produced_power - absorbed_power)
Grid supply → sensor
max(0, absorbed_power - produced_power)
(by the way: why is this field required in W and not in Wh?)
Solar production → Riemann integral of P2
Up to this point, does this approach look correct to you?
Step 2 – the problem
As shown in the example image, “absorbed power” (P1) is displayed in blue and is added to “solar consumed”(orange) to calculate the total consumption of 0.59 kWh.
But this is not correct:
between 12:00 and 13:00, my house actually consumed 0.29 kWh in total.
So it looks like the Energy Dashboard is double-counting something.
Where am I going wrong?
What am I misunderstanding about the Energy Dashboard logic?
The Shelly EM has energy sensors so there is no need use the Riemann Sum. Not sure why you are doing this.
I used to use a Shelly EM. I found it to be within +/-10% of my energy provider’s information. Using an IoTaWatt instead has reduced this error to less than +2%.
I will verify using the integrated energy sensors of Shelly but, at the moment, I need to understand how the energy dashboard works.
As you can see, the solar orange line does not work; it seems that there is no flow from solar to home and this is wrong because, at the time of the screenshot, I was using approximately 70-80% of solar production.
They stopped production in the US due to the unfavourable business environment. There was talk of producing them in Canada: IoTaWatt Discussion - #102 by tom_l