<div dir="ltr"><div>Hello,</div><div><br></div><div> Just wanted to clarify: what sort of issues did you have with the APC?</div><div><br></div><div> Since last year there have been several posts such as <a href="https://github.com/networkupstools/nut/issues/2347">https://github.com/networkupstools/nut/issues/2347</a> about BX****MI (3-4 digits for wattage) series built (or flashed with firmware?) roughly in 2023-2024 as frequently reporting low-battery/replace-battery/all-good events in a short timeframe, both with NUT and apcupsd. The event itself might have taken a couple of seconds, but happens irregularly from a few times a day to many times an hour, spamming the logs or alert systems.</div><div><br></div><div> For those samples, we've figured this is some sort of automatic calibration or similar behavior of the inverter, diligently represented by its firmware protocol as the basic underlying events and not the "calibrating" event. At least, this chain of events often goes hand in hand with "On-Line + Discharging" status combo, which seemed to mean calibration on earlier models.</div><div><br></div><div> A recently merged NUT solution for this in PR <a href="https://github.com/networkupstools/nut/pull/2565">https://github.com/networkupstools/nut/pull/2565</a> was a set of new driver configuration options, as detailed in the "NEWS" file:</div><div>* `lbrb_log_delay_sec=N` setting to delay propagation of `LB` or `LB+RB` state (buggy with APC BXnnnnMI devices circa 2023-2024).<br>* This may work better with flags like `onlinedischarge_calibration` and `lbrb_log_delay_without_calibrating` for some devices.</div><div><br></div><div> The "lbrb*" options are recent (would be in NUT v2.8.3 release eventually), the "onlinedischarge_calibration" is from v2.8.1 (the OL+DISCHRG combo means several things for different vendors, so there are options for how NUT should treat them).</div><div><br></div><div> Depending on how exactly your device misbehaves, just spewing
OL+DISCHRG once in awhile, or the bigger alert sequence with battery replacement, you may be in luck for the former just needing to install NUT v2.8.1 from some packages (maybe using Debian/Ubuntu derived "experimental" repo or switch to a newer OS release), or for the latter - build your own custom NUT. A way to go about this is documented at <a href="https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests">https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests</a> with reference to the needed prerequisites on different platforms.</div><div><br></div><div>Hope this helps,</div><div>Jim Klimov</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 19, 2024 at 9:22 AM Peter Bell <<a href="mailto:peter@bellfamily.org.uk">peter@bellfamily.org.uk</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">I'm a long-time user of APC UPSs and apcupsd, but have been experiencing <br>
issues with recent APC units, although I have three BackUPS CS650 units <br>
which have had very little issue..<br>
<br>
I've recently replaced the APC 1200 unit on my fileserver (running <br>
Slackware) with a CyberPower UPS and that appears to be well supported <br>
by NUT.<br>
<br>
However, I have an APC BX950MI unit which is currently being replaced <br>
under warranty. This unit has never worked well with apcupsd.<br>
I understand that changes have recently been incorporated into NUT to <br>
handle the BX units. I have installed NUT onto a Raspberry Pi, running <br>
PiOS (Bookworm), but NUT pulled from the PiOS repository is only at <br>
v2.8.0, not the latest. This works okay with the CS650 APC but I fear <br>
that it doesn't include the latest BX series fixes.<br>
What do I need to do to to get the BX950 working satisfactorily with <br>
NUT? Will an update of the usbhid-ups driver work or do I need the <br>
complete NUT v2.8.2 from somewhere?<br>
<br>
How can I go about this?<br>
<br>
All advice gratefully received.<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" 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" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>