You are on page 1of 11

2021-04-09 11:07:08 apctest 3.14.

14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
apctest FATAL ERROR in apctest.c at line 311
Unable to create UPS lock file.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed

2021-04-09 11:07:17 apctest 3.14.14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
apctest FATAL ERROR in apctest.c at line 311
Unable to create UPS lock file.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed

2021-04-09 11:07:30 apctest 3.14.14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
apctest FATAL ERROR in apctest.c at line 311
Unable to create UPS lock file.
If apcupsd or apctest is already running,
please stop it and run this program again.
apctest error termination completed

2021-04-09 11:08:05 apctest 3.14.14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
Setting up the port ...
Doing prep_device() ...

You are using a SMART cable type, so I'm entering SMART test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit
Select function number: 1

I am going to run through the series of queries of the UPS


that are used in initializing apcupsd.

Simulating UPSlinkCheck ...


Bad status from write: Input/output error
Wrote: Y Got:
getline failed. Apparently the link is not up.
Giving up.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: q

2021-04-09 11:13:31 End apctest.

2021-04-09 11:13:40 apctest 3.14.14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
Setting up the port ...
Doing prep_device() ...

You are using a SMART cable type, so I'm entering SMART test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: 1

I am going to run through the series of queries of the UPS


that are used in initializing apcupsd.

Simulating UPSlinkCheck ...


Wrote: Y Got: SM
Attempting to use smart_poll() ...
Sent: Y Got: SM Good -- smart_poll() works!.

Going to ask for valid commands...


Wrote: a Got:
Cannot get the list of valid commands (a very old ups perhaps ?).
Protocol version is:
Alert characters are:
Command characters are:

Now running through apcupsd get_UPS capabilities().


NA indicates that the feature is Not Available

UPS Status: 08
Line quality: FF
Reason for last transfer to batteries: R
Self-Test Status: NO
Line Voltage: 229.4
Line Voltage Max: 231.8
Line Voltage Min: 228.1
Output Voltage: 229.4
Batt level percent: 100.0
Batt voltage: 27.13
UPS Load: 034.8
Line freq: 50.00
Runtime left: 0017
UPS Internal temp: 028.8
Dip switch settings: 02
Register 1:
Register 2:
Register 3: 00
Sensitivity: L
Wakeup delay: 000
Sleep delay: 020
Low transfer voltage: 196
High transfer voltage: 260
Batt charge for return: 00
Alarm status: T
Low battery shutdown level: 05
UPS Name: UPS_IDEN
UPS Self test interval: ON
UPS manufacture date: 03/22/94
UPS serial number: 16866214
Date battery replaced: 03/22/94
Output voltage when on batteries: 225
Nominal battery voltage: 024
Percent humidity:
Ambient temperature:
Firmware revision: 6TI
Number of external batteries installed:
Number of bad batteries installed:
UPS model as defined by UPS: 6TI
UPS EPROM capabilities string:
The EPROM string is 0 characters long!
Hours since last self test:

That is all for now.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit
Select function number: 2

First ensure that we have a good link and


that the UPS is functionning normally.
Simulating UPSlinkCheck ...
Wrote: Y Got: SM
Attempting to use smart_poll() ...
Sent: Y Got: SM Good -- smart_poll() works!.

Checking estimated runtime ...


Current runtime is 17 minutes
Checking for battery level ...
Battery level is 100.0 -- OK

The battery calibration should automatically end


when the battery level drops below about 25, depending
on your UPS.

I can also optionally monitor the progress


and stop the calibration if it goes below 10. However,
in the case of a new battery this may prematurely end the
calibration loosing the effect.

Do you want me to stop the calibration


if the battery level goes too low? (y/n): n

Sending Battery Calibration command. ...


UPS has initiated battery calibration.
Monitoring the calibration progress ...
To stop the calibration, enter a return.

Battery charge 100


Remaining runtime is 18 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 18 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes
Battery charge 100
Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 0
Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 15 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 15 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes
Battery charge 100
Remaining runtime is 15 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 100


Remaining runtime is 17 minutes
Battery charge 100
Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 17 minutes

Battery charge 100


Remaining runtime is 16 minutes

Battery charge 81
Remaining runtime is 13 minutes

Battery charge 55
Remaining runtime is 9 minutes

UPS sent: %

UPS sent: %

Battery Runtime Calibration terminated by UPS.


Checking estimated runtime ...
Remaining runtime is 3 minutes
On battery 4993 sec or 83m13s.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: #[A#[A#[Bq

Illegal response. Please enter 1-6,Q


1) Query the UPS for all known values
2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: q

2021-04-09 13:32:32 End apctest.

2021-04-09 14:13:46 apctest 3.14.14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
Setting up the port ...
Doing prep_device() ...

You are using a SMART cable type, so I'm entering SMART test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: 5

This is the EEPROM programming section of apctest.


Please select the function you want to perform.

1) Print EEPROM values


2) Change Battery date
3) Change UPS name
4) Change sensitivity
5) Change alarm delay
6) Change low battery warning delay
7) Change wakeup delay
8) Change shutdown delay
9) Change low transfer voltage
10) Change high transfer voltage
11) Change battery return threshold percent
12) Change output voltage when on batteries
13) Change the self test interval
14) Set EEPROM with conf file values
Q) Quit

Select function number: 1

Doing prep_device() ...


apctest FATAL ERROR in apctest.c at line 2425
Your model does not support EPROM programming.
apctest error termination completed

2021-04-09 14:14:53 apctest 3.14.14 (31 May 2016) debian


Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = Custom Cable Smart
mode.type = APC Smart UPS (any)
Setting up the port ...
Doing prep_device() ...

You are using a SMART cable type, so I'm entering SMART test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.

1) Query the UPS for all known values


2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: 5

This is the EEPROM programming section of apctest.


Please select the function you want to perform.

1) Print EEPROM values


2) Change Battery date
3) Change UPS name
4) Change sensitivity
5) Change alarm delay
6) Change low battery warning delay
7) Change wakeup delay
8) Change shutdown delay
9) Change low transfer voltage
10) Change high transfer voltage
11) Change battery return threshold percent
12) Change output voltage when on batteries
13) Change the self test interval
14) Set EEPROM with conf file values
Q) Quit

Select function number: 2

Enter new battery date -- DD/MM/YY: 31/03/21

1) Print EEPROM values


2) Change Battery date
3) Change UPS name
4) Change sensitivity
5) Change alarm delay
6) Change low battery warning delay
7) Change wakeup delay
8) Change shutdown delay
9) Change low transfer voltage
10) Change high transfer voltage
11) Change battery return threshold percent
12) Change output voltage when on batteries
13) Change the self test interval
14) Set EEPROM with conf file values
Q) Quit

Select function number: 2

Enter new battery date -- DD/MM/YY: 03/31/21

1) Print EEPROM values


2) Change Battery date
3) Change UPS name
4) Change sensitivity
5) Change alarm delay
6) Change low battery warning delay
7) Change wakeup delay
8) Change shutdown delay
9) Change low transfer voltage
10) Change high transfer voltage
11) Change battery return threshold percent
12) Change output voltage when on batteries
13) Change the self test interval
14) Set EEPROM with conf file values
Q) Quit

Select function number: 13

Enter new self test interval: q

2021-04-09 14:18:15 apctest exiting, signal 2

You might also like