[Nut-upsdev] Trying to fix "Unsupported combination of battery voltage / nr. of batteries" error

Carlos Rodrigues carlos.efr at mail.telepac.pt
Wed May 2 22:03:11 UTC 2007


On 5/2/07, Gary van Blerk <gary at cartrack.co.za> wrote:
> I have the same problem as  Frank van Wensveen.
>
> After running "megatec -DDD yourups" as suggested by Carlos Rodrigues I get
> the data in the attached txt file.
>
> My UPS has 20x 12volt batteries and is a 10KVA CR Series UPS. Some kind of
> no-name brand made in China.
>
> The part number for the controller is: CR10K(S) if that is of any use to
> you. There is no firmware information in the ups and it only really seems to
> respond to Q1 through minicom. Unfortunately the UPS is a production UPS so
> I wasn't able to get the "low battery" state readings.

Did you change something in megatec.c? This output is really strange:

Asking for UPS information ("I" command)...
UPS information: 228.0 140.0 230.0 034 50.0 2.29 36.5 00000000
Megatec protocol UPS detected [228.0 140.0 230 0 034 50.0 2.29 36.5].
Asking for UPS power ratings ("F" command)...
UPS power ratings: 228.0 140.0 231.0 032 50.0 2.29 36.5 00000000
Asking for UPS status ("Q1" command)...
UPS status: 228.0 140.0 231.0 033 50.0 2.29 36.5 00000000
231.0V battery, interval [1.6V, 2.3V].
Done setting up the UPS.

The output for the "I", "F" and "Q1" commands is all the same. This
isn't possible with the existing driver.

The driver only needs the "Q1" command supported by the UPS. But if
this is the case, there's nothing that can be added to the batteries
table. The only way is to provide values manually using the
"battvolts" option.

-- 
Carlos Rodrigues



More information about the Nut-upsdev mailing list