[Nut-upsuser] Adding support for NUMERIC UPS

Holla holla.net at gmail.com
Sun Mar 7 02:26:02 UTC 2010


On Sat, Mar 6, 2010 at 8:19 AM, Arjen de Korte <nut+users at de-korte.org> wrote:
> Citeren Holla <holla.net at gmail.com>:
>
> [...]
>
>> Is this all that needs to be done for an unspported UPS ?
>
> This is enough to add it to the list of supported devices. You may wish to
> make sure that shutting down also works by running 'upsmon -c fsd' on the
> system that is designated as master for this UPS. You also seem to have an
> awfully outdated version of NUT, so upgrading is recommended.

As I explained in another reply in this thread, my NUT version is
OK, it is 2.4.1.

I tested the shutdown both by forcing it ('upsmon -c fsd') and also
by turning off the AC power. It works OK.

But I noticed one big problem during coldstart. As soon as the
megatech driver is loaded, UPS just turns off the load. Of course
the syslogs are corrupted, so cannot understand what is happening.


As you recommended below, I will test the blazer_ser driver.

>
>> Just running the NUT-monitor app, I noticed that the "Time Remaining"
>> info is not available. Does this look OK ?
>
> Yes. This is not supported on devices using the Megatec/Q1 protocol, simply
> because there is no definition for this in the protocol. If this is
> important to you, an upgrade to nut-2.4.1 or later is needed. The blazer_ser
> driver (which supersedes the megatec driver) in that release will report an
> estimated runtime left if given the proper parameters in ups.conf. Make sure
> to read 'man 8 blazer' before asking for help.
>

I switch to the blazer_driver

[Numeric]
        driver = blazer_ser
        port = /dev/upslink
        desc = "Numeric 2000 LI"
        default.battery.voltage.high = 41.0
        default.battery.voltage.low = 30.4
        default.battery.lowbatt = 25



# upsc Numeric
battery.charge: 100
battery.lowbatt: 25
battery.voltage: 41.00
battery.voltage.high: 41.0
battery.voltage.low: 30.4
battery.voltage.nominal: 36.0
beeper.status: enabled
driver.name: blazer_ser
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/upslink
driver.version: 2.4.1
driver.version.internal: 1.51
input.current.nominal: 8.7
input.frequency: 49.5
input.frequency.nominal: 50
input.voltage: 225.1
input.voltage.fault: 225.1
input.voltage.nominal: 230
output.voltage: 224.0
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: VER 40643N
ups.load: 12
ups.mfg: NUMERIC
ups.model: 2000 Plus
ups.status: OL
ups.temperature: 46.0
ups.type: offline / line interactive


This does not have the coldstart problem. >>Big Relief<<
Shutdowns are also OK.

Next I tried to setup the 'runtime' calculation. As the batteries in the
UPS are old (I think they need to be replaced), I do not want to
use the rated runtime. I have two data points now,
at 12% load, the runtime is about 10 minutes and at 70% load it
is two minutes.

So added the following line to upsc.conf

        runtimecal = 60,72,600,12


But now, both battery.charge and battery.runtime are wrong.

tej nut-monitor-1.1 # upsc Numeric
battery.charge: nan    <===============
battery.lowbatt: 25
battery.runtime: 0
battery.voltage: 40.80
battery.voltage.high: 41.0
battery.voltage.low: 30.4
battery.voltage.nominal: 36.0
beeper.status: enabled
driver.name: blazer_ser
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/upslink
driver.parameter.runtimecal: 60,72,600,12
driver.version: 2.4.1
driver.version.internal: 1.51
input.current.nominal: 8.7
input.frequency: 49.5
input.frequency.nominal: 50
input.voltage: 225.1
input.voltage.fault: 225.1
input.voltage.nominal: 230
output.voltage: 224.0
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: VER 40643N
ups.load: 14
ups.mfg: NUMERIC
ups.model: 2000 Plus
ups.status: OL
ups.temperature: 46.0
ups.type: offline / line interactive


Any hints as to what could be wrong ?

Thanks !
Sathish


> Best regards, Arjen
> --
> Please keep list traffic on the list
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>



More information about the Nut-upsuser mailing list