Re: [Nut-upsuser] LiebertPSP

2012-05-09 Thread Charles Lepple
On May 9, 2012, at 11:27 AM, Arnaud Quette wrote: this thread has just popped again, but on the Debian side this time: http://bugs.debian.org/671444 what's exactly the situation of fixes WRT issues? the last mail I have on this thread is attached below... Attached is a patch corresponding

Re: [Nut-upsuser] LiebertPSP

2012-01-19 Thread Charles Lepple
On Jan 14, 2012, at 7:38 AM, Tim Gould wrote: Shutdown test was successful, including a slave client. They both shut down cleanly starting at 38% as configured below. Excellent! Only issue was that as it hit this threshold, it also reported Replace Battery (ups.status had RB) , and

Re: [Nut-upsuser] LiebertPSP

2012-01-14 Thread Tim Gould
Shutdown test was successful, including a slave client. They both shut down cleanly starting at 38% as configured below. Only issue was that as it hit this threshold, it also reported Replace Battery (ups.status had RB) , and upsmon[3265]: UPS shed@localhost battery needs to be replaced

Re: [Nut-upsuser] LiebertPSP

2011-11-20 Thread Charles Lepple
On Nov 19, 2011, at 5:23 PM, Tim Gould wrote: On 17/11/2011, at 15:24 , Charles Lepple wrote: LiebertPSP-scalefactor-004a.patch battery.charge: 100 battery.charge.low: 38 battery.charge.warning: 38 battery.type: PbAc battery.voltage: 27.30 battery.voltage.nominal: 24.00

Re: [Nut-upsuser] LiebertPSP

2011-11-19 Thread Tim Gould
On 17/11/2011, at 15:24 , Charles Lepple wrote: LiebertPSP-scalefactor-004a.patch battery.charge: 100 battery.charge.low: 38 battery.charge.warning: 38 battery.type: PbAc battery.voltage: 27.30 battery.voltage.nominal: 24.00 device.mfr: Emerson Network Power device.model: LiebertPSA

Re: [Nut-upsuser] LiebertPSP

2011-11-16 Thread Tim Gould
On 12/11/2011, at 0:48 , Charles Lepple wrote: LiebertPSP-scalefactor-003.patch Quite a lot better. Voltage perhaps needs tweaking? Thanks again. battery.charge.low: 38 battery.charge.warning: 38 battery.type: PbAc device.mfr: Emerson Network Power device.model: LiebertPSA device.serial:

Re: [Nut-upsuser] LiebertPSP

2011-11-16 Thread Charles Lepple
On Nov 16, 2011, at 2:58 PM, Tim Gould wrote: On 12/11/2011, at 0:48 , Charles Lepple wrote: LiebertPSP-scalefactor-003.patch Quite a lot better. Voltage perhaps needs tweaking? Thanks again. I think I got a few more variables, too. Can you let it run for about a minute? Right now,

Re: [Nut-upsuser] LiebertPSP

2011-11-16 Thread Charles Lepple
On Nov 16, 2011, at 10:18 PM, Charles Lepple wrote: On Nov 16, 2011, at 2:58 PM, Tim Gould wrote: On 12/11/2011, at 0:48 , Charles Lepple wrote: LiebertPSP-scalefactor-003.patch Quite a lot better. Voltage perhaps needs tweaking? Thanks again. I think I got a few more variables,

Re: [Nut-upsuser] LiebertPSP

2011-11-11 Thread Charles Lepple
On Nov 10, 2011, at 1:36 PM, Tim Gould wrote: Sorry for the extended delay replying. Some improvement: battery.charge.low: 38 battery.charge.warning: 38 battery.type: PbAc device.mfr: Emerson Network Power device.model: LiebertPSA device.serial: device.type: ups driver.name: usbhid-ups

Re: [Nut-upsuser] LiebertPSP

2011-11-10 Thread Tim Gould
On 10/10/2011, at 23:20 , Charles Lepple wrote: On Oct 1, 2011, at 6:28 PM, Charles Lepple wrote: On Sep 30, 2011, at 5:51 PM, Tim Gould wrote: ups.status: ALARM OB LB RB It appears that my trick for matching the 1e-7 didn't work because that structure only stores integers, not

Re: [Nut-upsuser] LiebertPSP

2011-10-10 Thread Charles Lepple
On Oct 1, 2011, at 6:28 PM, Charles Lepple wrote: On Sep 30, 2011, at 5:51 PM, Tim Gould wrote: ups.status: ALARM OB LB RB It appears that my trick for matching the 1e-7 didn't work because that structure only stores integers, not floating point numbers. Oops. Arnaud: since this scaling

Re: [Nut-upsuser] LiebertPSP

2011-10-03 Thread Arnaud Quette
2011/10/2 Charles Lepple clep...@gmail.com: On Sep 30, 2011, at 5:51 PM, Tim Gould wrote: ups.status: ALARM OB LB RB It appears that my trick for matching the 1e-7 didn't work because that structure only stores integers, not floating point numbers. Oops. Arnaud: since this scaling issue

Re: [Nut-upsuser] LiebertPSP

2011-10-01 Thread Charles Lepple
On Sep 30, 2011, at 5:51 PM, Tim Gould wrote: ups.status: ALARM OB LB RB It appears that my trick for matching the 1e-7 didn't work because that structure only stores integers, not floating point numbers. Oops. Arnaud: since this scaling issue has come up before, should we look at some

Re: [Nut-upsuser] LiebertPSP

2011-09-30 Thread Charles Lepple
Tim, one slight ambiguity here: the most sane values for UPS.Output.Voltage and UPS.Input.Voltage would be 242.0 and 242.5 (from the data below), but UPS.PowerSummary.Voltage and UPS.PowerSummary.ConfigVoltage could refer to the line voltage or battery voltage. 0.413040

Re: [Nut-upsuser] LiebertPSP

2011-09-30 Thread Tim Gould
fatal: https://github.com/clepple/nut/tree/git-LiebertPSP-scalefactor/info/refs not found: did you run git update-server-info on the server? Using the patch gets me: battery.charge.low: 38 battery.charge.warning: 38 battery.type: PbAc device.mfr: Emerson Network Power device.model: LiebertPSA

Re: [Nut-upsuser] LiebertPSP

2011-09-30 Thread Charles Lepple
On Sep 30, 2011, at 5:51 PM, Tim Gould wrote: fatal: https://github.com/clepple/nut/tree/git-LiebertPSP-scalefactor/info/refs not found: did you run git update-server-info on the server? That URL is for their HTML-based Git browser URL - I should have been clearer. I think you would run

Re: [Nut-upsuser] LiebertPSP

2011-09-28 Thread Charles Lepple
On Sep 27, 2011, at 3:45 PM, Tim Gould wrote: I'll quite happily experiment with this - however if you could give me a short-cut to the relevant part of the code that would be appreciated as no doubt you are way more familiar with it than me. This turned out to be a little more complicated

Re: [Nut-upsuser] LiebertPSP

2011-09-27 Thread Tim Gould
I'll quite happily experiment with this - however if you could give me a short-cut to the relevant part of the code that would be appreciated as no doubt you are way more familiar with it than me. Thanks, Tim. On 25/09/2011, at 7:29 , Charles Lepple wrote: On Sat, Sep 24, 2011 at 5:00 PM,

Re: [Nut-upsuser] LiebertPSP

2011-09-24 Thread Tim Gould
Apologies for resurrecting an old thread and likely poor formatting - I wasn't subscribed to the list at the time and have copied it out of the archives (http://lists.alioth.debian.org/pipermail/nut-upsuser/2010-July/006104.html). I've been unable to locate any further progress on this UPS

Re: [Nut-upsuser] LiebertPSP

2011-09-24 Thread Charles Lepple
On Sep 24, 2011, at 5:48 AM, Tim Gould wrote: Apologies for resurrecting an old thread and likely poor formatting - I wasn't subscribed to the list at the time and have copied it out of the archives (http://lists.alioth.debian.org/pipermail/nut-upsuser/2010-July/006104.html ). No problem.

Re: [Nut-upsuser] LiebertPSP

2011-09-24 Thread Tim Gould
-DDD output attached. On 25/09/2011, at 1:00 , Charles Lepple wrote: Tue Jul 13 19:54:03 UTC 2010 Citeren Michelle Wright michelle.wright op gmail.com: $ sudo /lib/nut/usbhid-ups -DDD -a maxfun Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Can you

Re: [Nut-upsuser] LiebertPSP

2011-09-24 Thread Charles Lepple
On Sat, Sep 24, 2011 at 5:00 PM, Tim Gould tgo...@reverb.com.au wrote: -DDD output attached. Given that the ConfigVoltage should not change for a given UPS, this should be useful: 0.413040 Report[get]: (3 bytes) = 1d 11 01 0.413075 Path: UPS.PowerSummary.Voltage, Type: Feature,

Re: [Nut-upsuser] LiebertPSP

2010-07-13 Thread Arjen de Korte
Citeren Michelle Wright michelle.wri...@gmail.com: $ sudo /lib/nut/usbhid-ups -DDD -a maxfun Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 [...]   0.341940     Report[get]: (3 bytes) = 1d 8b 00   0.341960     Path: UPS.PowerSummary.Voltage, Type: Feature,