You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Sebald
7c3e2381cb
|
7 years ago | |
---|---|---|
.. | ||
README.md | 7 years ago | |
sml.items | 7 years ago | |
sml.rules | 7 years ago | |
sml_server.c | 7 years ago |
README.md
Power Meter with SML
Read data from a power meter (eHZ) using Smart Message Language (SML).
First of all you need a IrDA USB dongle like described here. I got mine from Udo (Volkszaehler) but it looks like he is not selling these anymore. What I found is this link to a shop selling these dongles.
I used several information from the openHAB community, mainly from this topic.
You need to get, modify and compile libsml from Github liked described here. I included my version of sml_server.c here as it differs a bit.
- 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.