[Nut-upsuser] POWEREX VI 1000 LED
Sergey Talchuk
tals1975 at gmail.com
Thu Jul 28 08:00:42 UTC 2011
Hi Arnaud,
I disabled timer and configured NUT in accordance with the manual.
Finally ‘battery.charge’ parameter was rendered in upsc output.
OB + OL status was handled correct. Test passed successfully.
Please see attached file for more details.
Thanks,
Sergey
On Tue, Jul 19, 2011 at 10:15 PM, Arnaud Quette <aquette.dev at gmail.com>wrote:
> Hi Sergey,
>
> *** first, please keep the traffic on the list ***
> ie, keep nut-upsuser copied of our discussion!
>
> 2011/7/19 Sergey Talchuk <tals1975 at gmail.com>
>
>> Hi Arnaud,
>>
>> Sorry. My mistake.
>>
>> OB ups.status condition is handled correct (see attachment)
>>
>
> excellent, thanks.
> I still see that you're using timers. Have you also tried reaching the low
> battery (ups.status = OB LB) to trigger shutdown? Otherwise, please also
> test this:
>
>
> http://www.networkupstools.org/docs/user-manual.chunked/ar01s06.html#Shutdown_design
>
> finally, I've just added an entry in the development version of the HCL
> (r3140).
> It will show up in the next release.
>
> But I'm not sure about OL ups.status, since 'upsc powerex' output didn't
>> give me anything like 'battery.charge=?'
>>
>
> check the blazer manpage for the solution:
> http://www.networkupstools.org/docs/man/blazer.html
>
> and more specially the "BATTERY CHARGE" section.
>
> cheers,
> Arnaud
> --
> Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
> Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
> Debian Developer - http://www.debian.org
> Free Software Developer - http://arnaud.quette.free.fr/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110728/9ba0ae64/attachment-0001.html>
-------------- next part --------------
$ cat /etc/ups/ups.conf | grep -v '#' | grep -v '^$'
-----
[powerex]
driver = blazer_usb
subdriver = cypress
vendorid = 0665
productid = 5161
port = auto
desc = "powerex"
default.battery.voltage.high = 27.20
default.battery.voltage.low = 20.20
$ upsc powerex
-----
battery.charge: 39
battery.voltage: 22.30
battery.voltage.high: 27.20
battery.voltage.low: 20.20
battery.voltage.nominal: 24.0
beeper.status: enabled
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 5161
driver.parameter.subdriver: cypress
driver.parameter.vendorid: 0665
driver.version: 2.6.0
driver.version.internal: 0.03
input.current.nominal: 5.0
input.frequency: 50.1
input.frequency.nominal: 50
input.voltage: 5.4
input.voltage.fault: 5.4
input.voltage.nominal: 220
output.voltage: 220.2
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 11
ups.productid: 5161
ups.status: OB
ups.type: offline / line interactive
ups.vendorid: 0665
$ cat /var/log/messages | grep -i ups
-----
Jul 28 09:03:52 openSuSE upsd[1299]: listening on 127.0.0.1 port 3493
Jul 28 09:03:52 openSuSE upsd[1299]: Connected to UPS [powerex]: blazer_usb-powerex
Jul 28 09:03:52 openSuSE upsd[1300]: Startup successful
Jul 28 09:03:52 openSuSE upsmon[1303]: Startup successful
Jul 28 09:03:52 openSuSE upsd[1300]: User test at 127.0.0.1 logged into UPS [powerex]
Jul 28 09:04:07 openSuSE upsmon[1304]: UPS powerex at localhost on battery
Jul 28 09:10:07 openSuSE upsmon[1304]: UPS powerex at localhost battery is low
Jul 28 09:10:07 openSuSE upsd[1300]: Client test at 127.0.0.1 set FSD on UPS [powerex]
Jul 28 09:10:07 openSuSE upsmon[1304]: Executing automatic power-fail shutdown
Jul 28 09:10:07 openSuSE upsmon[1304]: Auto logout and shutdown proceeding
More information about the Nut-upsuser
mailing list