Re: [Nut-upsuser] Powercom BNT-1500AP serial config

2013-05-02 Thread Charles Lepple
On May 1, 2013, at 5:45 PM, Bill Carlson wrote:

 Finally got around to hooking up my Powercom BNT-1500AP to nut. It's the old 
 serial interface.
 
 Connects okay and gets most information, but a couple of data are way off.
 
 Any config recommendations or upgrade recommended? I've played with config a 
 little, but no hits yet.

It looks like the BNT-other defaults were updated after 2.4.3, specifically to 
address the BNT-1500AP. I think you can just add the following BNT-other 
values to ups.conf:

   http://www.networkupstools.org/docs/man/powercom.html#_bnt_other

You might also need an explicit type = BNT-other (which I think is no longer 
needed in the latest version).

If not, we can try recompiling the powercom driver.

References:

https://github.com/networkupstools/nut/commits/master/drivers/powercom.c

https://github.com/networkupstools/nut/commit/ecaee22189ca4add854c7fc0d5aca1e4ee4bfe2d#drivers/powercom.c

-- 
Charles Lepple
clepple@gmail




___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] Powercom BNT-1500AP serial config

2013-05-02 Thread Bill Carlson

On 05/02/2013 07:31 AM, Charles Lepple wrote:

It looks like the BNT-other defaults were updated after 2.4.3, specifically to address 
the BNT-1500AP. I think you can just add the following BNT-other values to 
ups.conf:

http://www.networkupstools.org/docs/man/powercom.html#_bnt_other


Wow, that's weird, google search results totally missed this page.

Thanks for the pointer, exactly what I needed, was having an issue 
figuring out what the 5-tuple for batteryPercentage actually did.


I freely admit I missed 'man -k powercom', thanks for a man page!

Later,

--
Bill Carlson

Anything is possible, given Time and Money.


___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser