<div dir="ltr"><div>Hello Yvonne,</div><div><br></div><div>  The pull request <a href="https://github.com/networkupstools/nut/pull/2711">https://github.com/networkupstools/nut/pull/2711</a> was merged Dec 6, so is part of master-branch NUT code base already and available to those who build it locally.</div><div><br></div><div>  Next official NUT release would be v2.8.3, and while generally release timing in small FOSS teams is hard to predict and adhere to, I do hope to get this one done actually this month, before FOSDEM. There are one or two issues that I treat as blockers to solve before an official release, and other tickets can be delayed until the next one.</div><div><br></div><div>  Please note that after a NUT release happens, it can take some time for OS distributions to deliver it in their packaging, and according to their policy - e.g. some only deliver security or similar small patches over a project's version picked into the initial "X.0" release of a distribution, and a different baseline might only be considered for the "(X+1).0" in a few years (and then users must upgrade to that latest OS release to see the new packages); others are more dynamic with this. We do still get reports of issues with NUT v2.7.4 which is 9 years old... and then the first recommendation is to build the current version from Git, not in the least to check if the issue was solved during the past decade, and to prepare a way to have the more advanced troubleshooting or a testbed to develop/test the new fixes if needed.</div><div><br></div><div>Hope this helps,</div><div>Jim Klimov<br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jan 13, 2025 at 7:40 AM Yvonne.Chen <<a href="mailto:Yvonne.Chen@cyberenergy.com">Yvonne.Chen@cyberenergy.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg8818222643144833653">





<div lang="ZH-TW" style="overflow-wrap: break-word;">
<div class="m_8818222643144833653WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Hi Jim:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">After doing comprehensive tests, we have confirmed that there are no problems with the source code update related to temperature this time.</span><span lang="EN-US">
</span><span lang="EN-US" style="font-family:"Calibri",sans-serif">We kindly request you to update the source code concerning temperature in cps-hid.c (driver: USBHID-UPS(8)) and include it in the next official release of NUT.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Additionally, please inform us of the planned timeline and version for the upcoming official release of NUT so we can verify it accordingly. Thank you!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Yvonne Chen<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Cyber Energy Co., Ltd.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Tel: +886-2-8792-9628 #605<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Fax: +886-2-8792-9626<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif">Email:
<a href="mailto:Yvonne.Chen@cyberenergy.com" target="_blank">Yvonne.Chen@cyberenergy.com</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11pt;font-family:"Calibri",sans-serif"> Jim Klimov <<a href="mailto:jimklimov%2Bnut@gmail.com" target="_blank">jimklimov+nut@gmail.com</a>>
<br>
<b>Sent:</b> Thursday, December 5, 2024 12:04 AM<br>
<b>To:</b> Yvonne.Chen <Yvonne.Chen@Cyberenergy.com><br>
<b>Cc:</b> <a href="mailto:nut-upsdev@alioth-lists.debian.net" target="_blank">nut-upsdev@alioth-lists.debian.net</a><br>
<b>Subject:</b> Re: [Nut-upsdev] <Cyber Energy> <usbhid-ups/cps-hid.c>-Add HID Usage (Temperature)<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Looks good.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Posted the PR as <a href="https://github.com/networkupstools/nut/pull/2711" target="_blank">
https://github.com/networkupstools/nut/pull/2711</a>, code base to test would be available at
<a href="https://github.com/jimklimov/nut/tree/cps-hid-temp" target="_blank">https://github.com/jimklimov/nut/tree/cps-hid-temp</a> currently or as part of
<a href="https://github.com/networkupstools/nut/tree/master" target="_blank">https://github.com/networkupstools/nut/tree/master</a> after the pull request passes our CI and gets merged.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Thanks,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Jim Klimov<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Wed, Dec 4, 2024 at 9:11</span><span lang="EN-US" style="font-family:"Times New Roman",serif"> </span><span lang="EN-US">AM Yvonne.Chen <<a href="mailto:Yvonne.Chen@cyberenergy.com" target="_blank">Yvonne.Chen@cyberenergy.com</a>>
 wrote:<u></u><u></u></span></p>
</div>
<blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi NUT:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">We propose adding HID usage for "Temperature" to the NUT source code file cps-hid.c (driver:
<a href="https://networkupstools.org/docs/man/usbhid-ups.html" target="_blank">USBHID-UPS(8)</a>) so that UPS temperature information can be displayed in the UPS status list. After conducting internal tests, we confirmed that inserting the following code:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">{ "ups.temperature", 0, 0, "UPS.PowerSummary.Temperature", NULL, "%s", 0, kelvin_celsius_conversion },<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">after line 236 allows UPS temperature data to be displayed in the status list.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">In NUT source code file cps-hid.c , the line 236 is
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">{ "ups.firmware", 0, 0, "UPS.PowerSummary.CPSFirmwareVersion", NULL, "%s", HU_FLAG_STATIC, stringid_conversion },<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Please add the following code after line 236 for our new HID usage (Temperature).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">{ "ups.temperature", 0, 0, "UPS.PowerSummary.Temperature", NULL, "%s", 0, kelvin_celsius_conversion },<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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 (Temperature) code for
 our final testing and verification. Please contact me if you have any questions regarding this request. Thank you very much!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Yvonne Chen<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cyber Energy Co., Ltd.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Tel: +886-2-8792-9628 #605<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Fax: +886-2-8792-9626<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Email:
<a href="mailto:Yvonne.Chen@cyberenergy.com" target="_blank">Yvonne.Chen@cyberenergy.com</a><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US">_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@alioth-lists.debian.net" target="_blank">Nut-upsdev@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev</a><u></u><u></u></span></p>
</div>
</blockquote>
</div>
</div>
</div>

</div></blockquote></div>