On 08/07/2013 02:02 PM, Bendtsen, Jon wrote:> On 07/08/2013, at 13.40, Jan Phillip Greimann <jg at softjury.de> wrote: > >> Hi there, >> >> OS: (L)ubuntu 12.04 precise LTS >> Nut: 2.6.3-1ubuntu1.1 >> Installation Method: Package (apt-get install nut) >> Hardware: HP R1500 G3 INT > > FYI: > I have a different UPS, a HP R3000 XR and I monitor it using serial and the bcmxcp driver. > > [R3000XR] > port = /dev/ttyUSB0 > driver = bcmxcp > > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuserHi 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. Regards Alf Hogemark
On 08/08/2013, at 18.58, Alf H?gemark <alf at i100.no> wrote:> On 08/07/2013 02:02 PM, Bendtsen, Jon wrote: >> On 07/08/2013, at 13.40, Jan Phillip Greimann <jg at softjury.de> wrote: >> >>> Hi there, >>> >>> OS: (L)ubuntu 12.04 precise LTS >>> Nut: 2.6.3-1ubuntu1.1 >>> Installation Method: Package (apt-get install nut) >>> Hardware: HP R1500 G3 INT >> >> FYI: >> I have a different UPS, a HP R3000 XR and I monitor it using serial and the bcmxcp driver. >> >> [R3000XR] >> port = /dev/ttyUSB0 >> driver = bcmxcp >> >> >> >> >> _______________________________________________ >> Nut-upsuser mailing list >> Nut-upsuser at lists.alioth.debian.org >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser > Hi > 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.What do I risk? JonB
=?ISO-8859-1?Q?Alf_H=F8gemark?= <alf at i100.no> writes:> 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.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
On 08/08/2013 10:45 PM, Tom Lane wrote:> =?ISO-8859-1?Q?Alf_H=F8gemark?= <alf at i100.no> writes: >> 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. > Cool. Have you managed to get the 5110 to report charge/runtime data, > or is there just no hope in that direction? > > regards, tom laneHi 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. 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 : upsc eaton ambient.temperature.high: 64 ambient.temperature.low: 166 battery.charge.low: 11 battery.voltage: 13.5 battery.voltage.low: 10 device.mfr: Eaton device.model: POWERWARE UPS 500i device.part: 103004261-5591 device.type: ups driver.name: bcmxcp_usb driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.shutdown_delay: 50 driver.version: 2.6.5-170-g3f72709 driver.version.internal: 0.28 input.frequency: 50.1 input.frequency.high: 55 input.frequency.low: 45 input.frequency.nominal: 50 input.quality: 0 input.transfer.boost.high: 207 input.transfer.high: 275 input.transfer.low: 178 input.transfer.trim.low: 250 input.voltage: 242 input.voltage.nominal: 230 output.current: 0.2 output.current.nominal: 1.3 output.frequency: 50.1 output.frequency.nominal: 50 output.phases: 1 output.voltage: 240 output.voltage.nominal: 230 ups.beeper.status: enabled ups.description: Line-Interactive UPS, Single Phase ups.firmware: Cont:00.50 Inve:01.50 ups.load: 20 ups.mfr: Eaton ups.model: POWERWARE UPS 500i ups.power.nominal: 500 ups.status: OL ups.test.result: Done and passed You can see the changes merged into the bcmxcp branch at : https://github.com/networkupstools/nut/tree/bcmxcp And some more details about what meters have been added : https://github.com/networkupstools/nut/commits/bcmxcp -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20130808/d57eaa0d/attachment.html>
On 08/08/2013 08:20 PM, Bendtsen, Jon wrote:> On 08/08/2013, at 18.58, Alf H?gemark <alf at i100.no> wrote: > >> On 08/07/2013 02:02 PM, Bendtsen, Jon wrote: >>> On 07/08/2013, at 13.40, Jan Phillip Greimann <jg at softjury.de> wrote: >>> >>>> Hi there, >>>> >>>> OS: (L)ubuntu 12.04 precise LTS >>>> Nut: 2.6.3-1ubuntu1.1 >>>> Installation Method: Package (apt-get install nut) >>>> Hardware: HP R1500 G3 INT >>> FYI: >>> I have a different UPS, a HP R3000 XR and I monitor it using serial and the bcmxcp driver. >>> >>> [R3000XR] >>> port = /dev/ttyUSB0 >>> driver = bcmxcp >>> >>> >>> >>> >>> _______________________________________________ >>> Nut-upsuser mailing list >>> Nut-upsuser at lists.alioth.debian.org >>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser >> Hi >> 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. > What do I risk? > > > JonB > >For a minimal test, you need to stop the nut processes, and then just start the updated driver in debug mode, and supply the output from debug, and then you can start your nut processes again. The updated driver could be placed at /tmp/nut/ for example, so you are sure it will not overwrite any of your existing files. The driver just needs to run in debug mode for some seconds, to query the capabilities of the UPS, and in that timeframe no other nut processes are running, so you do not risk the system being shut down. Are you able to compile from source code yourself ? I will try to document tomorrow how to build and deploy the driver to a /tmp/nut directory, and test it briefly, without affecting any files in existing installation. I could also possibly build the driver for you. I need to investigate a bit how the other developers normally do this. If you are running nut 2.6.5 already, it should also be possible to do some more extensible testing by temporarily replacing your existing driver with the updated driver, but that involves more risk. Is your UPS a 3 phase or 1 phase model ? Regards Alf Hogemark