From d6fd5430d26e0431cbc297b66ef815af2e9bdd39 Mon Sep 17 00:00:00 2001 From: Martin Sebald Date: Tue, 14 Nov 2017 11:46:27 +0100 Subject: [PATCH] minor changes --- sml/README.md | 2 +- sml/sml.items | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sml/README.md b/sml/README.md index 4024f12..dcc6dc9 100644 --- a/sml/README.md +++ b/sml/README.md @@ -8,5 +8,5 @@ I used several information from the openHAB community, mainly from [this topic]( You need to get, modify and compile [libsml](https://github.com/dailab/libsml) from Github liked described [here](https://community.openhab.org/t/using-a-power-meter-sml-with-openhab/21923/1). 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.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*. You also might need to adjust the device name, in my case it is: */dev/ttyUSB0* * **sml_server.c**: Put this file into the *libsml* subdirectory *src/libsml/examples* and compile *libsml* with this file, not the original one. \ No newline at end of file diff --git a/sml/sml.items b/sml/sml.items index da40741..3023a98 100644 --- a/sml/sml.items +++ b/sml/sml.items @@ -1,2 +1,2 @@ Number EHZ_consumption_power "power consumption [%.1f kwh]" -Number EHZ_status_power "power status [%.1f kwh]" +Number EHZ_status_power "power status [%.1f kwh]"