Sorry, I forgot this:

torsten@raspberrypi:/ $ sudo /lib/nut/usbhid-ups -a UPS -x vendorid=051d -DD
Network UPS Tools - Generic HID driver 0.38 (2.7.2)
USB communication driver 0.32
   0.000000     debug level is '2'
   0.004718     upsdrv_initups...
   0.007534     Checking device (051D/0002) (001/004)
   0.008910     - VendorID: 051d
   0.010030     - ProductID: 0002
   0.011196     - Manufacturer: unknown
   0.012007     - Product: unknown
   0.012691     - Serial Number: unknown
   0.013373     - Bus: 001
   0.014051     Trying to match device
torsten@raspberrypi:/ $

Cheers,
Torsten


T. Ermlich <[email protected]> schrieb am 15.02.2016 18:40:

Dear list,

since some days I own an APC Back-UPS BX1400U.
Now I try to connect my Raspberry Pi to it using NUT, but ... ;)
The UPS is connected via an USB-cable, and "lsusb" shows an APC device.
NUT is installed via "sudo apt-get install nut".

My goal: a Synology DiskStation DS1515+ should "read" UPS-data provided
from the Raspberry an shut-down itselt at 30% battery capacity.
The raspberry should shut-down at 20 %.

Is that UPS not supported?
Or does I have to use other settings?

If you need any additional information, please let me know and I'll (tyr
to) provide it!

Raspberry PI OS information:
torsten@raspberrypi:/ $ cat /etc/os-release
   PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
   NAME="Raspbian GNU/Linux"
   VERSION_ID="8"
   VERSION="8 (jessie)"
   ID=raspbian
   ID_LIKE=debian
   HOME_URL="http://www.raspbian.org/";
   SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
   BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs";
torsten@raspberrypi:/ $

torsten@raspberrypi:/ $ lsusb
   Bus 001 Device 004: ID 051d:0002 American Power Conversion
   Uninterruptible Power Supply
   Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
   SMSC9512/9514 Fast Ethernet Adapter
   Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
torsten@raspberrypi:/ $

torsten@raspberrypi:/ $ sudo upsdrvctl start
   Network UPS Tools - UPS driver controller 2.7.2
   Network UPS Tools - Generic HID driver 0.38 (2.7.2)
   USB communication driver 0.32
   kill: No such process
   Driver exited abnormally
torsten@raspberrypi:/ $

torsten@raspberrypi:/ $ sudo cat /etc/nut/ups.conf
   maxretry = 1
   [UPS]
   driver = usbhid-ups
   port = auto
   desc = "APC Back-UPS 1400"
torsten@raspberrypi:/

torsten@raspberrypi:/ $ sudo cat /etc/nut/nut.conf
   MODE=netserver
torsten@raspberrypi:/

Thanks a lot for your time!

Cheers,
Torsten

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to