Read data from a power meter (eHZ) using Smart Message Language (SML).
Read data from a power meter (eHZ = Elektronischer Haushaltszähler) using Smart Message Language (SML).
First of all you need a IrDA USB dongle like described [here](https://wiki.volkszaehler.org/hardware/controllers/ir-schreib-lesekopf). I got mine from Udo ([Volkszaehler](http://volkszaehler.org)) but it looks like he is not selling these anymore. What I found is [this link](https://shop.weidmann-elektronik.de/index.php?page=product&info=24) to a shop selling these dongles.
First of all you need is a eHZ (Elektronischer Haushaltszähler) and an IrDA USB dongle like described [here](https://wiki.volkszaehler.org/hardware/controllers/ir-schreib-lesekopf). I got mine from Udo ([Volkszaehler](http://volkszaehler.org)) some time ago but it looks like he is not directly selling these anymore. What I found is [this link](https://shop.weidmann-elektronik.de/index.php?page=product&info=24) to a shop selling same dongles.
I used several information from the openHAB community, mainly from [this topic](https://community.openhab.org/t/using-a-power-meter-sml-with-openhab/21923/1).
@ -9,4 +9,4 @@ You need to get, modify and compile [libsml](https://github.com/dailab/libsml) f
* **sml.items**: Put this file into your */etc/openhab2/items*.
* **sml.rules**: Put this file into your */etc/openhab2/rules* directory and modify it for your specific setup. In my case the compiled sml_server is in */home/openhabian/src/libsml/examples*.
* **sml_server.c**: Put this file into the *libsml* subdirectory *src/libsml/examples*directory and compile *libsml*.
* **sml_server.c**: Put this file into the *libsml* subdirectory *src/libsml/examples* and compile *libsml* with this file, not the original one.