I have a Shelly em3 for energy measurement (operator’s meter in the basement, Shelly in the fuse box in the apartment). Previously I had entered the 3 phases individually in the Energy Dashboard, so far so good. Since short I also operate a balcony power plant (PV) with a Hoymiles HM-800 inverter.
This hangs only on one phase (L2 for me) and therefore the view in the dashboard did not fit, of course, as far as the self-used solar power is concerned. The meter in the basement works balancing (german: saldierend).
Now I have summarized with the help of template sensors the consumption and the feed from the Shelly (each L1, L2, and L3 summed) and taken as sources for the dashboard. Somehow I do not understand the display in the dashboard:
So for example the time between 11:00 and 12:00:
- Power consumption: 0.09 kWh
- Injected: 0.47 kWh
- Consumed solar energy: 0,02 kWh
- Produced solar energy: 0,49 kWh
Why is it in the hours when the produced electricity is higher than the purchase? My expectation is, that The consumed solar Energie would be 0.09kWh
- The source for consumption is the sum of consumption
L1+L2+L3
. - The source for feed-in is the sum of feed-in
L1+L2+L3
. - The source for photovoltaics is the inverter’s
yield per day
.
Where is my thinking error?
I summarize the phases as follows:
- sensor:
- name: "Stromverbrauch Summe"
unique_id: shelly3em_energy_total
device_class: energy
state_class: total_increasing
unit_of_measurement: "kWh"
state: >
{{
states('sensor.shellyem3_ab.........._channel_a_energy')| float(0) +
states('sensor.shellyem3_ab.........._channel_b_energy')| float(0) +
states('sensor.shellyem3_ab.........._channel_c_energy')| float(0)
}}
- sensor:
- name: "Einspeisung Summe"
unique_id: shelly3em_return_total
device_class: energy
state_class: total
unit_of_measurement: "kWh"
state: >
{{
states('sensor.shellyem3_ab.........._channel_a_energy_returned')| float(0) +
states('sensor.shellyem3_ab.........._channel_b_energy_returned')| float(0) +
states('sensor.shellyem3_ab.........._channel_c_energy_returned')| float(0)
}}
Conclusion
Ok, now that I’ve written this, I think I know where my mistake in thinking is. The Shelly actually measures what is really being fed in (only L2) and doesn’t balance the phases. So, I need to build a balancing meter with template sensors, right? Does anyone have an approach for me?