[Nut-upsdev] Fenton UPS driver -- unknown UPS report

Daniel Pittman daniel at rimspace.net
Sun Jan 21 03:48:51 CET 2007


"Carlos Rodrigues" <carlos.efr at mail.telepac.pt> writes:
> On 1/20/07, Daniel Pittman <daniel at rimspace.net> wrote:

[...]

>> The device has 2 x 12v batteries in series to provide 24 volt
>> internal operation.  NUT still sees the voltage as off by a factor of
>> ten, apparently.
>
> In this case it looks like a factor of ten, but on 36 and 96V UPSes it
> isn't. So those 2.4V aren't really 24V.

OK.  That seems strange to me but hey -- this is hardware.  It almost
always seems to do crazy strange things. ;)

[...]

> Could you try it with the attached patch applied? It should give
> better results, however, I would still need to know the voltage
> reported by the UPS when it switches to low battery (I'm assuming the
> UPS is at 100% in those tests, right?).

OK, with the patch applied and full batteries I get this trace from
starting the driver, and from a upsc query.  Low battery is apparently
2.0 volts, from this Q1 result at the switch over:

  Asking for UPS status ("Q1" command)...
  UPS status: 000.0 000.0 240.0 038 00.0 2.00 32.0 10000001
  Asking for UPS status ("Q1" command)...
  UPS status: 000.0 000.0 241.0 038 00.0 2.00 32.0 11000000

That was also at the 40 percent mark on the battery capacity guide,
though I didn't monitor how much further runtime the battery had.

One other issue: the 27.0 temperature reads 37.9 or 38.2 on the LCD
display.  They could be driven from different sources, I guess. 

At least the 38% load on the LCD agrees with the reports from the serial
port.  The input and output voltages also agree.

Regards,
        Daniel

Carlos Rodrigues (c) 2003-2006

debug level is '3'
Starting UPS detection process...
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
[... repeated 5 times, as expected ...]
0 out of 5 detection attempts failed (minimum failures: 2).
Asking for UPS information ("I" command)...
UPS information: M+H             SMK-800    2000 V6.2
Megatec protocol UPS detected [M+H SMK-800 2000 V6.2].
Asking for UPS power ratings ("F" command)...
UPS power ratings: 240.0 004 024.0 50.0
Asking for UPS status ("Q1" command)...
UPS status: 252.0 252.0 253.0 038 49.9 2.40 27.0 00000000
24.0V battery, interval [1.7V, 2.4V].
Done setting up the UPS.
Asking for UPS status ("Q1" command)...
UPS status: 252.0 252.0 252.0 038 49.9 2.40 27.0 00000000


battery.charge: 100.0
battery.voltage: 2.40
battery.voltage.nominal: 24.0
driver.name: megatec
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.5
driver.version.internal: 1.5
input.frequency: 50.0
input.voltage: 253.0
input.voltage.fault: 253.0
input.voltage.maximum: 253.0
input.voltage.minimum: 252.0
output.voltage: 252.0
output.voltage.nominal: 240.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 38.0
ups.mfr: M+H
ups.model: SMK-800 2000 V6.2
ups.serial: unknown
ups.status: OL
ups.temperature: 27.0


-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



More information about the Nut-upsdev mailing list