I've resent this as I've had no reply, which I suspect/hope is because
the original post got lost amongst the flood of Asian spammers posting
to the list a few weeks back. Apologies if I'm wrong with this theory!
Stewart
-------- Original Message --------
Subject: APC Matrix 5000 UPS
Date: Fri, 18 Nov 2005 17:10:58 +0000
From: Stewart Ferguson <Stewart.Ferguson@ee.ed.ac.uk>
To: nut-upsuser@lists.alioth.debian.org
Hello,
I can get nut to work with this UPS using the apcsmart driver, but only
with limited functionality. It is only reporting the OL/OB status and
that's about it. None of the other useful variables such as run time,
load etc are reported and initiating battery tests does not work either.
Has anyone managed to get nut to report more than these variables with a
Matrix type UPS?
I see APC Matrix support is listed against the apcsmart driver, but I'm
not sure if this means it should give full access to all the bells and
whistles as it does with the Smart UPS types.
I have nut working with three of the Smart UPS types so I don't think
it's my setup, and I'm using the special black up APC cable, not the
grey one.
I know the Matrix UPS is capable of much more than this, as using the
APC software from a Windows box gives full functionality, but I need
something that runs under Linux.
Here's some debugging output if it is of any help:
upsc gives:
ambient.humidity: 019.2
ambient.humidity.alarm.maximum: NO,NO
ambient.humidity.alarm.minimum: NO,NO
ambient.temperature: 24.13
ambient.temperature.alarm.maximum: NO,NO
ambient.temperature.alarm.minimum: NO,NO
driver.name: apcsmart
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.2
driver.version.internal: 1.99.7
ups.contacts: F0
ups.firmware.aux: 4Kx
ups.mfr: APC
ups.status: OL
----------------------------------
Network UPS Tools (version 2.0.2) - APC Smart protocol driver
Driver version 1.99.7, command table version 2.0
debug level is '8'
Attempting firmware lookup
Attempting to contact older Smart-UPS version
APC - Attempting to find command set
APC - Parsing out command set
UPS supports variable [ambient.temperature.alarm.maximum]
poll_data: ambient.temperature.alarm.maximum
UPS supports variable [ambient.temperature.alarm.minimum]
poll_data: ambient.temperature.alarm.minimum
UPS supports variable [ambient.humidity]
poll_data: ambient.humidity
UPS supports variable [ups.contacts]
poll_data: ups.contacts
UPS supports variable [ambient.temperature]
poll_data: ambient.temperature
UPS supports variable [ups.firmware.aux]
poll_data: ups.firmware.aux
UPS supports variable [ambient.humidity.alarm.maximum]
poll_data: ambient.humidity.alarm.maximum
UPS supports variable [ambient.humidity.alarm.minimum]
poll_data: ambient.humidity.alarm.minimum
APC - UPS capabilities determined
Detected (null) [(null)] on /dev/ttyS0
update_status
update_info_all: starting
poll_data: ups.firmware.aux
poll_data: ups.contacts
poll_data: ambient.humidity
poll_data: ambient.humidity.alarm.maximum
poll_data: ambient.humidity.alarm.minimum
poll_data: ambient.temperature
poll_data: ambient.temperature.alarm.maximum
poll_data: ambient.temperature.alarm.minimum
update_info_all: done
dstate_init: sock /var/run/ups/apcsmart-ttyS0 open on fd 5
update_status
update_info_normal: starting
poll_data: ups.contacts
poll_data: ambient.humidity
poll_data: ambient.temperature
update_info_normal: done
Thanks,
Stewart