From 274131aa19ebba6f42d21a95644afbf405789eba Mon Sep 17 00:00:00 2001 From: Martin Sebald Date: Fri, 19 Jan 2018 13:40:45 +0100 Subject: [PATCH] fixed typo --- sml/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sml/README.md b/sml/README.md index 6bcc3f6..30510a8 100644 --- a/sml/README.md +++ b/sml/README.md @@ -7,10 +7,8 @@ I used several information from the openHAB community, mainly from [this topic]( You need to get, modify and compile [libsml](https://github.com/volkszaehler/libsml) (the [old libsml](https://github.com/dailab/libsml) is dead!) from Github liked described [here](https://community.openhab.org/t/using-a-power-meter-sml-with-openhab/21923/1) and in my comment about the new repository [further down in the thread](https://community.openhab.org/t/using-a-power-meter-sml-with-openhab/21923/12). But I included my version of sml_server.c (pulled and edited 2018/01/19) here as it differs a bit. -If you like to have a fixed device name (e.g. */dev/sml0* instead of */dev/ttyUSB0*) which cannot change (it may if you plug in another USB device), please use the *50-sml.rules* file and modify it. To find our the serial and maybe also different manufacturer of our device use the following command to display USB device properties: -``` -lsusb -v -``` +If you like to have a fixed device name (e.g. */dev/sml0* instead of */dev/ttyUSB0*) which cannot change (it may if you plug in another USB device), please use the *50-sml.rules* file and modify it. To find our the serial and maybe also different manufacturer of our device use `lsusb -v` to display USB device properties. + * **50-sml.rules**: Put this file into your */etc/udev/rules.d* directory and modify it for your specific setup. * **sml.items**: Put this file into your */etc/openhab2/items* directory. * **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*