[Nut-upsuser] Low Battery Problems

Gene Heskett gheskett at shentel.net
Tue Jun 23 01:42:17 BST 2020


On Monday 22 June 2020 20:36:13 Gene Heskett wrote:

> On Monday 22 June 2020 18:50:25 Gene Heskett wrote:
> > On Monday 22 June 2020 18:03:16 Charles Lepple wrote:
> > > On Jun 22, 2020, at 3:36 PM, Charles Lepple wrote:
> > > > On Jun 22, 2020, at 1:26 PM, Gene Heskett wrote:
> > > >> So I just edited /etc/nut/upsd.users to add both the commands
> > > >> it claims to have but get this response to either:
> > > >
> > > > In your original example, you had multiple “instcmd =“ lines for
> > > > one user- I think the allowed commands all need to be listed on
> > > > one instcmd line.
> > >
> > > Ignore this, I misremembered (and didn't read far enough down the
> > > URL I sent). Multiple allowed commands are specified with one
> > > command per instcmd.
> >
> > Or as instcmds = ALL, which also doesn't work, ACCESS-DENIED.
> >
> > Aha!  Found it, very old version of upsmon.conf had gene as
> > operayor, not pi, but that didn't fix it until it had all been
> > restarted, so a quick battery test is underway.  And it was quick,
> > 15 secs OB.
> >
> > So a .deep its running now.
> > Broadcast message from nut at rpi4.coyote.den (somewhere) (Mon Jun 22
> > 18:35:49 202
> >
> > UPS myups at localhost on battery
> >
> > upsc myups says zero load, battery.runtime: 4080
> > The pi don't draw a lot when its not busy.
> >
> > I assume it will use about 90 % & switch back to line ending the a
> > deep test?
> >
> > In which case this might take hours,
>
> Quicker than I thought, 20:22 when it ran out of battery but instead
> of reverting to charge, it did a full shutdown. Is something
> miss-configured yet?
>
And apparently turned itself back on as its rebooted 3 minutes later and 
has put a bit of charge back in the battery already. Without any 
intervention from me.

> > Cheers, Gene Heskett
>
> Cheers, Gene Heskett


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>



More information about the Nut-upsuser mailing list