<div dir="auto">So, do you plan to write some new program for that UPS instead of trying to use NUT? (Note there are also regular Windows builds on CI - with some caveats so far).<div dir="auto"><br></div><div dir="auto">I'm commuting now so can't find links easily, but can suggest you to peruse the issue/PR tracker, there's a discussion about an SMS Brazil device with links to PoC Python "driver" that's relatively straightforward. Or read up NUT drivers, nutdrv_qx, blazer, and some others for megatec protocol dialects. NUT website should have a protocol library with formal definitions for some of those.</div><div dir="auto"><br></div><div dir="auto">But really, not reinventing the wheel (at least, checking if ours does roll) might be the faster option ;)</div><div dir="auto"><br></div><div dir="auto">Jim</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 14, 2023, 13:07 Alessandro Mandelli <<a href="mailto:mandelli.alessandro@ngi.it" target="_blank" rel="noreferrer">mandelli.alessandro@ngi.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="IT" link="blue" vlink="purple" style="word-wrap:break-word"><div><p class="MsoNormal"><span lang="EN-US">Thanks. I forgot to mention I am developing in c# for Windows.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Porting or using existing ports seems like an effort with swinging results.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">My prototype is working, at least as proof of concept. I’d just like some directions to decode the raw reports.<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">Thanks for your help.<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"><u></u> <u></u></span></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b>Da:</b> Jim Klimov <<a href="mailto:jimklimov%2Bnut@gmail.com" rel="noreferrer noreferrer" target="_blank">jimklimov+nut@gmail.com</a>> <br><b>Inviato:</b> giovedì 14 settembre 2023 11:48<br><b>A:</b> Alessandro Mandelli <<a href="mailto:mandelli.alessandro@ngi.it" rel="noreferrer noreferrer" target="_blank">mandelli.alessandro@ngi.it</a>><br><b>Cc:</b> <a href="mailto:nut-upsuser@alioth-lists.debian.net" rel="noreferrer noreferrer" target="_blank">nut-upsuser@alioth-lists.debian.net</a><br><b>Oggetto:</b> Re: [Nut-upsuser] Info for decoding report from UPS<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">Seems like recent work on nutdrv_qx subdriver armac (merged to master last month) could handle it, or some older QX drivers like richcomm if it is a different brew of a loosely similar product. <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Try following <a href="https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests" rel="noreferrer noreferrer" target="_blank">https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests</a> for example, to check if it would "just work" now?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Jim<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, Sep 14, 2023 at 9:40 AM Alessandro Mandelli via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" rel="noreferrer noreferrer" target="_blank">nut-upsuser@alioth-lists.debian.net</a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><div><p class="MsoNormal"><span lang="EN-US">Hi, everybody, I just subscribed, though I’ve been lurking around for some time. </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I searched for my question in the archive, but I wasn’t able to find an answer.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Sorry if this question has been asked before.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I am in the process of writing an interfacing software.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">After some trial and error, I was able to query the UPS and receive an answer, though I am not sure how to decode the report.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">The UPS is generic, non branded with VID/PID 0925/1234.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">The report is 6 bytes long and raw data look like “0x01 0x04 0x02 0xDE 0xFE 0xFF”. (The fifth byte changes now and then).</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Any help pointing me to the right decoding table would be much appreciated.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Cheers</span><u></u><u></u></p></div></div><p class="MsoNormal">_______________________________________________<br>Nut-upsuser mailing list<br><a href="mailto:Nut-upsuser@alioth-lists.debian.net" rel="noreferrer noreferrer" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br><a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><u></u><u></u></p></div></blockquote></div></div></div></blockquote></div>