Hello,
I replaced my Shelly 3EM with a new released Shelly Pro 3EM.
There are no entities about the energy. There are only 7 entities about firmwareupdate, temperature, reeboot, uptime…
How will I get them? Do I need to wait for an update because it is a new device?
I’m in the same boat as you, no energy-related entities have been natively recognized. I’ve tried enabling outbound websockets per the instructions on the official integration page as it’s a gen2 Shelly device, it started recognizing device’s custom name, but no luck on the energy entities yet. Will keep digging and report in if I find something out.
If you know how to deal with mqtt, integration works very good. Mqqt message is missing totals, but those can be done with Riemann sum integral sensor.
Yes, Shelly is not sending those values in mqtt. But use can use HA helper to calculate them from power reading - Add Riemann sum integral sensor. Its pretty accurate and match values in shelly app.
If you have already em3 power sensors included on HA (over mqtt), go to devices, helpers, create new helper - Riemann sum…, select one of mqtt power sensors as a source, select desired metrixc (e.g. k) and you are done.
Repeat for each phase. Then you can sum them all with " Combine the state of several sensors" sum helper.
Will it only show up as an option if it’s via MQTT? I did the same steps (No mqtt), I can see the integration but I’m unable to add it to the energy dashboard. did I miss a step?
Same for me, this is great. However, still missing the energy values (Wh / kWh), which is something we’ll need to wait for Shelly to add via a firmware update.
I set up the Riemann helper and need to monitor the deviation to my EM24 from Victron for kWh for next days.
On current power I have a offset of 5-7W average when I consume around 500W - 700W which is from my point totally fine.
Hey, thanks for the suggestion! I’ve set up Riemann sum integral sensor with Integration method set to “Trapezoidal rule”, picking up values from a template sensor that sums three phases a few days ago. It’s accurate within 2%, which is acceptable, but the problem I’m getting is that it subtracts reported negative values (energy returned to grid from solar production) from positive values (consumption). Logically this makes sense - if energy is returned, it offsets that what’s been consumed. But because consumption and return tariffs are different, I’d need to set up 2 Riemann sum integral sensors somehow with one calculating only the positive values and one - only negatives.
Any way to do this with Riemann sum integral sensor?