For anyone who has Net metering I have created a set of templates for Home Assistant that calculate Import, Export and Consumption using the power sensors, which are updated every second so will be about as good as we can get till we can convince someone over at Allterco/Shelly to add the import and export sensors natively.
Shelly 3EM 3-phase Net Metering templates for Import, export and consumption
Hi, Please see my templates below to calculate Net Metering correctly for the Shelly 3EM with 3-phase and solar(single or 3-phase), as used in Australia and…
community.home-assistant.io
Let me know if you have any questions.