Shelly 3EM Metering and Automation Tips

Hello everyone! I hope you’re all having a great day. I wanted to share some experiences and tips I’ve gathered while working with Shelly 3EM devices in my Home Assistant setup.

Over the past few months, I’ve been trying to optimize my energy monitoring system. One of the challenges I faced was setting up a two-way metering system to track both the grid consumption and the excess energy fed back into the grid. After some research and experimentation, I managed to set up two virtual meters using Shelly 3EM’s data.

Here’s how I approached it:

  1. Grid Consumption Meter: I configured this to only show positive values, representing the total energy drawn from the grid. I used a helper to balance the phases and ensure accurate readings.

  2. Excess Energy Meter: This one tracks the energy fed back into the grid. It subtracts the simultaneous consumption from phases 1 and 2 from the excess on phase 3. I set this to only show negative values to differentiate it from the grid consumption.

The biggest hurdle was figuring out the right configuration without any programming knowledge. Thankfully, the Home Assistant community and forums have been incredibly helpful. I learned that using virtual meters and helper entities can simplify the process significantly.

I also discovered that visualizing this data in a dashboard makes it much easier to monitor and understand. I now have a clear overview of my energy usage patterns, which has helped me make more informed decisions about energy consumption.

If anyone has similar setups or tips to share, I’d love to hear about them! Let’s keep learning and improving together. :blush: