[Nut-upsdev] energizerups and bestups -> megatec?

Charles Lepple clepple at gmail.com
Wed Jul 11 03:56:05 UTC 2007

On 7/6/07, Carlos Rodrigues <carlos.efr at mail.telepac.pt> wrote:
> Hi!
> I don't know how I missed it before, but "bestups" seems to implement
> mostly the same protocol as megatec. Is anybody out there using this
> driver willing to try "megatec" to see if it works?

I finally found the serial cable for my Patriot Pro II (it's not
straight through), and I tried both bestups and megatec from 2.2.0
(essentially; it's branches/Testing from SVN).

Output from bestups:

battery.charge: 100.0
battery.voltage: 13.7
battery.voltage.nominal: 13.6
driver.name: bestups
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.2.0-1023:1024
driver.version.internal: 1.03
input.frequency: 60.0
input.voltage: 120.9
output.voltage: 120.9
ups.load: 000
ups.mfr: Best Power
ups.model: Patriot Pro II 400
ups.status: OL
ups.temperature: XX.X

Output from megatec:

battery.voltage: 13.70
driver.name: megatec
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS0
driver.version: 2.2.0-1023:1024
driver.version.internal: 1.5.4
input.frequency: 60.0
input.voltage: 119.9
input.voltage.fault: 119.9
input.voltage.maximum: 120.9
input.voltage.minimum: 119.9
output.voltage: 119.9
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 0.0
ups.mfr: unknown
ups.model: unknown
ups.serial: unknown
ups.status: OL BYPASS
ups.temperature: 0.0

Besides the info from the ID command, the BYPASS bit is inverted on
some Best Power products:


(Apparently this unit does not have a temperature sensor, as the
verbatim string returned is "XX.X". The load is usually non-zero, but
nothing is plugged in at the moment.)

- Charles Lepple

More information about the Nut-upsdev mailing list