Browse Source

fixed copy-paste error

master
Martin Sebald 7 years ago
parent
commit
ecceebe465
  1. 2
      apcups/README.md

2
apcups/README.md

@ -16,7 +16,7 @@ The port (*3551* is the apcupsd standard port) for accessing the UPS device thro
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.
* **USV_dump_log**: Put the bash script into */home/openhabian/scripts* (or somewhere else you like) and *chmod 755* it to make it executable.
* **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.
* **ups.rules**: Put this file into your */etc/openhab2/rules* directory. You may want to modify it for your specific setup. You find two excamples for actions if AC power fails. In this case a XMPP message and a message through Telegram is sent. * **ups.rules**: Put this file into your */etc/openhab2/rules* directory. You may want to modify it for your specific setup. You find two excamples for actions if AC power fails. In this case a XMPP message and a message through Telegram is sent.
* **ups.map**: Put the bash script into */home/openhabian/scripts* (or somewhere else you like) and *chmod 755* it to make it executable.
Loading…
Cancel
Save