Displaying 1 result from an estimated 1 matches for "kelvin_celsius_conversion".
2024 Dec 04
1
<Cyber Energy> <usbhid-ups/cps-hid.c>-Add HID Usage (Temperature)
...ols.org/docs/man/usbhid-ups.html>) so that UPS temperature information can be displayed in the UPS status list. After conducting internal tests, we confirmed that inserting the following code:
{ "ups.temperature", 0, 0, "UPS.PowerSummary.Temperature", NULL, "%s", 0, kelvin_celsius_conversion },
after line 236 allows UPS temperature data to be displayed in the status list.
In NUT source code file cps-hid.c , the line 236 is
{ "ups.firmware", 0, 0, "UPS.PowerSummary.CPSFirmwareVersion", NULL, "%s", HU_FLAG_STATIC, stringid_conversion },
Please add the follo...