minor change

This commit is contained in:
2017-11-15 09:41:23 +01:00
parent 352bc23e7f
commit a6ad14623b

View File

@@ -14,7 +14,7 @@ Then create a thing in Paper UI. Use the Exec binding and enter the following pa
The port for accessing the UPS device through apcupsd is a parameter as I check three UPS devices and only want to use one script. This is also the reason why I configured the remote UPS devices (all my UPS devices just have a USB cable, no network interfaces) in the local apcupsd. The data is received from the remote apcupsd installations. The port for accessing the UPS device through apcupsd is a parameter as I check three UPS devices and only want to use one script. This is also the reason why I configured the remote UPS devices (all my UPS devices just have a USB cable, no network interfaces) in the local apcupsd. The data is received from the remote apcupsd installations.
The new thing *USV_dump_log* gets an id like *exec:command:**a1b2c3d4*** which you then need to enter in the item created through the *ups.items* file. The new thing *USV_dump_log* gets an id like _exec:command:**a1b2c3d4**_ which you then need to enter in the item created through the *ups.items* file.
* **ups.items**: Put this file into your */etc/openhab2/items* directory and modify it for your specific setup. Maybe everything suits your needs, but you need to modify the string item *USV_Log* and match the command id in the channel command to the thing you created earlier in Paper UI. * **ups.items**: Put this file into your */etc/openhab2/items* directory and modify it for your specific setup. Maybe everything suits your needs, but you need to modify the string item *USV_Log* and match the command id in the channel command to the thing you created earlier in Paper UI.
* **ups.map**: Put this file into your */etc/openhab2/transform* directory. * **ups.map**: Put this file into your */etc/openhab2/transform* directory.