[Nut-upsuser] APC Smart-UPS 1000

Arjen de Korte nut+users at de-korte.org
Sat Jan 22 20:41:03 UTC 2011


Citeren Kevin <bakdong op gmail.com>:

[...]

> but doesn't affect the initial value of ups.timer.shutdown (90)  
> after the shutdown.return command:
>
> # ./clients/upscmd -u apcmon -p pass123 apc1500 shutdown.return
> OK
>
> # ./clients/upsc apc1500
> battery.charge: 100
> battery.charge.low: 10
> battery.charge.warning: 50
> battery.mfr.date: 2007/07/07
> battery.runtime: 5880
> battery.runtime.low: 120
> battery.temperature: 32.4
> battery.type: PbAc
> battery.voltage: 27.0
> battery.voltage.nominal: 24.0
> device.mfr: American Power Conversion
> device.model: Smart-UPS 1000
> device.serial: AS0727233122
> device.type: ups
> driver.name: usbhid-ups
> driver.parameter.offdelay: 1
> driver.parameter.ondelay: 250
> driver.parameter.pollfreq: 30
> driver.parameter.pollinterval: 2
> driver.parameter.port: auto
> driver.version: 2.6.0
> driver.version.data: APC HID 0.95-patched
> driver.version.internal: 0.35
> input.sensitivity: high
> input.voltage: 230.4
> output.voltage: 229.6
> output.voltage.nominal: 230.0
> ups.beeper.status: disabled
> ups.delay.shutdown: 30
> ups.delay.start: 250
> ups.firmware: 652.13.I
> ups.firmware.aux: 7.3
> ups.load: 5.8
> ups.mfr: American Power Conversion
> ups.mfr.date: 2007/07/07
> ups.model: Smart-UPS 1000
> ups.productid: 0002
> ups.serial: AS0727233122
> ups.status: OL
> ups.test.result: No test initiated
> ups.timer.reboot: -1
> ups.timer.shutdown: 82
> ups.timer.start: 242
> ups.vendorid: 051d

Could you try this again with

   { "ups.delay.shutdown", ST_FLAG_RW | ST_FLAG_STRING, 10,  
"UPS.Output.APCShutdownAfterDelay", NULL, "%.0f", HU_FLAG_SEMI_STATIC,  
NULL },

changed to

   { "ups.delay.shutdown", ST_FLAG_RW | ST_FLAG_STRING, 10,  
"UPS.Output.APCShutdownAfterDelay", NULL, "%.0f", HU_FLAG_QUICK_POLL,  
NULL },

and run this test again? I'm not sure if the value is actually  
modified in the UPS. I fear that the HU_FLAG_SEMI_STATIC flag may have  
prevented the driver from reading back the value from the UPS.

Best regards, Arjen
-- 
Please keep list traffic on the list (off-list replies will be rejected)




More information about the Nut-upsuser mailing list