1 |
On Monday, 12 September 2022 06:57:58 BST Dale wrote: |
2 |
> William Kenworthy wrote: |
3 |
> > If your using nut, it has to be setup - and should be regularly tested |
4 |
> > to make sure it works. |
5 |
> > |
6 |
> > BillK |
7 |
> |
8 |
> I think upsmon is part of nut. I keep forgetting that since the service |
9 |
> is ups something. Thing is, I've never quite figured out how to test it |
10 |
> without unplugging and running down the batteries. I do have everything |
11 |
> configured and have ever since I built this puter. I did the same on |
12 |
> previous puter and UPS. Pretty sure it will work. When power blinks |
13 |
> etc, it does notice it and logs it in messages file. Also, the upsc |
14 |
> command outputs the info correctly when run. |
15 |
> |
16 |
> I wish I could send a command to the UPS to fake a power failure, wait |
17 |
> say one minute and then it tell puter to shutdown all on its own. If it |
18 |
> does it correctly, it should work in the event of a actual power failure |
19 |
> and not run down my batteries either. I try to keep the batteries |
20 |
> topped off at all times since we do on occasion have some crazy driver |
21 |
> not watching where he/she is going and hits a power pole. Doesn't do |
22 |
> the pole any good and the car seems to not enjoy it either. :/ |
23 |
> Sometimes the driver is no longer caring about it. |
24 |
> |
25 |
> I actually wish I had a much larger external battery. Thing is, I'm |
26 |
> concerned about the charging bit. The charging section in a UPS isn't |
27 |
> really that powerful since it mostly just keeps the batteries topped |
28 |
> off. I have 7Amp/hr batteries and I think it takes like 7 or 8 hours to |
29 |
> charge from almost dead. I'd guess it is at most a 1 to 1.5 amp |
30 |
> charging circuit. |
31 |
|
32 |
Many UPSs containing two batteries connected in series always end up with one |
33 |
battery less charged than the other. This is because although the current |
34 |
which flows through the circuit is the same, due to Ohm's Law the voltage |
35 |
drops across each battery as the resistance decreases along the circuit. |
36 |
Therefore the first battery never gets fully charged. The opposite happens |
37 |
with a discharge cycle. |
38 |
|
39 |
Once every three months or every time I experience a noticeably prolonged |
40 |
power cut, I shutdown the loads, take the UPS off line, disconnect the |
41 |
batteries and top up each battery's charge with a car battery charger. Then I |
42 |
replace them but make sure I reverse their positions. I have found this is |
43 |
the best way to maximise their service life. |
44 |
|
45 |
I also use the car battery charger to top up single battery UPSs, but I only |
46 |
do this twice a year. I have found the charge these single batteries need is |
47 |
comparably shorter. |
48 |
|
49 |
|
50 |
> If you know of a command to test without running down batteries, I have |
51 |
> a Cyberpower UPS and I'm certainly interested. It's only a decade or so |
52 |
> old so has quite a few features. There may be a way to do this but I've |
53 |
> yet to find it. |
54 |
> |
55 |
> Thanks. |
56 |
> |
57 |
> Dale |
58 |
> |
59 |
> :-) :-) |
60 |
|
61 |
Check the NUT command set and options, in particular upsmon. You'll probably |
62 |
want to try issuing a 'forced shutdown' command 'upsmon -c fsd', which won't |
63 |
wait for the batteries to discharge first, like it does with upssched. Before |
64 |
you try this, best sync your disks first and remount them read only just in |
65 |
case. |
66 |
|
67 |
There may be some UPS specific test function too, this very much depends on |
68 |
the UPS and driver. You can check what variables a UPS has and how to tweak |
69 |
them to cause a shutdown by running 'upsrw -l', if any of the exposed UPS |
70 |
variable are tweakable. |