[Nut-upsuser] Cyberpower Value1200E might not need 0.667 battery scaling
Charles Lepple
clepple at gmail.com
Sat Aug 9 15:27:47 UTC 2014
On Aug 8, 2014, at 9:15 AM, Charles Lepple <clepple at gmail.com> wrote:
> On Aug 7, 2014, at 10:52 PM, Charles Lepple <clepple at gmail.com> wrote:
>
>> On Aug 7, 2014, at 10:18 PM, Matthew Stapleton <matthew4196 at gmail.com> wrote:
>>
>>> I just got a Cyberpower SOHO Value 1200 ELCD UPS and even with nut 2.7.2, it appears to report battery voltage too low due to the battery scaling function (In drivers/cps-hid.c). Even though the ups has usb id: 0764:0501, UPS.PowerSummary.Voltage reports 26.6 for the 24V batteries so when the 0.667 battery scale is applied that goes down to 17.7V.
>>
>> I'm wondering if that scale factor is only needed for that one Dynex UPS model. We should be able to do a string match, which is ugly, but should work (especially if we default to no scaling).
>>
>> Logged: https://github.com/networkupstools/nut/issues/142
>
> It's not just Dynex models - there are some early "UPS VALUE" and "CP 1000D" units that seem to need the correction factor. I'll try to add a check that looks to see if the battery voltage makes sense.
Matthew, can you try the attached patch, and run the driver it with -DDDD?
https://github.com/networkupstools/nut/commit/c8950dee9c91ce45d05d8f220ea26891fb92329e
Also, if anyone else has a Cyberpower UPS with the 0501 productID, I'd appreciate any additional testing.
Thanks,
--
Charles Lepple
clepple at gmail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cps_hid_scale.patch
Type: application/octet-stream
Size: 3286 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140809/6eb8b9a0/attachment.obj>
More information about the Nut-upsuser
mailing list