I´ve used a workaround and added the shellyem3 energy returned channels to the enegry dashboard. Do you see any issue with this, or should it be accurate?
Hello,
I use the version 1.3. for a long time and it.
works quite well in conjunction with the Shelly 3EM.
However, I have large deviations when I
feed solar energy.
I have unfortunately the problem that the values in the HA take a long time to update.
The values in the cloud change every 1-2 seconds.
When I connect to the Shelly in the home network, there are changes every 5-6 seconds.
In HA it sometimes takes 30 seconds to a change.
Maybe someone has a tip and can help?
# Sensor for Riemann sum of energy import (W -> Wh)
- platform: integration
source: sensor.aktuellerimport
name: Import
unit_prefix: k
round: 2
method: left
# Sensor for Riemann sum of energy export (W -> Wh)
- platform: integration
source: sensor.aktuellerexport
name: Export
unit_prefix: k
round: 2
method: left
# Sensor for Riemann sum of energy consumption (W -> Wh)
- platform: integration
source: sensor.aktuellerverbrauch
name: Verbrauch
unit_prefix: k
round: 2
method: left
Hi,
balanced energy measuring seems to be something for specialist. ! Great work, as far as I can understand this discussion as a HASS and yaml newbie.
Is this solution also usable for using a Shelly Pro3EM, with a PV-panel pluged to one phase? With the straightforward way of integration the balancing is unaccounted, so the energy not used on the same phase is counted as ‘returned’ (in purple colour).
I just read in a product rating in an online shop here for the Pro 3EM yesterday that the net energy calculation is natively supported…guess I order one just to find out (o;
Rating translated with google (o;
“Works great with Home Assistant and the total energy entity of all three phases no longer has to be entered manually via YAML code, it is even native to this model”
Hmm…can I use the Wh returned from the PV DTU instead the wattage sensor sensor.power_solargen?
The energy generated is constantly counted up and reset at midnight.
I’m using AhoyDTU where the HM-600 not always answers, but at least I get correct Wh figures the next time it answers…
If you don’t want to calculate near instantaneous consumption then you don’t need solar_gen.
I find it incredibly useful to see what is happening with your power demand real time.
Eg did I forget to turn off the AC, or did the kids leave a hair straightener turned on.
The data in the energy dashboard was not easily accessible, for other sensors.
Maybe returned, but not used.
I have to pay for the energy used from the import daily sensor, not “daily import - daily export” (o;
Otherwise it would mean that the grid smart meter is counting backwards as soon I return energy…which it isn’t…
The calculation in the energy list is right though…as I can supply tariffs per daytime and per used/returned individually. Just the wording is misleading with “net usage” (o;
Nothing with the translation…just don’t see any advantage for a regular user displaying the difference of usage and return in the gauge…the needle in the gauge is fin3 though, telling you how efficient your pv is, even if it is that small as mine
But let’s stay on-topic (o;
My Pro 3EM is on the way to verify if that is true what a rating said…arriving hopefully tomorrow morning
Anyway…great work your script
Looks more real life than before.
Gonna put it into my workplace electric distribution board and hook up one clamp in reverse to see how total active/returned energy is handled…and when it’s fine…it will replace one of my 3EM in the main distribution board.