Initial commit

This commit is contained in:
2018-09-30 14:10:06 +08:00
commit e3af2bd74a
22 changed files with 2240 additions and 0 deletions

5
scripts/nut-notify.sh Normal file
View File

@@ -0,0 +1,5 @@
#! /bin/sh
# NUT adapter notify script.
logger -t nut-notify "Notify iobroker $UPSNAME -> $NOTIFYTYPE"
/opt/iobroker/iobroker message nut notify "{\"upsname\":\"$UPSNAME\",\"notifytype\":\"$NOTIFYTYPE\"}"