Code by Scott שאול בן ישוע
Commit 34f878c4 authored by Sha'ul ben Yeshua's avatar Sha'ul ben Yeshua 🎗
Browse files

Update README.md

parent 748ffc2e
...@@ -10,19 +10,23 @@ Nut discovery + UPS & outlet status ...@@ -10,19 +10,23 @@ Nut discovery + UPS & outlet status
# Cavets # Cavets
For anyone that has a Cyber Power System CP1500 AVR or simular and you have debian you need to manually create /etc/udev/rules.d/52-nut-usbups.rules with For anyone that has a Cyber Power System CP1500 AVR or simular and you have debian you need to manually create `/etc/udev/rules.d/52-nut-usbups.rules` with
```
# set permissions for CyberPower UPS -jea 2010-06-02 # set permissions for CyberPower UPS -jea 2010-06-02
SUBSYSTEM=="usb", ATTRS{idVendor}=="0764", GROUP="nut", MODE="0660" SUBSYSTEM=="usb", ATTRS{idVendor}=="0764", GROUP="nut", MODE="0660"
```
Then plug the usb cable back in. Then plug the usb cable back in.
In your ups.conf file you need In your ups.conf file you need
```
[myups] [myups]
driver = usbhid-ups driver = usbhid-ups
port = /dev/usb/hiddev0 port = /dev/usb/hiddev0
desc = "My UPS" desc = "My UPS"
pollinterval = 15 pollinterval = 15
```
Make sure you have MODE=netserver in nut.conf Make sure you have MODE=netserver in nut.conf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment