<div dir="ltr">Hi Charles,<div><br></div><div>Ok, will try the ignore lb flag later. How do I go about capturing the log? I might as well do it while testing the flag...</div><div><br></div><div>Cheers,<br>ST</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 August 2017 at 20:42, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Aug 15, 2017, at 5:24 AM, Song Teck <<a href="mailto:songteck@gmail.com">songteck@gmail.com</a>> wrote:<br>
><br>
> Hi Charles,<br>
><br>
> Have managed to make some progress after a fashion. Got the unit to work on the jessie version of NUT (2.7.2). upsc does output the unit parameters, along with the mis-scaled voltage readings described at <a href="http://networkupstools.org/ddl/Mini-Box.com/OpenUPS2.html" rel="noreferrer" target="_blank">http://networkupstools.org/<wbr>ddl/Mini-Box.com/OpenUPS2.html</a><wbr>. Am now trying to get the shutdown sequence to work properly.<br>
><br>
> Have been following this: <a href="http://networkupstools.org/docs/user-manual.chunked/ar01s06.html" rel="noreferrer" target="_blank">http://networkupstools.org/<wbr>docs/user-manual.chunked/<wbr>ar01s06.html</a><br>
> Unit performs as described in the "Testing shutdowns" section.<br>
><br>
> I have another question that I am hoping to get some clarification with.<br>
><br>
> The ups unit does not transit into OB LB even when Battery Charge falls below the LB level. The unit does initiate power off properly when Battery Charge/Runtime reaches 0.<br>
> Is this correct? Or should there be an earlier transition and shutdown triggered by OB LB?<br>
<br>
</span>The driver should recognize one of several standard shutdown notifications:<br>
<br>
   <a href="https://github.com/networkupstools/nut/blob/v2.7.2-signed/drivers/openups-hid.c#L300-L302" rel="noreferrer" target="_blank">https://github.com/<wbr>networkupstools/nut/blob/v2.7.<wbr>2-signed/drivers/openups-hid.<wbr>c#L300-L302</a><br>
<br>
However, I don't know which of these is actually implemented in the firmware. If you can afford some downtime, you can capture a log as the battery discharges - let us know if you want to try that.<br>
<br>
To synthesize the OB+LB state, you can use the "ignorelb" flag with override.battery.charge.low and/or override.battery.runtime.low as described in <a href="http://networkupstools.org/docs/man/ups.conf.html" rel="noreferrer" target="_blank">http://networkupstools.org/<wbr>docs/man/ups.conf.html</a><br>
<br>
You mentioned that the UPS powers off by itself when the charge reaches 0. Note that there does not seem to be a way to tell it to power off early with a command from NUT (e.g. "upsdrvctl shutdown", which gets translated to "/path/to/driver ... -k").<br>
<span class=""><br>
><br>
> I have also not been able to successfully get NOTIFYMSG or NOTIFYFLAG to work successfully although I suspect that has to do with my configuration of NOTIFYCMD. Will pursue that a little more.<br>
<br>
</span>I'd recommend a separate email thread for that, and check Roger Price's writeup for further information: <a href="http://rogerprice.org/NUT.html" rel="noreferrer" target="_blank">http://rogerprice.org/NUT.html</a><br>
<br>
<br>
</blockquote></div><br></div>