[Nut-upsdev] Liebert GXT2 NUT driver - patch, multiple fixes

Spiros Ioannou sivann at gmail.com
Sat Apr 10 12:25:27 UTC 2010


based on r2432, i took this with "svn diff --revision HEAD liebert-esp2.c"

fixes:
1) new way to initialize model, firmware etc. variables, the strok way
failed because some vars had spaces. (e.g. model "Liebert NX")
2) new multipliers for: frequency, nominal power. I get correct readings
now, before I had 500 Hz, and 200VA and now it's ok for me. Test with your
models.
3) added battery temperature
4) removed battery.charge. BATTERY_CAPACITY != charge, BATTERY_CAPACITY
means how much the battery has lost its original energy capacity from aging.

-S

sample outout:
ambient.temperature: 25.0
battery.current: 0.00
battery.runtime: 11940
battery.temperature: 20.1
battery.voltage: 540.5
battery.voltage.nominal: 0.0
device.mfr: Liebert
device.model: Liebert NX
device.type: ups
driver.name: liebert-esp2
driver.parameter.baudrate: 9600
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.4.3-2432M
driver.version.internal: 0.02
input.bypass.voltage: 238.7
input.frequency: 50.0
input.frequency.nominal: 50.0
input.voltage: 238.6
output.current: 4.1
output.frequency: 50.0
output.voltage: 230.8
ups.firmware: I170R150M260
ups.load: 0
ups.mfr: Liebert
ups.model: Liebert NX
ups.power: 0
ups.power.nominal: 20000
ups.realpower: 0
ups.status: OL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100410/ea567687/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liebert-esp2.diff
Type: application/octet-stream
Size: 3636 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100410/ea567687/attachment.obj>


More information about the Nut-upsdev mailing list