<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1232619519;
mso-list-template-ids:-2133846572;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello NUT developers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m using NUT 2.8.4 (Windows snapshot, mingw64) with an Eaton 5SC UPS. The driver is started as:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">usbhid-ups.exe -a eaton5sc<br>
and it reports: Listening on named pipe \\.\pipe\usbhid-ups-eaton5sc<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">At the moment I can reliably read values by running upsd bound to localhost (127.0.0.1:3493) and then querying with upsc eaton5sc@127.0.0.1. However, due to security/policy requirements we would like to avoid any TCP
interface entirely (even if it’s localhost-only) and instead read the data strictly locally.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Could you please advise on the following:<o:p></o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-US">On Windows, is there an officially supported way to query UPS variables <b>without running upsd</b>, e.g., by talking directly to the driver state via the named pipe?<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-US">Is the protocol behind \\.\pipe\usbhid-ups-<upsname> documented and considered stable enough for a custom client (e.g., for exporting to JSON / monitoring)?
</span>If yes, where can I find the specification?<o:p></o:p></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-US">Is there a recommended non-TCP “local-only” transport or mode for clients (named pipe / Unix-socket equivalent) that is supported by NUT tools?<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span lang="EN-US">In my build, upsc.exe does not accept -D/-DD debug options (it reports “unknown option -D”). Is there another way to debug or trace the client request/response protocol?<o:p></o:p></span></li></ol>
<p class="MsoNormal"><span lang="EN-US">Our goal is a local readout (e.g., for Zabbix/monitoring) without exposing any network socket. Any guidance on best practices, existing tooling, or build/config options would be greatly appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Best regards,<br>
Werner<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>