[Nut-upsdev] Cpsups driver with a CyberPower OP1000E

Marcel Ziswiler marcel at ziswiler.com
Thu Jan 4 01:09:04 CET 2007


>Could you try again with the latest revision from the trunk?

Sure, works like a charm now:
# drivers/powerpanel -a myups -DDD
Network UPS Tools -  CyberPower text protocol UPS driver 0.11 (2.1.0)
Warning: This is an experimental driver.
Some features may not function correctly.

debug level is '3'
command:
reply  : <none>
warning: sent "\r", expected "#2\r" but got ""command: P4
reply  : (46 bytes) => 23 31 30 30 30 56 41 20 20 20 20 2c 32 2e 31 30 32
2c 30 30 30 30 30 30 30 30 30 30 30 30 2c 43 59 42 45 52 20 50 4f 57 45 52
20 20 20 20
Detected CYBER POWER     1000VA     on /dev/ttyUSB0
command: P3
reply  : <none>
command: P2
reply  : (22 bytes) => 23 31 30 30 30 2c 30 37 30 30 2c 32 33 30 2c 30 34
37 2c 30 36 33
command: P1
reply  : (15 bytes) => 23 32 33 30 2c 32 37 30 2c 31 38 30 2c 32 30
command: P6
reply  : (40 bytes) => 23 32 36 32 2c 32 36 34 2c 32 36 36 2c 32 36 38 2c
32 37 30 2c 32 37 32 2c 32 37 34 2c 32 37 36 2c 32 37 38 2c 32 38 30
command: P7
reply  : (40 bytes) => 23 31 37 30 2c 31 37 32 2c 31 37 34 2c 31 37 36 2c
31 37 38 2c 31 38 30 2c 31 38 32 2c 31 38 34 2c 31 38 36 2c 31 38 38
command: P8
reply  : <none>
command: D
reply  : (34 bytes) => 23 49 32 33 31 2e 30 4f 32 33 31 2e 30 4c 30 32 38
42 31 30 30 54 30 33 39 46 30 34 39 2e 39 53 90 80
command: C
reply  : <none>
command: D
reply  : (34 bytes) => 23 49 32 33 31 2e 30 4f 32 33 31 2e 30 4c 30 32 38
42 31 30 30 54 30 33 39 46 30 34 39 2e 39 53 90 80
dstate_init: sock /var/state/ups/myups open on fd 5

# /usr/local/ups/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.1.0
Network UPS Tools -  CyberPower text protocol UPS driver 0.11 (2.1.0)
Warning: This is an experimental driver.
Some features may not function correctly.

warning: sent "\r", expected "#2\r" but got ""Detected CYBER POWER     1000VA   on /dev/ttyUSB0

# /usr/local/ups/sbin/upsd
Network UPS Tools upsd 2.1.0
/var/state/ups is world readable
/usr/local/ups/etc/upsd.conf is world readable
Connected to UPS [myups]: myups
/usr/local/ups/etc/upsd.users is world readable

# /usr/local/ups/bin/upsc myups at localhost ups.status
OL

# /usr/local/ups/bin/upsc myups at localhost
battery.charge: 100.0
battery.charge.low: 20
driver.name: powerpanel
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyUSB0
driver.version: 2.1.0
driver.version.internal: 0.11
input.frequency: 50
input.frequency.high: 063
input.frequency.low: 047
input.transfer.high: 270
input.transfer.low: 180
input.voltage: 233
input.voltage.nominal: 230
output.voltage: 233
ups.firmware: 2.102
ups.load: 28
ups.mfr: CYBER POWER
ups.model: 1000VA
ups.power.nominal: 1000
ups.realpower.nominal: 0700
ups.serial: 000000000000
ups.status: OL
ups.temperature: 39

Thanks again!



More information about the Nut-upsdev mailing list