Hey all,
Finally got around to hooking up my Powercom BNT-1500AP to nut. It's the
old serial interface.
Connects okay and gets most information, but a couple of data are way off.
Any config recommendations or upgrade recommended? I've played with
config a little, but no hits yet.
Details:
NUT version 2.4.3
ups.conf:
[ups]
driver = powercom
port = /dev/ttyS0
NOTE: battery.charge is wrong, input.voltage as well at a minimum.
upsc ups:
battery.charge: -197.6
device.mfr: PowerCom
device.model: KIN-1500AP
device.serial: Unknown
device.type: ups
driver.name: powercom
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.parameter.type: BNT-other
driver.version: 2.4.3
driver.version.internal: 0.12
input.frequency: 80.12
input.voltage: 99.8
input.voltage.nominal: 120
output.frequency: 80.12
output.voltage: 99.8
ups.load: 9.0
ups.mfr: PowerCom
ups.model: KIN-1500AP
ups.model.type: KIN
ups.serial: Unknown
ups.status: OL
/lib/nut/powercom -a ups -DDDDDDD: Output attached.
Later,
--
Bill Carlson
Anything is possible, given Time and Money.
-------------- next part --------------
0.000000 debug level is '7'
0.000989 Flow control disable
0.001114 Num of bytes requested for reading from UPS: 16
0.150029 Num of bytes received from UPS: 16
0.150101 Detected: KIN-1500AP , 120V
0.150181 Values of arguments:
0.150200 manufacturer : 'PowerCom'
0.150214 model name : 'KIN-1500AP'
0.150229 serial number : 'Unknown'
0.150244 line voltage : '120'
0.150258 type : 'KIN'
0.150273 number of bytes from UPS: '16'
0.150287 method of flow control : 'no_flow_control'
0.150303 validation sequence: '{{8,0},{8,0},{8,0}}'
0.150318 shutdown arguments: '{{1,30},y}'
0.150345 send_to_all: SETINFO device.type "ups"
0.150365 send_to_all: SETINFO driver.version "2.4.3"
0.150384 send_to_all: SETINFO driver.version.internal "0.12"
0.150402 send_to_all: SETINFO driver.name "powercom"
0.150420 send_to_all: SETINFO ups.mfr "PowerCom"
0.150438 send_to_all: SETINFO ups.model "KIN-1500AP"
0.150455 send_to_all: SETINFO ups.serial "Unknown"
0.150473 send_to_all: SETINFO ups.model.type "KIN"
0.150491 send_to_all: SETINFO input.voltage.nominal "120"
0.150507 send_to_all: ADDCMD test.battery.start
0.150523 send_to_all: ADDCMD shutdown.return
0.150539 send_to_all: ADDCMD shutdown.stayoff
0.150615 Num of bytes requested for reading from UPS: 16
0.306018 Num of bytes received from UPS: 16
0.306051 input.frequency (raw data): [raw: 60]
0.306074 send_to_all: SETINFO input.frequency "80.12"
0.306090 input.frequency: 80.12
0.306105 output.frequency (raw data): [raw: 60]
0.306124 send_to_all: SETINFO output.frequency "80.12"
0.306139 output.frequency: 80.12
0.306154 ups.load (raw data): [raw: 8]
0.306174 send_to_all: SETINFO ups.load "13.3"
0.306190 ups.load: 13.3
0.306205 battery.charge (raw data): [raw: 89]
0.306224 send_to_all: SETINFO battery.charge "-189.6"
0.306239 battery.charge: -189.6
0.306254 input.voltage (raw data): [raw: 62]
0.306273 send_to_all: SETINFO input.voltage "99.8"
0.306289 input.voltage: 99.8
0.306303 output.voltage (raw data): [raw: 62]
0.306324 send_to_all: SETINFO output.voltage "1785735.0"
0.306339 output.voltage: 1785735.0
0.306359 send_to_all: SETINFO ups.status "OB TEST"
0.306375 STATUS: OB TEST
0.306390 send_to_all: DATAOK
0.306492 dstate_init: sock /var/run/nut/powercom-ups4 open on fd 5
0.306514 send_to_all: SETINFO driver.parameter.pollinterval "2"
0.306533 send_to_all: SETINFO device.mfr "PowerCom"
0.306551 send_to_all: SETINFO device.model "KIN-1500AP"
0.306570 send_to_all: SETINFO device.serial "Unknown"
0.306647 Num of bytes requested for reading from UPS: 16
0.454022 Num of bytes received from UPS: 16
0.454055 input.frequency (raw data): [raw: 60]
0.454074 input.frequency: 80.12
0.454088 output.frequency (raw data): [raw: 60]
0.454106 output.frequency: 80.12
0.454120 ups.load (raw data): [raw: 13]
0.454138 send_to_all: SETINFO ups.load "21.6"
0.454153 ups.load: 21.6
0.454168 battery.charge (raw data): [raw: 96]
0.454186 send_to_all: SETINFO battery.charge "-166.4"
0.454201 battery.charge: -166.4
0.454216 input.voltage (raw data): [raw: 62]
0.454233 input.voltage: 99.8
0.454248 output.voltage (raw data): [raw: 60]
0.454267 send_to_all: SETINFO output.voltage "1926182.6"
0.454282 output.voltage: 1926182.6
0.454299 STATUS: OB TEST
2.194058 Signal 2: exiting
Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.3)
Raw data from UPS:
0 0x08 ( )
1 0x59 (Y)
2 0x3e (>)
3 0x3e (>)
4 0x3c (<)
5 0xff (?)
6 0x3c (<)
7 0x00 ( )
8 0x00 ( )
9 0x40 (@)
10 0x00 ( )
11 0x4b (K)
12 0x83 (?)
13 0x00 ( )
14 0x00 ( )
15 0x00 ( )
Raw data from UPS:
0 0x08 ( )
1 0x59 (Y)
2 0x3e (>)
3 0x3e (>)
4 0x3c (<)
5 0xff (?)
6 0x3c (<)
7 0x00 ( )
8 0x00 ( )
9 0x41 (A)
10 0x04 ( )
11 0x4b (K)
12 0x83 (?)
13 0x00 ( )
14 0x00 ( )
15 0x00 ( )
Raw data from UPS:
0 0x0d ( )
1 0x60 (`)
2 0x3e (>)
3 0x3c (<)
4 0x3c (<)
5 0xff (?)
6 0x3c (<)
7 0x00 ( )
8 0x00 ( )
9 0x41 (A)
10 0x04 ( )
11 0x4b (K)
12 0x83 (?)
13 0x00 ( )
14 0x00 ( )
15 0x00 ( )