[Nut-upsuser] mge-shut doesn't use lowbatt parameter

François Rayer francois at 4umusic.com
Tue Aug 30 10:23:00 UTC 2005


Hello nuters,

FreeBSD, Ellipse USBS 800, serial line, nut 2.02 everything works fine.

But I'm only able to get an automatic shutdown when reaching the  
built-in 30% level. I the "lowbatt parameter" is set to anything,  
it's simply ignored.

This is a problem as I want to shutdown around 90% to avoid the  
battery to drain out when multiple shutdowns occur.

Any idea ?

François


Here is the situation :
-bash-2.05b$ sudo /usr/local/ups/bin/upsc ups_tamiaserver at localhost
battery.charge: 82
battery.charge.low: 30
battery.runtime: 01406
driver.flag.nolock: enabled
driver.name: mge-shut
driver.parameter.lowbatt: 90
driver.parameter.notification: 3
driver.parameter.offdelay: 60
driver.parameter.ondelay: 9
driver.parameter.pollinterval: 15
driver.parameter.port: /dev/cuaa0
driver.version: 2.0.2
driver.version.internal: 0.64
outlet.0.desc: Main Outlet
outlet.0.id: 1
outlet.0.switchable: 0
outlet.1.autoswitch.charge.low: 0
outlet.1.desc: PowerShare Outlet 1
outlet.1.id: 2
outlet.1.switch: 1
outlet.1.switchable: 0
output.voltage: 230
ups.delay.shutdown: -1
ups.delay.start: -1
ups.load: 26
ups.mfr: MGE UPS SYSTEMS
ups.model: ellipse 800
ups.power.nominal: 800
ups.serial: unknown
ups.status: OB DISCHRG

Here is the mge.conf relevant part :
====================================
         user = nut
         driverpath = /usr/local/ups/bin
         pollinterval = 15

[ups_tamiaserver]
         driver = mge-shut
         port = /dev/cuaa0
         desc = "MGE Ellipse 800 du Tamiaserver"
         lowbatt = 90
         offdelay = 60
         ondelay = 9
         nolock
         notification = 3
====================================


More information about the Nut-upsuser mailing list