[Nut-upsuser] ULTRA 2000 ULT33046 configuration

JW Simpson john at swajime.com
Tue Nov 24 19:23:43 UTC 2009


On Tue, 2009-11-24 at 11:17 +0100, Arjen de Korte wrote:
> Citeren JW Simpson <john at swajime.com>:
> 
> > I tried starting this with the PowerCom BNT-other driver ... and it
> > looks like it's all running, except I can now see "ups.model:
> > KIN-2200AP".   :-|
> > I'm guessing that I should set it up with the KIN driver then ???
> 
> I honestly don't know, you'll have to fiddle around with the driver  
> parameters until you get correct readings. Unlike what you've been  
> doing so far, start off with the minimum set of driver parameters  
> (skip anything that is marked optional) and then check the upsc  
> output. See if the reported values are reasonable. Only if that fails,  
> it is time to fill in the optional parameters.
> 
> Best regards, Arjen

Arjen,

I'm certainly appreciating your help.

So far, everything I've seen has appeared very cryptic to me.  I will have to try to find some information about these parameters that is closer to my lower reading level.

I removed all of the optional parameters, except for validationSequence.
Without the validationSequence, I get:
        data receiving error (validation check)
        data receiving error (0 instead of 16 bytes)

The output from upsc does *not* look right to me. But, then again, I don't know what it would look like if it were right.
        battery.charge: 0.0                       <- shouldn't this be 100 ? (as in per cent?)
        input.frequency: 80.12                    <- I'm thinking this should be 60 ? (as in Hz.?)
        input.voltage: 100.8                      <- The display on the front panel claims 124 at the moment ...
        ups.load: 12.9                            <- Amps ?
        ups.mfr: PowerCom               <- came from nowhere
        ups.model: KIN-2200AP           <- came from nowhere
        ups.model.type: KIN             <- came from nowhere
        ups.status: OL                            <- Overload ?? Offline ?? 
        
I installed wmnut, which did not seem very helpful.  Too tiny for one thing.
        
This is a terminal log showing what I'm looking at right now:

# head -n19 ups.conf
        # Starting via these commands
        #
        #   # tail -fn0 /var/log/syslog &
        #   # service nut stop
        #   # upsdrvctl -DDD stop KIN
        #   # fuser -k /dev/ttyUSB0
        #   # upsdrvctl -DDD start KIN
        #   # service nut start
        #   # upsc KIN
        
           MODE=netserver
           user=nut
        
        [KIN]
           driver=powercom
           type=KIN
           port=/dev/ttyUSB0
           validationSequence={{11,0x4b},{8,0},{8,0}}

# tail -fn0 /var/log/syslog &
        [1] 9239
        
# service nut stop
         * Stopping Network UPS Tools                                                                                                                                                                                               [ OK ] 
-- Nov 24 12:54:32 system76-pc upsd[9216]: mainloop: Interrupted system call
-- Nov 24 12:54:32 system76-pc upsd[9216]: Signal 15: exiting
-- Nov 24 12:54:32 system76-pc kernel: [76649.911533] upsdrvctl[9271]: segfault at 0 ip 00007f4a3d056540 sp 00007fffc1032168 error 4 in libc-2.9.so[7f4a3cfd6000+168000]
-- Nov 24 12:54:32 system76-pc upsmon[9219]: Signal 15: exiting
-- Nov 24 12:54:32 system76-pc upsmon[9218]: upsmon parent: read

# upsdrvctl -DDD stop KIN
        Network UPS Tools - UPS driver controller 2.4.1
        Stopping UPS: KIN
        Can't open /var/run/nut/powercom-ttyUSB0.pid: No such file or directory

# fuser -k /dev/ttyUSB0
        /dev/ttyUSB0:         9183

# upsdrvctl -DDD start KIN
        Network UPS Tools - UPS driver controller 2.4.1
        Starting UPS: KIN
        exec: /lib/nut/powercom -a KIN
        Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.1)
-- Nov 24 12:55:13 system76-pc powercom[9281]: Startup successful

# service nut start
         * Starting Network UPS Tools                                                                                                                                                                                               [ OK ] 
-- Nov 24 12:55:24 system76-pc upsd[9313]: ACL in upsd.conf is no longer supported - switch to LISTEN
-- Nov 24 12:55:24 system76-pc upsd[9313]: ACL in upsd.conf is no longer supported - switch to LISTEN
-- Nov 24 12:55:24 system76-pc upsd[9313]: ACCEPT in upsd.conf is no longer supported - switch to LISTEN
-- Nov 24 12:55:24 system76-pc upsd[9313]: REJECT in upsd.conf is no longer supported - switch to LISTEN
-- Nov 24 12:55:24 system76-pc upsd[9313]: listening on 127.0.0.1 port 3493
-- Nov 24 12:55:24 system76-pc upsd[9313]: listening on ::1 port 3493
-- Nov 24 12:55:24 system76-pc upsd[9313]: Connected to UPS [KIN]: powercom-KIN
-- Nov 24 12:55:24 system76-pc upsd[9313]: allowfrom in upsd.users is no longer used
-- Nov 24 12:55:24 system76-pc upsd[9314]: Startup successful
-- Nov 24 12:55:24 system76-pc upsmon[9316]: Startup successful
-- Nov 24 12:55:24 system76-pc upsd[9314]: User local_mon@::1 logged into UPS [KIN]

# upsc KIN
        battery.charge: 0.0
        driver.name: powercom
        driver.parameter.pollinterval: 2
        driver.parameter.port: /dev/ttyUSB0
        driver.parameter.type: KIN
        driver.parameter.validationSequence: {{11,0x4b},{8,0},{8,0}}
        driver.version: 2.4.1
        driver.version.internal: 0.12
        input.frequency: 80.12
        input.voltage: 100.8
        input.voltage.nominal: 120
        output.frequency: 80.12
        output.voltage: 100.8
        ups.load: 12.9
        ups.mfr: PowerCom
        ups.model: KIN-2200AP
        ups.model.type: KIN
        ups.serial: Unknown
        ups.status: OL




More information about the Nut-upsuser mailing list