19
19
.IP "linevoltage=\fIvalue\fR"
20
An integer specifying the mains voltage. It can't be autodetected.
21
Acceptable values are in the range of 110-120 or 220-240. The default
20
An integer specifying the mains voltage. It can't be auto detected.
21
Acceptable values are in the range of 110\(hy120 or 220\(hy240. The default
24
.IP "manufacturer=\fIvalue\fR"
25
Specify the manufacturer name, which also can't be autodetected. This is
24
.IP "manufacturer=\fIname\fR"
25
Specify the manufacturer name, which also can't be auto detected. This is
26
26
a user defined string so any name is acceptable. The default is
29
.IP "modelname=\fIvalue\fR"
30
Specify the model name, which also can't be autodetected. This is a
31
user defined string so any name is acceptable. The default is \fIUnknown\fR.
29
.IP "modelname=\fIname\fR"
30
Specify the model name, which also can't be auto detected. This is a
31
user defined string so any name is acceptable. The default is
33
34
.IP "serialnumber=\fIvalue\fR"
34
Like modelname above, but for the serial number. The default is \fIUnknown\fR.
36
.IP "type=\fIvalue\fR"
37
The exact type of the communication protocol within the powercom family, that will be used to communicate with the UPS. The type is named after the first modelname that was coded with that protocol. The acceptable names are KP625AP, Trust, KIN2200AP or Egys. The default is \fITrust\fR.
35
Like modelname above, but for the serial number. The default is
39
The exact type of the communication protocol within the powercom family,
40
that will be used to communicate with the UPS. The type is named after
41
the first modelname that was coded with that protocol. The acceptable
42
names are KP625AP, Trust, KIN2200AP, Egys, KIN525AP or KIN1500AP. The
43
default is \fITrust\fR.
45
.IP "numOfBytesFromUPS=\fIvalue\fR"
46
The number of bytes in a UPS frame. The default is type dependant and
49
.IP "voltage=\fI{coefficient1,coefficient2,coefficient3,coefficient4}\fR"
50
A quad that is used convert the raw data to human readable voltage
51
reading. The default is type dependant and is given below. Do note that
52
the braces and commas are mandatory, as well as the lack of white space
55
.IP "methodOfFlowControl=\fIname\fR"
56
The method of serial communication flow control that is engaged by the
57
UPS. The default is type dependant and is given below. Acceptable names
58
are dtr0rts1, dtr1 or no_flow_control.
60
.IP "frequency=\fI{coefficient1,coefficient2}\fR"
61
A pair to convert the raw data to human readable frequency reading. The
62
default is type dependant and is given below. Do note that the braces
63
and commas are mandatory as well, as the lack of white space characters.
65
.IP "batteryPercentage=\fI{coefficient1,coefficient2,coefficient3,coefficient4,coefficient5}\fR"
66
A 5 tuple to convert the raw data to human readable battery percentage
67
reading. The default is type dependant and is given below. Do note that
68
the braces and commas are mandatory, as the lack of white space
71
.IP "loadPercentage=\fI{coefficient1,coefficient2,coefficient3,coefficient4}\fR"
72
A quad to convert the raw data to human readable load percentage
73
reading. The default is type dependant and is given below. Do note that
74
the braces and commas are mandatory, as the lack of white space
77
.IP "validationSequence=\fI{{index1,value1},{index2,value2},{index3,value3}}\fR"
78
3 pairs to be used for validating the UPS by comparing bytes of the raw
79
data with constant values. The default is type dependant and is given
80
below. The braces and commas are mandatory, as the lack of white space
83
.IP "shutdownArguments=\fI{{minutes,seconds},whether_minutes_should_be_used}\fR"
84
The minutes and seconds that the UPS should wait between receiving the
85
shutdown command and actually shutting off. The other argument should
86
be set to the character \fIn\fR only when the minutes value should be
87
skipped and not sent to the UPS. The default is type dependant and is
88
given below. The braces and commas are mandatory. Note that there should
89
be no white space characters.
91
.SH DEFAULT VALUES FOR THE EXTRA ARGUMENTS
92
.IP "linevoltage = \fI230\fR"
93
.IP "manufacturer = \fIPowerCom\fR"
94
.IP "modelname = \fIUnknown\fR"
95
.IP "serialnumber = \fIUnknown\fR"
96
.IP "type = \fITrust\fR"
99
The rest of the default values for the extra arguments are type
104
.IP "numOfBytesFromUPS = 11"
105
.IP "methodOfFlowControl = dtr0rts1"
106
.IP "validationSequence = {{5,0},{7,0},{8,0}}"
107
.IP "shutdownArguments = {{0,10},n}"
108
.IP "frequency = {0.00020997,0.00020928}"
109
.IP "loadPercentage = {6.1343,\-0.3808,4.3110,0.1811}"
110
.IP "batteryPercentage = {5.0000,0.3268,\-825.00,4.5639,\-835.82}"
111
.IP "voltage = {1.9216,\-0.0977,0.9545,0.0000}"
116
.IP "numOfBytesFromUPS = 16"
117
.IP "methodOfFlowControl = dtr0rts1"
118
.IP "validationSequence = {{5,0x80},{7,0},{8,0}}"
119
.IP "shutdownArguments = {{0,10},n}"
120
.IP "frequency = {0.00020997,0.00020928}"
121
.IP "loadPercentage = {6.1343,\-0.3808,4.3110,0.1811}"
122
.IP "batteryPercentage = {5.0000,0.3268,\-825.00,4.5639,\-835.82}"
123
.IP "voltage = {1.9216,\-0.0977,0.9545,0.0000}"
128
.IP "numOfBytesFromUPS = 16"
129
.IP "methodOfFlowControl = dtr0rts1"
130
.IP "validationSequence = {{7,0},{8,0},{8,0}}"
131
.IP "shutdownArguments = {{0,10},n}"
132
.IP "frequency = {0.00020997,0.0}"
133
.IP "loadPercentage = {6.1343,\-0.3808,1.075,0.1811}"
134
.IP "batteryPercentage = {5.0000,0.3268,\-825.00,0.46511,0}"
135
.IP "voltage = {1.9216,\-0.0977,0.82857,0.0000}"
140
.IP "numOfBytesFromUPS = 16"
141
.IP "methodOfFlowControl = no_flow_control"
142
.IP "validationSequence = {{5,0x80},{7,0},{8,0}}"
143
.IP "shutdownArguments = {{0,10},n}"
144
.IP "frequency = {0.00020997,0.00020928}"
145
.IP "loadPercentage = {6.1343,\-0.3808,1.3333,0.6667}"
146
.IP "batteryPercentage = {5.0000,0.3268,\-825.00,2.2105,\-355.37}"
147
.IP "voltage = {1.9216,\-0.0977,0.9545,0.0000}"
152
.IP "numOfBytesFromUPS = 16"
153
.IP "methodOfFlowControl = dtr1"
154
.IP "validationSequence = {{5,0x80},{7,0},{8,0}}"
155
.IP "shutdownArguments = {{0,10},y}"
156
.IP "frequency = {0.00020997,0.00020928}"
157
.IP "loadPercentage = {6.1343,\-0.3808,4.3110,0.1811}"
158
.IP "batteryPercentage = {5.0000,0.3268,\-825.00,4.5639,\-835.82}"
159
.IP "voltage = {1.9216,\-0.0977,0.9545,0.0000}"
164
.IP "numOfBytesFromUPS = 16"
165
.IP "methodOfFlowControl = no_flow_control"
166
.IP "validationSequence = {{7,0},{8,0},{8,0}}"
167
.IP "shutdownArguments = {{0,10},n}"
168
.IP "frequency = {0.00020997,0.0}"
169
.IP "loadPercentage = {6.1343,\-0.3808,1.075,0.1811}"
170
.IP "batteryPercentage = {5.0000,0.3268,\-825.00,0.46511,0}"
171
.IP "voltage = {1.9216,\-0.0977,0.82857,0.0000}"
40
175
Peter Bieringer <pb@bieringer.de>