<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 6/28/20 5:54 AM, Scott Colby wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2e0d2290-8872-4df3-8390-3a43b1409f1f@www.fastmail.com"><br>
<pre class="moz-quote-pre" wrap="">
I'm not convinced this is the problem; I think that pfSense has
an alternative way of running the NUT components:
# ps aux | grep ups
root 45456 0.0 0.1 6796 884 - Is 02:22 0:00.01 /usr/local/sbin/upsmon
uucp 45751 0.0 0.1 6796 772 - S 02:22 0:00.10 /usr/local/sbin/upsmon
uucp 46796 0.0 0.1 6888 888 - Ss 02:22 0:00.45 /usr/local/libexec/nut/usbhid-ups -a AVR750U
root 56752 0.0 0.1 6788 832 - Ss 02:22 0:00.13 /usr/local/sbin/upsd -u root
root 39437 0.0 0.2 6828 2464 0 S+ 02:46 0:00.01 grep ups
Is there anything else that should be running?</pre>
</blockquote>
<p>AFAIK, no, those 3 daemons should do the job. But just for the
fun of it, I would test changing that variable anyway. There is
nothing to lose, after all.<br>
</p>
<p><br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:2e0d2290-8872-4df3-8390-3a43b1409f1f@www.fastmail.com">
<pre class="moz-quote-pre" wrap="">
Would you expect `upsmon -c fsd` to not work as I described above
(system halting but UPS not power cycling) if MODE was set to none
but upsmon, the driver, and upsd were running?
</pre>
</blockquote>
<p>If it is running ( i.e. started ) -c fsd should trigger an
immediate shutdown. quote from man upsmon:</p>
<dl>
<dt class="hdlist1">
<strong>-c</strong> <em>command</em>
</dt>
<dd>
<p>
Send the command <em>command</em> to the existing upsmon
process. Valid
commands are:
</p>
<div class="dlist">
<dl>
<dt class="hdlist1">
<strong>fsd</strong>
</dt>
<dd>
<p>
shutdown all master UPSes (use with caution)
</p>
</dd>
</dl>
</div>
</dd>
</dl>
<p><br>
</p>
<blockquote type="cite"
cite="mid:2e0d2290-8872-4df3-8390-3a43b1409f1f@www.fastmail.com">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
# cat ups.conf
[AVR750U]
driver=usbhid-ups
port=auto
productid=3024
# cat upsmon.conf
MONITOR AVR750U 1 local-monitor <password> master
[...]
driver.version.internal: 0.41
input.frequency: 5990.0
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
This value is definitely incorrectly reported. Based on the voltages
below I assume you are in USA and the displayed value could be an
incorrectly scaled 59.9 Hz
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
You are correct about my location and expected voltage. Is there
somewhere that I can change the scaling factor used by NUT?
</pre>
<br>
</blockquote>
not that I know of. and
<a class="moz-txt-link-freetext" href="https://networkupstools.org/docs/man/usbhid-ups.html">https://networkupstools.org/docs/man/usbhid-ups.html</a> does not show
any either. fortunately the errors are purely cosmetic<br>
<p><br>
</p>
<p><br>
</p>
</body>
</html>