<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 08/08/2013 10:45 PM, Tom Lane wrote:<br>
    </div>
    <blockquote cite="mid:7499.1375994742@sss.pgh.pa.us" type="cite">
      <pre wrap="">=?ISO-8859-1?Q?Alf_H=F8gemark?= <a class="moz-txt-link-rfc2396E" href="mailto:alf@i100.no"><alf@i100.no></a> writes:
</pre>
      <blockquote type="cite">
        <pre wrap="">I am working on improving the bcmxcp driver, to add more data reported 
from the driver, and also add support for sending more commands to the ups.
The code changes are currently not part of any release, but they are in 
github, and some more are on the way.
Would you be able to do some testing on your HP R3000 XR, with this 
updated driver ?
I have only been able to test it on Eaton 5110 as of now. And your UPS 
seems a lot more feature rich.
</pre>
      </blockquote>
      <pre wrap="">
Cool.  Have you managed to get the 5110 to report charge/runtime data,
or is there just no hope in that direction?

                        regards, tom lane
</pre>
    </blockquote>
    Hi<br>
    <br>
    I've added all the specified meters from the bcmxcp spec, and the
    driver now checks using meter map and command map received from the
    actual UPS, to see what the UPS supports.<br>
    <br>
    Here is the output from upsc using the modified driver, for 5110, so
    I do not think it will possible to get more data from this model :<br>
    upsc eaton<br>
    ambient.temperature.high: 64<br>
    ambient.temperature.low: 166<br>
    battery.charge.low: 11<br>
    battery.voltage:  13.5<br>
    battery.voltage.low: 10<br>
    device.mfr: Eaton<br>
    device.model: POWERWARE UPS    500i<br>
    device.part: 103004261-5591  <br>
    device.type: ups<br>
    driver.name: bcmxcp_usb<br>
    driver.parameter.pollinterval: 2<br>
    driver.parameter.port: auto<br>
    driver.parameter.shutdown_delay: 50<br>
    driver.version: 2.6.5-170-g3f72709<br>
    driver.version.internal: 0.28<br>
    input.frequency:  50.1<br>
    input.frequency.high: 55<br>
    input.frequency.low: 45<br>
    input.frequency.nominal: 50<br>
    input.quality: 0<br>
    input.transfer.boost.high: 207<br>
    input.transfer.high: 275<br>
    input.transfer.low: 178<br>
    input.transfer.trim.low: 250<br>
    input.voltage: 242<br>
    input.voltage.nominal: 230<br>
    output.current:   0.2<br>
    output.current.nominal:   1.3<br>
    output.frequency:  50.1<br>
    output.frequency.nominal: 50<br>
    output.phases: 1<br>
    output.voltage: 240<br>
    output.voltage.nominal: 230<br>
    ups.beeper.status: enabled<br>
    ups.description: Line-Interactive UPS, Single Phase<br>
    ups.firmware: Cont:00.50 Inve:01.50<br>
    ups.load: 20<br>
    ups.mfr: Eaton<br>
    ups.model: POWERWARE UPS    500i<br>
    ups.power.nominal: 500<br>
    ups.status: OL<br>
    ups.test.result: Done and passed<br>
    <br>
    <br>
    <br>
    You can see the changes merged into the bcmxcp branch at :<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://github.com/networkupstools/nut/tree/bcmxcp">https://github.com/networkupstools/nut/tree/bcmxcp</a><br>
    And some more details about what meters have been added :<br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://github.com/networkupstools/nut/commits/bcmxcp">https://github.com/networkupstools/nut/commits/bcmxcp</a><br>
    <br>
  </body>
</html>