# Configuring electricity imported and exported from the grid into Home Assistant (HEMS)

**URL:** <https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479>\
**Category:** Home Energy Systems\
**Created:** [31 May 2022 10:29 UTC](https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479 "2022-05-31T10:29:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Bates](https://community.carbon.coop/user_avatar/community.carbon.coop/peter_bates/32/71_2.png) [@Peter\_Bates](https://community.carbon.coop/u/Peter_Bates)\
**Post date:** [31 May 2022 10:29 UTC](https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479/1 "2022-05-31T10:29:42Z")

</div>

I notice that the HEMS with Home Assistant Dashboard has a method of doing this from \> Energy Electricity , but the instructions as to how to do this get complicated because it refers to a number of difficult European meter systems. Has anyone worked out how and produced some simple instructions on how this can be done with a British Smart Meter?

Ideally, I want to monitor real-time (or near real-time) consumption from the grid and export back to the grid. I know it will require some sort of clamp and then there is a need to configure the 5 steps within the Electricity Grid module. But, it is not really clear how to do this.

---

<div class="post-metadata">

**Author:** ![epickering](https://community.carbon.coop/letter_avatar_proxy/v4/letter/e/779978/32.png) [@epickering](https://community.carbon.coop/u/epickering)\
**Post date:** [31 May 2022 15:14 UTC](https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479/2 "2022-05-31T15:14:07Z")

</div>

I have used an Efergy montior to intergrate into Home Assistant - not sure if that would work with the HEMS instance, but worth a look: [https://efergy.com/](https://efergy.com/) - in fact the online Efergy portal might do what you want on its own.  
Loop (loop.homes) can also talk direclty to your Smart Meter without upsetting your energy provider and that can monitor usage (maybe only consumpton?) as well.

---

<div class="post-metadata">

**Author:** ![mattfranklin](https://community.carbon.coop/user_avatar/community.carbon.coop/mattfranklin/32/11_2.png) [@mattfranklin](https://community.carbon.coop/u/mattfranklin)\
**Post date:** [1 June 2022 16:11 UTC](https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479/3 "2022-06-01T16:11:18Z")

</div>

It is possible to do this with a ShellyEM and a current clamp. If you also have a clamp on your solar feed, then you are able to identify your generation, export and infer your usage. This is something we have been trialing recently. I would be happy to speak to you further about this next week, or you can ask @matt when you next speak with him as well.

---

<div class="post-metadata">

**Author:** ![Peter\_Bates](https://community.carbon.coop/user_avatar/community.carbon.coop/peter_bates/32/71_2.png) [@Peter\_Bates](https://community.carbon.coop/u/Peter_Bates)\
**Post date:** [6 June 2022 09:48 UTC](https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479/4 "2022-06-06T09:48:53Z")

</div>

Thanks @epickering Would I be correct in thinking that Loop is about the same as the Powershaper Monitor that I already use.

---

<div class="post-metadata">

**Author:** ![epickering](https://community.carbon.coop/letter_avatar_proxy/v4/letter/e/779978/32.png) [@epickering](https://community.carbon.coop/u/epickering)\
**Post date:** [12 June 2022 19:18 UTC](https://community.carbon.coop/t/configuring-electricity-imported-and-exported-from-the-grid-into-home-assistant-hems/479/5 "2022-06-12T19:18:59Z")

</div>

Probably - but it does not require you to have an inhome display to connect - I am in a new build and we didn’t get one of those! ;-(
