Victor Porton
2014-Dec-01 14:19 UTC
[Nut-upsuser] Do I need to configure times and percents?
01.12.2014, 14:50, "Charles Lepple" <clepple at gmail.com>:> On Dec 1, 2014, at 4:11 AM, Victor Porton <porton at narod.ru> wrote: >> ?battery.voltage: 13.70 >> ?battery.voltage.high: 13.00 >> ?battery.voltage.low: 10.40 > > These are the voltage thresholds for the UPS, so theoretically the UPS will send the LB signal when the battery voltage goes lower than 10.40 Volts. > > Also, if battery.charge works, you can use "ignorelb" if you want to shut down at another level of charge: > > http://www.networkupstools.org/docs/man/ups.conf.html#_ups_fields >> ?ups.delay.shutdown: 30 >> ?ups.delay.start: 180 > > These timers are in seconds. You will want to verify this, but according to those values, the UPS will shut off its output 30 seconds after the shutdown signal (so you need to make sure that your OS shutdown takes less time than that). > > Does "upsrw -l advice" show anything?$ upsrw -l advice upsrw: invalid option -- 'l' Network UPS Tools upsrw 2.7.2 usage: upsrw [-h] upsrw [-s <variable>] [-u <username>] [-p <password>] <ups> Demo program to set variables within UPS hardware. -h display this help text -s <variable> specify variable to be changed use -s VAR=VALUE to avoid prompting for value -u <username> set username for command authentication -p <password> set password for command authentication <ups> UPS identifier - <upsname>[@<hostname>[:<port>]] Call without -s to show all possible read/write variables. -- Victor Porton - http://portonvictor.org
Charles Lepple
2014-Dec-01 14:27 UTC
[Nut-upsuser] Do I need to configure times and percents?
On Dec 1, 2014, at 9:19 AM, Victor Porton <porton at narod.ru> wrote:> 01.12.2014, 14:50, "Charles Lepple" <clepple at gmail.com>: >> Does "upsrw -l advice" show anything? > > $ upsrw -l advice > upsrw: invalid option -- 'l'I suppose I should read the documentation every once in a while :-) "upsrw advice" I was thinking of "upscmd -l advice". -- Charles Lepple clepple at gmail
Victor Porton
2014-Dec-01 14:31 UTC
[Nut-upsuser] Do I need to configure times and percents?
01.12.2014, 16:27, "Charles Lepple" <clepple at gmail.com>:> On Dec 1, 2014, at 9:19 AM, Victor Porton <porton at narod.ru> wrote: >> ?01.12.2014, 14:50, "Charles Lepple" <clepple at gmail.com>: >>> ?Does "upsrw -l advice" show anything? >> ?$ upsrw -l advice >> ?upsrw: invalid option -- 'l' > > I suppose I should read the documentation every once in a while :-) > > "upsrw advice""upsrw advice" outputs nothing.> I was thinking of "upscmd -l advice".-- Victor Porton - http://portonvictor.org