#Shelly 3 PRO EM energy problem

1 messages ยท Page 1 of 1 (latest)

past anvil
#

Hello,
I have problem to use shelly 3 pro EM sensors in HA Energy. I can't see my sensors in the list. When I look at "states'" of them, they are not declared "Energy". Can someone point me to the solution please ?
Thank you

unborn pumice
#

Which sensors in which list are not showing up

mellow pelican
#

Integrated via the Shelly integration? All up to date? Then the entities should just be good to use.

past anvil
#

I integrate them per the shelly auto integration. But they are not rated as "Energy" as shown in the screenshot below :

#

from the HA doc, the sensor must be set to "Energy" in "device_class", which is clearly not.

#

Do I need to create a new sensor that reflect this one, or should I change the current one ?

oblique jay
#

mine showed up with the shelly name

#

How does yours look under devices?

past anvil
#

I changed the name in Shelly web GUI and also set the Shelly in "monophase" rather than "triphase"

oblique jay
#

go under entities... are any of them disabled?

past anvil
#

nop

oblique jay
#

misspoke... click on each device and look for disabled entities

past anvil
oblique jay
#

I had to manually enable some of my sensor entities

#

click on them one by one

past anvil
#

in Shelly webconfig ?

oblique jay
#

no

#

under devices

#

did you have to update the firmware on the shelly before you connected it to HA?

past anvil
#

I have the lastest firmware and all required sensaros are activated in HA config

#

The real problem is the device_class, really nothing else

oblique jay
#

I thought that with mine too, but apparently i put the CT clamp backwards

past anvil
#

definitively not ๐Ÿ˜‰

#

what device_class use your shelly power sensors in HA ?

#

power or energy ?

oblique jay
#

did you filter for device_class: energy?

past anvil
#

this can be see in Developer Tools > States

oblique jay
#

maybe the renaming you did, messed up something?

past anvil
#

That's it

#

probably the renaming have something to do with my problem

#

does the name in Shelly webGUI have something special in the name ?

oblique jay
#

i connected to my shelly with the IP address

past anvil
#

Same

unborn pumice
#

I don't yet see the issue

unborn pumice
# past anvil

The power sensors obviously measure power and not energy

#

The pro em3 shows up as one device for each phase as well as one for the entire unit which has the aggregated values which you should be using for the energy dashboard

#

You should see them both on the combined device

past anvil
#

I can't find this. I think that when one rename Shelly Channels at Sheely side (using the Shelly GUI), it break the HA integration.

unborn pumice
#

It shouldnt really. Like why were it for energy and not power

#

Shelly likely even reports the aggregate dedicated as it gets displayed in their ui

#

You may want to consider reverting to defaults and if that brings it back then file an issue against the integration

mellow pelican
#

But did you go to the device? So Settings => Devices & services => Devices (tab) => look for the Shelly and click it.
There you have a full page with info about the device including all entities it provides.

#

And indeed, don't confuse power and energy ๐Ÿ™‚

past anvil
#

will try

#

I deleted the 3PRO EM in HA, reverted it default (Shelly) then add it again in HA and the same result appear. It device_class is power, so it can not be added in Energy as a "electricity income" to my home

unborn pumice
#

The device class isn't wrong, you are looking at the wrong sensor

#

You need a sensor reporting energy

#

Have a look at the device as septillion described

oblique jay
#

yeah if you click on it under devices.. you should see all the sensors it has...
eg

#

there should be two with "energy" in the name

past anvil
#

Yep, but there is NO sensor reporting Energy from the 3PRO EM when using Sheely integration for this device.

#

Anyway, I create a template with the correct device_class that report the same information from the sensor I need ๐Ÿ˜‰

unborn pumice
#

It seems very odd that it wouldn't report values which it does for other people.

#

Be aware that power isn't the same as energy so you setting a different device class doesn't actually do anything useful

past anvil
#

thanks. Anyway I have to work with HA to get more knowledge about it. It's a good start...

#

And also I have to check Shelly as it don't report the good infos... The power diplayed is far from reality.

#

it currently report 780W from my solar pannels when OpenDTU claim 541W

mellow pelican
muted kettle
#

Hi, I installed a Shelly EM Gen3 yesterday and had the same issue. The solution is to create a helper of integration type that uses the power sensor from the Shelly and converts it into 'energy', that's power over time. I'll pass the link to the docs in a while. It works now fine. Another issue is the type of calculation. I use trapezoidal as recommended but I'm seeing that some people here recommends left

muted kettle
#

Here is the explanation, not very clear, IMHO ๐Ÿ˜…

#

And it works for now, although I may change "trapezoidal" for "left" after comparing the measures with my company's if there is a big difference

mellow pelican
#

You can make an integral helper. But the energy sensor should just be provided by the device and that's more accurate as well.

fathom yacht
#

I have a better one in a PR

last blade
#

I tried using the helper above, but i dont know which shelly sensor to choose and how to set up the helper

oblique jay
#

depends on how its wired..

#

I only have split phase 240v.. so i only used B and C phases