[Nut-upsuser] Power race? with Eaton 5E and how to auto-mute beeper

Leith Bade leith at leithalweapon.geek.nz
Sat Jul 26 13:58:26 UTC 2014

I have a brand new Eaton 5E UPS purchased in Australia.

Eaton 5E
Model: 5E650iUSB-AU
Date: best I can find is the shipping date to supplier on box label - May

Ubuntu 14.04 Server edition
Nut 2.7.1
Installed via apt-get install nut

I have two problems I would like to fix.

First the beeper is annoying and loud and I worry it will wake everyone up
at night. I read that you can mute the beeper temporarily (and this works)
but that most UPSs do not allow you to permanently turn it off (I tried
using upsrw but it said beeper.status was read only).

So is there a way to auto-mute the beeper? e.g on system boot or on power

Next I did some testing and I think I have a power race (is that the right
term?). Basically if I switch off the AC, wait for battery to drain and the
system to shutdown and turn off (the PC only so far). If I then turn the AC
back on before the ~20 sec delay before the UPS turns off and on again the
computer never boots automatically (I have set BIOS to power on after AC

If I let the UPS turn off before I turn AC back on the computer will boot

I think the problem is that either the UPS is now power cycling the load
when AC is on and it reboots, or it is not turning it off for long enough
for the PSU/computer to register this as a AC off and on event. When the
UPS reboots it beeps and I can hear a relay click so it must do something
when it reboots with power on.

How can I add a delay between UPS power off, and power on?

Here is output of upsc in case it helps:
leith at server:~$ upsc eaton
Init SSL without certificate database
battery.charge: 35
battery.runtime: 1076
battery.type: PbAc
device.mfr: EATON
device.model: 5E 650i
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.7.1
driver.version.data: MGE HID 1.32
driver.version.internal: 0.38
input.voltage: 247.0
outlet.1.status: on
outlet.desc: Main Outlet
outlet.id: 1
outlet.switchable: no
output.frequency: 50.0
output.frequency.nominal: 50
output.voltage: 246.0
output.voltage.nominal: 230
ups.beeper.status: disabled
ups.delay.shutdown: 20
ups.firmware: 01.04.0016
ups.load: 11
ups.mfr: EATON
ups.model: 5E 650i
ups.power.nominal: 650
ups.productid: ffff
ups.start.battery: yes
ups.status: OL CHRG
ups.timer.shutdown: -1
ups.vendorid: 0463

Leith Bade
leith at leithalweapon.geek.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140726/beb40f63/attachment.html>

More information about the Nut-upsuser mailing list