[Nut-upsdev] nut driver for SMS (brazil) UPS
uli1958 at hotmail.com
Fri Jan 25 12:21:44 UTC 2013
> Subject: Re: [Nut-upsdev] nut driver for SMS (brazil) UPS
> From: clepple at gmail.com
> Date: Thu, 24 Jan 2013 07:28:21 -0500
> CC: skrull at gmail.com; nut-upsdev at lists.alioth.debian.org
> To: uli1958 at hotmail.com
> On Jan 24, 2013, at 3:48 AM, Ulisses Guedes wrote:
> > Since input /output current is not supplied by SMS firmware, i guess that should better replace them by
> > voltage, power and frequency statistics (maximum and minimum), as vendor software does.
> I haven't had a chance to look over the entire patch in detail, but what we try to do with the drivers is keep the number of calculated values to a minimum, and only report what the UPS directly reports.
> If there are general values like state-of-charge of the battery which are not provided by the UPS, those are sometimes calculated, but they often require a lot of configuration parameters (so it is obvious to someone debugging their setup). If you do calculate a value, make sure you mention it in the driver documentation.
I will do that. Thanks.
Below is a copy of all parameters provided by upsc after driver fix.
> Thanks for posting your patch!
> Charles Lepple
> clepple at gmail
[root at torrinha drivers]# upsc sms
device.mfr: SMS Brasil
device.model: Monophase: :NET4+ 1.0
device.serial: Cypress HID->COM
driver.version: 2.6.5-Unversioned directory
ups.mfr: SMS Brasil
ups.model: Monophase: :NET4+ 1.0
ups.serial: Cypress HID->COM
ups.status: OL BOOST BYPASS CHRG
More information about the Nut-upsdev