[Nut-upsuser] Unsupported UPS using megatec_usb

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Tue May 6 16:03:05 UTC 2008


On Tue, 06 May 2008 04:28:26 +0400, Jamie Thompson  
<lists.nut-upsuser at jamie-thompson.co.uk> wrote:

>> From this point the problem is described in the megatec_usb(8) man page  
>> in
>> the 'known problems' section.
>
> Ok, just to confirm then, I need to take the battery reading when fully  
> charged (11.5V?), then again when it is fully discharged, and enter it  
> in the
> form:
>  > battvolts = x:11.5
> to ups.conf (where 'x' is the value I'll measure when it runs out of  
> juice)?
>

I think it should be 'battvolts = x:13.0' from what I've seen from your
previous mails (you'd better check this). This was a reported real voltage,
when the UPS (I guess) was fully charged. You can get the current voltage
 from the upsc output:

battery.voltage: xxxx
....

or from driver debug output:

Asking for UPS status [Q1]...
get_data_krauler: index [03], prefix [(]
Q1 => OK [(234.0 165.0 234.0 000 50.0 13.0 00.0 00001010]
                                       ^^^^

> Minor humble suggestion, would you consider letting people know on the  
> man page which way round they go:
>>        battvolts=float:float
>>
>>               Optional.  The battery voltage interval (volts).
> ...isn't as intuitive as it could be. Perhaps:
>>        battvolts=float:float
>>
>>               Optional.  The battery voltage interval <empty:full>  
>> (volts).
> ...might be clearer.
>
> Thanks for all your help!
> - Jamie
>

Thanks, I'll correct it!

Btw, please try the complete setup (driver + upsd). What does upsc print?
Also I think you'll have to add the 'ignoreoff' parameter to ups.conf to
make ups.status correct (if it is not).

-- 
   Alexander



More information about the Nut-upsuser mailing list