[Nut-upsuser] reset "replace battery" flag

Lionel Élie Mamane lionel at mamane.lu
Wed Sep 30 15:32:36 BST 2020


On Fri, Sep 25, 2020 at 11:47:42PM +0300, Manuel Wolfshant wrote:
> On 9/25/20 1:36 PM, Lionel Élie Mamane wrote:
>> On Thu, Sep 24, 2020 at 06:51:23PM +0300, Manuel Wolfshant wrote:
>>> On 9/21/20 9:47 PM, Lionel Élie Mamane wrote:

>>> We have a HP R/T 3000 G4 UPS; according to the data returned by
>>> the usbhid-ups driver, it seems to be a "badge engineered" Eaton
>>> 5PX UPS LI R 3000.

>>>> We have a stubborn "Replace Battery" alarm that stays (...):
>>>> The panel doesn't show any battery-related alarm.

>>> #usbhid-ups -DDDD -u root -a $YourUpsName

>>> After a few seconds the output will start to repeat so ctrl-c and examine
>>> whatever was collected. and maybe zip it and send it to the list.

>> I attach the output. I looked for "replace" and "battery" in there,
>> and nothing obviously understandable to me in there; that is too
>> raw data, not sure what it means.

> Can you please send the output of upsc ? I am trying to match the
> data reported by the usbhid-ups driver with what nut believes it
> sees. I have a feeling that some flag is misinterpreted

Sure. Attached.

Lionel
-------------- next part --------------
battery.capacity: 12.00
battery.charge: 100
battery.charge.low: 20
battery.charge.restart: 0
battery.charger.status: resting
battery.energysave: no
battery.protection: yes
battery.runtime: 4734
battery.type: PbAc
device.mfr: EATON
device.model: Eaton 5PX UPS LI R 3000
device.serial: 3C86090469
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.product: Eaton 5PX
driver.parameter.serial: 3C86090469
driver.parameter.synchronous: no
driver.parameter.vendorid: 0463
driver.version: 2.7.4
driver.version.data: MGE HID 1.39
driver.version.internal: 0.41
input.current: 0.00
input.frequency: 49.9
input.frequency.extended: no
input.frequency.nominal: 50
input.sensitivity: normal
input.transfer.boost.low: 184
input.transfer.high: 294
input.transfer.low: 160
input.transfer.trim.high: 265
input.voltage: 227.8
input.voltage.extended: no
input.voltage.nominal: 230
outlet.1.autoswitch.charge.low: 0
outlet.1.current: 0.00
outlet.1.delay.shutdown: 65535
outlet.1.delay.start: 3
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 1
outlet.1.power: 0
outlet.1.powerfactor: 0.00
outlet.1.realpower: 0
outlet.1.status: on
outlet.1.switchable: yes
outlet.2.autoswitch.charge.low: 0
outlet.2.current: 0.00
outlet.2.delay.shutdown: 65535
outlet.2.delay.start: 6
outlet.2.desc: PowerShare Outlet 2
outlet.2.id: 2
outlet.2.power: 0
outlet.2.powerfactor: 0.00
outlet.2.realpower: 0
outlet.2.status: on
outlet.2.switchable: yes
outlet.current: 1.00
outlet.desc: Main Outlet
outlet.id: 0
outlet.power: 228
outlet.powerfactor: 71.00
outlet.realpower: 162
outlet.switchable: no
output.current: 1.00
output.frequency: 49.9
output.frequency.nominal: 50
output.powerfactor: 0.71
output.voltage: 227.8
output.voltage.nominal: 230
ups.alarm: Replace battery!
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.delay.start: 30
ups.efficiency: 61
ups.firmware: 01.06.0008
ups.load: 7
ups.load.high: 105
ups.mfr: EATON
ups.model: Eaton 5PX UPS LI R 3000
ups.power: 228
ups.power.nominal: 3000
ups.productid: ffff
ups.realpower: 162
ups.realpower.nominal: 2700
ups.serial: 3C86090469
ups.shutdown: enabled
ups.start.auto: yes
ups.start.battery: yes
ups.start.reboot: yes
ups.status: ALARM OL RB
ups.test.interval: 604800
ups.test.result: Done and passed
ups.timer.shutdown: 0
ups.timer.start: 0
ups.type: offline / line interactive
ups.vendorid: 0463


More information about the Nut-upsuser mailing list