Hi, I have setup NUT in netserver mode on debian wheezy with two APC UPS units connected to it by usb. lsusb identifies the units as Smart-UPS 1000 and Smart-UPS C1500. It appears these do not use the smart protocol and usbhid-ups is the correct driver to use. System: Debian wheezy with stock version of nut (Version: 2.6.4-2.3+deb7u1) Everything works rather well, except that the cgi-interface does not report input/output voltages and load for the C 1500 unit. upsc also reports these values only for model 1000, not for 1500. Battery charge is and runtime are reported. Is this a limitation of the driver, or is there way to get these data? Thanks Selva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141108/d0c7e757/attachment.html>
Any comments please? Not reading input/output voltages is fine with me but it would be useful to read out the output load. Also I want to be sure that other critical parameters like runtime are being read correctly. Could anyone using Smart-UPS C1500 with USB cable please share their experience? Thanks. On Sat, Nov 8, 2014 at 6:12 PM, Selva Nair <selva.nair at gmail.com> wrote:> Hi, > > I have setup NUT in netserver mode on debian wheezy with two APC UPS units > connected to it by usb. lsusb identifies the units as Smart-UPS 1000 and > Smart-UPS C1500. It appears these do not use the smart protocol and > usbhid-ups is the correct driver to use. > > System: Debian wheezy with stock version of nut > (Version: 2.6.4-2.3+deb7u1) > > Everything works rather well, except that the cgi-interface does not > report input/output voltages and load for the C 1500 unit. > upsc also reports these values only for model 1000, not for 1500. Battery > charge is and runtime are reported. > > Is this a limitation of the driver, or is there way to get these data? > > Thanks > > Selva >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141109/e5bac566/attachment.html>
On Nov 8, 2014, at 6:12 PM, Selva Nair <selva.nair at gmail.com> wrote:> Everything works rather well, except that the cgi-interface does not report input/output voltages and load for the C 1500 unit. > upsc also reports these values only for model 1000, not for 1500. Battery charge is and runtime are reported.For the 1000, do the values match this page? http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/APC/Smart-UPS_1000.html It doesn't look like we have an entry for a C1500 yet. Would you care to submit the output of upsc, upsrw and upscmd -l?> Is this a limitation of the driver, or is there way to get these data?The driver reports values with standard USB HID names. It is possible that your UPS reports these using different names, or does not expose them at all over the standard USB HID PDC interface. Here's a quick APC protocol guide based on model numbers: http://lists.alioth.debian.org/pipermail/nut-upsdev/2014-July/006769.html If you want to check for any hidden variables, stop the driver, and run "/lib/nut/usbhid-ups -a name -DDD 2>&1 | tee /tmp/APC_Smart-UPS-C1500.log" as root for a few minutes (it will loop endlessly; press ^C to stop). Please gzip the log before attaching it and sending back to the list. -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141109/2b85df57/attachment-0001.html>
Hi Charles, Thanks for your response.> For the 1000, do the values match this page? > > > http://buildbot.networkupstools.org/~buildbot/cayman/docs/latest/ddl/APC/Smart-UPS_1000.html > >Yes it does (except that mine is a 120 V model, so input/output voltage is about 125) It doesn't look like we have an entry for a C1500 yet. Would you care to> submit the output of upsc, upsrw and upscmd -l? >Here it is $upscmd -l apc1500 Instant commands supported on UPS [apc1500]: beeper.disable - Disable the UPS beeper beeper.enable - Enable the UPS beeper beeper.mute - Temporarily mute the UPS beeper beeper.off - Obsolete (use beeper.disable or beeper.mute) beeper.on - Obsolete (use beeper.enable) load.off - Turn off the load immediately load.off.delay - Turn off the load with a delay (seconds) shutdown.reboot - Shut down the load briefly while rebooting the UPS shutdown.stop - Stop a shutdown in progress $ upsrw apc1500 [battery.charge.low] Remaining battery level when UPS switches to LB (percent) Type: STRING Value: 10 [battery.runtime.low] Remaining battery runtime when UPS switches to LB (seconds) Type: STRING Value: 120 [ups.delay.shutdown] Interval to wait after shutdown with delay command (seconds) Type: STRING Value: 20 $ upsc apc1500 battery.charge: 100 battery.charge.low: 10 battery.charge.warning: 50 battery.runtime: 3780 battery.runtime.low: 120 battery.type: PbAc battery.voltage: 27.0 battery.voltage.nominal: 24.0 device.mfr: American Power Conversion device.model: Smart-UPS C 1500 device.serial: 3S1437X00405 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.productid: 0003 driver.parameter.vendorid: 051d driver.version: 2.6.4 driver.version.data: APC HID 0.95 driver.version.internal: 0.37 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.firmware: UPS 09.6 / ID=1005 ups.mfr: American Power Conversion ups.mfr.date: 2014/09/09 ups.model: Smart-UPS C 1500 ups.productid: 0003 ups.serial: 3S1437X00405 ups.status: OL ups.timer.reboot: -1 ups.timer.shutdown: -1 ups.vendorid: 051d> > If you want to check for any hidden variables, stop the driver, and run > "/lib/nut/usbhid-ups -a name -DDD 2>&1 | tee /tmp/APC_Smart-UPS-C1500.log" > as root for a few minutes (it will loop endlessly; press ^C to stop). > Please gzip the log before attaching it and sending back to the list. > >gzipped output is attached. Thanks for looking into this. Selva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141109/ee133ee5/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: APC_Smart-UPS-C-1500.log.gz Type: application/x-gzip Size: 9901 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20141109/ee133ee5/attachment.bin>
Maybe Matching Threads
- APC Smart-UPS C1500 connected by usb
- APC Smart-UPS C1500 connected by usb
- battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error
- 2 different APC UPS using USB get in power off recoverable state
- battery not installed, but battery still 100% and NUT 2.7.2-4 does not catch this and report a error