Skip to content

Input current reported is consistently zero #1

Description

@adamcandy

Is it possible to fix the driver so that input current is reported correctly?
Currently with the Open UPS this driver reports:

$ upsc ups
battery.capacity: 100
battery.charge: 100
battery.charge.low: 20
battery.charge.warning: 20
battery.current: 0.000
battery.mfr.date: ?
battery.runtime: 3932100
battery.runtime.low: 1200
battery.temperature: 40.38
battery.type: ?
battery.voltage: 23.14
device.mfr: Mini-Box.Com
device.model: OPEN-UPS
device.serial: PBSO4-LiFePO
device.type: ups
driver.flag.ignorelb: enabled
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: d004
driver.parameter.synchronous: no
driver.parameter.vendorid: 04d8
driver.version: 2.7.4-695-gf15947f0
driver.version.data: openUPS HID 0.4
driver.version.internal: 0.43
input.current: 0.000          ⟵ This always appears as zero
input.voltage: 19.46
output.current: 1.789
output.voltage: 19.85
ups.mfr: Mini-Box.Com
ups.model: OPEN-UPS
ups.productid: d004
ups.serial: PBSO4-LiFePO
ups.status: OL
ups.vendorid: 04d8

Comparing to values using the Windows software (on the same machine in a virtual machine) the other input and output values look to be correct.
Great these modules can be used natively in Linux.
Thanks!
Adam

Activity

  1. MrM40 commented on Jun 20, 2021

    @MrM40

    Hi Adam, sorry for going off-topic. But you seem to use this board for a low-consumption server as I do myself (SuperMicro board, KVM)/QEMU host). How did you implement this board in your setup? What about ATX and 5v, +/- 3v? And what battery solution did you go for?
    I was thinking of placing this OpenUPS board between my "normal" ATX PSU and the motherboard, but it only provide 12v, right!
    One could also drop the "normal" ATX and use a std. 12V SMPS + picoPSU-80.
    Another consideration is additional power protection other than power-failure: main-spikes and other main irregularities which a traditional UPS will provide, what's your thoughts here?

  2. MrM40 commented on Jun 20, 2021

    @MrM40

    And has the input.current been fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions