Community
OpenEnergyMonitor

Community

Electricity meters with HAN interface

Tags: #<Tag:0x00007f87a69135b8>

In my area of Sweden, the electric utility Mälarenergi is replacing all electricity meters with new “smart” meters that have a so called HAN interface for the customer to access data. This interface is a form of M-Bus. Believe that the same standard is used in more parts of Sweden and in Norway (and perhaps also some other country). Would be interested to know if anyone has integrated such an interface with OpenEnergyMonitor? Or would anyone be interested to do so (for example on Raspberry Pi)?

Can anyone give advice how such an integration would best be done, so it could in the future perhaps be part of OpenEnergyMonitor (for example as an alternative to CTs etc on emonPi)? I believe hardware is already available to connect HAN via USB, but are there any guidelines how the software should be best be written in order to possibly merge it with the other software?

A smart meter HAN - Home Area Network uses the Zigbee smart home wireless networking standard, however it seems to use a different ‘profile’ to most other uses of Zigbee and this I believe prevents directly accessing it.

There are some dedicated devices that use the same ZigBee Smart Energy 2.0 profile and hence can in theory connect. (This may or may not be restricted by the energy and meter supplier.) An example is this one https://rainforestautomation.com/rfa-z114-eagle-200/

These connect to the HAN using Zigbee and then convert the data to a form that can be accessed over your home LAN. (RainForest have their own API for this.)

In fact this type of device has its own abbreviation which is CAD - Consumer Access Device. You may be familiar with some smart meter devices which provide associated device with an LCD display you can view in real time on your table, these are called IHD - In Home Display devices and also use the same HAN. In fact some IHD devices now also have CAD capabilities as well. See - https://www.geotogether.com/products-services/tempo-smarter-energy/

Issues to be aware of.

SMETS1 and SMETS2 are obviously different. Some IHD/CAD devices may only support SMETS1 others may support both.

I believe that whilst the most common radio frequency for Zigbee is 2.4GHz that some SMETS meters may use different frequencies e.g. 868MHz. This is because these alternate frequencies have a longer range and with meters often being hidden away in a cupboard or even outside the house the greater range can be vital. Obviously you need to be compatible in this respect as well.

Thank you for your reply John. As I understand, ZigBee wireless is used for this purpose in the UK. In my area it is instead a form of M-Bus using RJ45, which can be used also to supply power to a slave. Below are some links regarding open-source solutions for the HAN interface used in Norway, which I believe is similar to what I have in this part of Sweden:

https://www.nek.no/wp-content/uploads/2018/10/AMS-HAN-Port-Smart-Hus-og-Smart-Bygg-Gjør-det-selv-og-Pilotprosjekter-ver-1.16.pdf (in Norwegian)

https://github.com/roarfred/AmsToMqttBridge (however, I was very sad to read on Facebook that the developer is dead)