[Nut-upsdev] Cyberpower add HID Usage (NeedReplacement)

John.Chang John.Chang at cyberpower.com
Tue Jan 13 00:56:31 GMT 2026


Hi NUT,

We kindly request adding a HID usage for "NeedReplacement" to the NUT usb driver file cps-hid.c (USBHID-UPS(8) https://networkupstools.org/docs/man/usbhid-ups.html), that "RB" (Replace battery) information can be displayed in the ups.status.

In NUT source code file cps-hid.c , the line 400 is
{ "BOOL", 0, 0, "UPS.PowerSummary.PresentStatus.RemainingTimeLimitExpired", NULL, NULL, 0, timelimitexpired_info },
Please insert the following code after line 400 for our new HID usage (NeedReplacement).
{ "BOOL", 0, 0, "UPS.PowerSummary.PresentStatus.NeedReplacement", NULL, NULL, 0, replacebatt_info },

Once you have confirmed the request to add the source code, please provide a test version of the NUT software with the added HID usage (NeedReplacement) code for our testing and verification.
Please let me know if you have any questions. Thank you very much.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20260113/05ded745/attachment.htm>


More information about the Nut-upsdev mailing list