Upgraded UPS and now I dont get all info


Recommended Posts

Upgraded from an APC 1500 to an APC Smart UPS (SMT2200RM2U) and now I am not getting all info back from the UPS like normal power, ups load. I have it connected via USB (Same cable from old UPS), I have tried some of the other options like "Smart" and APCSmart but none communicate with the unit.

 

Am i missing something?

 

APC_zps7l8oypit.jpg

Link to comment

I was reading a while back that APC smart-ups is not fully compatible with apcupsd.  Something about APC using a proprietary protocol for the smart-ups series?  I think the guys at apcupsd were complaining about it.  Anyway you might want to try and research more about it.  I just vaguely remember reading about it.

Link to comment

<snipped from apcupsd manual>

 

MODBUS Driver

 

MODBUS is APC's replacement for the aging 'apcsmart' (aka UPS-Link) protocol. It is recommended for modern (ex: SMT series) Smart-UPS models. As of 3.14.11, apcupsd supports the MODBUS protocol over RS232 serial interfaces. As of 3.14.13, apcupsd supports the MODBUS protocol over USB.

 

Not all APC UPSes support MODBUS. New 2013 year Smart-UPS models are likely to support it out-of-the-box and firmware updates are available for some older models. APC/Schneider tech support is your best point of contact for determining if a certain model will support MODBUS. That said, APC knowledge base article FA164737 indicates MODBUS support is available for the majority of the SMC, SMT, and SMX model lines.

 

The required apcupsd.conf settings for MODBUS are straightforward.

 

For MODBUS serial RS232:

 

    ## apcupsd.conf v1.1 ##

    UPSCABLE smart

    UPSTYPE modbus

    DEVICE /dev/ttyS0

    LOCKFILE /var/lock

    UPSCLASS standalone

    UPSMODE disable

 

    The DEVICE setting identifies the serial port to which the UPS is connected. This can take the form of COM1, etc. on Windows or /dev/XXX on UNIX systems.

 

    You should use the APC-supplied serial cable (P/N 940-0625A) that ships with the UPS. Other 'smart' type cables may work, but only 940-0625A has been formally tested at this time.

 

For MODBUS USB:

 

    ## apcupsd.conf v1.1 ##

    UPSCABLE usb

    UPSTYPE modbus

    DEVICE

    LOCKFILE /var/lock

    UPSCLASS standalone

    UPSMODE disable

 

    The DEVICE setting can be left blank or, optionally, set to the serial number of the UPS. If DEVICE is blank, apcupsd will attach to the first APC UPS it finds, otherwise it will attach to the specific UPS identified by the serial number.

 

Note that most UPSes ship with MODBUS support disabled by default. You must use the UPS's front panel menu to enable MODBUS protocol support before apcupsd will be able to communicate with the UPS. You may need to enable the "Advanced" menu option before the MODBUS protocol option will be visible.

 

Link to comment

You can review unraid diagnostics and what not but if you don't have a smart-ups that supports MODBUS you're probably always going to get incomplete reporting/stats within apcupsd.  You should try and contact APC to see if they have a firmware patch, they have released updates for some of their older model ups's.  ....And then MODBUS has to be activated within the APC menu's on the unit itself (off by default see above post)

Link to comment

<snipped from apcupsd manual>

 

MODBUS Driver

 

MODBUS is APC's replacement for the aging 'apcsmart' (aka UPS-Link) protocol. It is recommended for modern (ex: SMT series) Smart-UPS models. As of 3.14.11, apcupsd supports the MODBUS protocol over RS232 serial interfaces. As of 3.14.13, apcupsd supports the MODBUS protocol over USB.

 

Not all APC UPSes support MODBUS. New 2013 year Smart-UPS models are likely to support it out-of-the-box and firmware updates are available for some older models. APC/Schneider tech support is your best point of contact for determining if a certain model will support MODBUS. That said, APC knowledge base article FA164737 indicates MODBUS support is available for the majority of the SMC, SMT, and SMX model lines.

 

The required apcupsd.conf settings for MODBUS are straightforward.

 

For MODBUS serial RS232:

 

    ## apcupsd.conf v1.1 ##

    UPSCABLE smart

    UPSTYPE modbus

    DEVICE /dev/ttyS0

    LOCKFILE /var/lock

    UPSCLASS standalone

    UPSMODE disable

 

    The DEVICE setting identifies the serial port to which the UPS is connected. This can take the form of COM1, etc. on Windows or /dev/XXX on UNIX systems.

 

    You should use the APC-supplied serial cable (P/N 940-0625A) that ships with the UPS. Other 'smart' type cables may work, but only 940-0625A has been formally tested at this time.

 

For MODBUS USB:

 

    ## apcupsd.conf v1.1 ##

    UPSCABLE usb

    UPSTYPE modbus

    DEVICE

    LOCKFILE /var/lock

    UPSCLASS standalone

    UPSMODE disable

 

    The DEVICE setting can be left blank or, optionally, set to the serial number of the UPS. If DEVICE is blank, apcupsd will attach to the first APC UPS it finds, otherwise it will attach to the specific UPS identified by the serial number.

 

Note that most UPSes ship with MODBUS support disabled by default. You must use the UPS's front panel menu to enable MODBUS protocol support before apcupsd will be able to communicate with the UPS. You may need to enable the "Advanced" menu option before the MODBUS protocol option will be visible.

 

No MODBUS option in advanced, call APC and was told no option outside of serial port :(. My MB does no have a serial port so I would have to use a USB to serial, has anyone got these to work with Unraid and if so what one and how?

Link to comment

They sell pcie rs232 cards, i've ordered one so I can update the firmware on my SMT1500.  I have a SMC1500 also.  I will be testing both of these smart models within unraid soon.  I normally run a APC Back-UPS RS 1500 with unraid and it obviously reports fine.

Link to comment

They sell pcie rs232 cards, i've ordered one so I can update the firmware on my SMT1500.  I have a SMC1500 also.  I will be testing both of these smart models within unraid soon.  I normally run a APC Back-UPS RS 1500 with unraid and it obviously reports fine.

 

Let me know if it works and if some what you used.

Link to comment

They sell pcie rs232 cards, i've ordered one so I can update the firmware on my SMT1500.  I have a SMC1500 also.  I will be testing both of these smart models within unraid soon.  I normally run a APC Back-UPS RS 1500 with unraid and it obviously reports fine.

 

Let me know if it works and if some what you used.

 

sure np.

Link to comment

I have an official APC serial cable (AP940-0625A)

My supermicro board has an integrated serial port and I can't even get it to recognize my SMC1500 within unraid.  I looked in bios and port is definitely active.  Go to unraid and try all the different apcupsd settings including specify custom cable.  No dice.....  USB cable works fine but i'm still missing a bunch of reporting, can't get modbus to work over USB.

 

I will try with my SMT1500 as soon as I can get the firmware updated.

Link to comment

If I'm reading this right, if we got a new install of the apcupsd 3.14.13 for unRaid, would that fix our problem?  It looks like it supports Modbus over USB now.

http://www.apcupsd.org/

 

The current version in unRaid is 3.14.13.

 

Dan, was it updated recently to account for these problems?  I'd been posting about my UPS in another thread only a couple of days or so before this issue...

Link to comment

If I'm reading this right, if we got a new install of the apcupsd 3.14.13 for unRaid, would that fix our problem?  It looks like it supports Modbus over USB now.

http://www.apcupsd.org/

 

The current version in unRaid is 3.14.13.

 

Dan, was it updated recently to account for these problems?  I'd been posting about my UPS in another thread only a couple of days or so before this issue...

 

As far as I know it has been that version since being included in V6 during beta testing.

 

For those of you having issues, go to a terminal session and type '/sbin/apcaccess > /boot/apcstatus.txt' and post the the apcstatus.txt file so I can look at it.  This will tell us if the issue is with the apcupsd not giving the missing parameters, or with unraid having an issue with processing the data.  Be sure to tell me which parameters you seem to be missing.

Link to comment

APC      : 001,034,0836
DATE     : 2016-01-11 00:02:59 +0000  
HOSTNAME : Server
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : Server
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:46:11 +0000  
MODEL    : Back-UPS ES 700G 
STATUS   : ONLINE 
LINEV    : 244.0 Volts
LOADPCT  : 0.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 42.8 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
SENSE    : High
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.6 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO : 5B1041T28900  
BATTDATE : 2010-10-08
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 871.O2 .I USB FW:O2
END APC  : 2016-01-11 00:03:26 +0000  

 

Weird thing is here's some screenshots I took only 8 days ago....

Link to comment

APC      : 001,034,0836
DATE     : 2016-01-11 00:02:59 +0000  
HOSTNAME : Server
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : Server
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:46:11 +0000  
MODEL    : Back-UPS ES 700G 
STATUS   : ONLINE 
LINEV    : 244.0 Volts
LOADPCT  : 0.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 42.8 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
SENSE    : High
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.6 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO : 5B1041T28900  
BATTDATE : 2010-10-08
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 871.O2 .I USB FW:O2
END APC  : 2016-01-11 00:03:26 +0000  

 

Weird thing is here's some screenshots I took only 8 days ago....

 

Your ups status is missing the nominal power setting so unraid cannot calculate the load.  It should look like this:

NOMBATTV : 24.0 Volts
NOMPOWER : 865 Watts

 

This is from my Back-UPS BX1500G.

 

It is a UPS firmware issue.  The UPS is not reporting the nominal power.  It's very curious though that it reports the time left on the battery so it knows the nominal power.

 

I want to think about this for a bit, but I think the answer is for bonienl to add another parameter setting in the dynamix apcupsd plugin built into unraid for nominal power that would be used if the UPS does not provide a value.  That way the load level could be determined and displayed.

Link to comment

Here is mine, I am missing Normal Power, UPS Load, and UPS Load %

 

APC      : 001,027,0663
DATE     : 2016-01-10 19:23:19 -0500  
HOSTNAME : UnRaid
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : UnRaid
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:38:59 -0500  
MODEL    : Smart-UPS 2200 
STATUS   : ONLINE 
BCHARGE  : 100.0 Percent
TIMELEFT : 48.0 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
ALARMDEL : No alarm
BATTV    : 54.5 Volts
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
MANDATE  : 2013-12-23
SERIALNO : AS1352140647  
NOMBATTV : 24.0 Volts
FIRMWARE : UPS 08.8 / ID=18
END APC  : 2016-01-10 19:24:05 -0500 

Link to comment

APC      : 001,034,0836
DATE     : 2016-01-11 00:02:59 +0000  
HOSTNAME : Server
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : Server
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:46:11 +0000  
MODEL    : Back-UPS ES 700G 
STATUS   : ONLINE 
LINEV    : 244.0 Volts
LOADPCT  : 0.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 42.8 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
SENSE    : High
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.6 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO : 5B1041T28900  
BATTDATE : 2010-10-08
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 871.O2 .I USB FW:O2
END APC  : 2016-01-11 00:03:26 +0000  

 

Weird thing is here's some screenshots I took only 8 days ago....

 

Your ups status is missing the nominal power setting so unraid cannot calculate the load.  It should look like this:

NOMBATTV : 24.0 Volts
NOMPOWER : 865 Watts

 

This is from my Back-UPS BX1500G.

 

It is a UPS firmware issue.  The UPS is not reporting the nominal power.  It's very curious though that it reports the time left on the battery so it knows the nominal power.

 

I want to think about this for a bit, but I think the answer is for bonienl to add another parameter setting in the dynamix apcupsd plugin built into unraid for nominal power that would be used if the UPS does not provide a value.  That way the load level could be determined and displayed.

 

What confuses me is that in my screenshots I was also missing nominal power, but it was calculating load percentage....

Link to comment

Here is mine, I am missing Normal Power, UPS Load, and UPS Load %

 

APC      : 001,027,0663
DATE     : 2016-01-10 19:23:19 -0500  
HOSTNAME : UnRaid
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : UnRaid
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:38:59 -0500  
MODEL    : Smart-UPS 2200 
STATUS   : ONLINE 
BCHARGE  : 100.0 Percent
TIMELEFT : 48.0 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
ALARMDEL : No alarm
BATTV    : 54.5 Volts
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
MANDATE  : 2013-12-23
SERIALNO : AS1352140647  
NOMBATTV : 24.0 Volts
FIRMWARE : UPS 08.8 / ID=18
END APC  : 2016-01-10 19:24:05 -0500 

 

The UPS is not reporting enough information for unraid to determine the missing values.  The load % is missing.  There isn't much that can be done to address this except another UPS.

Link to comment

APC      : 001,034,0836
DATE     : 2016-01-11 00:02:59 +0000  
HOSTNAME : Server
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : Server
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:46:11 +0000  
MODEL    : Back-UPS ES 700G 
STATUS   : ONLINE 
LINEV    : 244.0 Volts
LOADPCT  : 0.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 42.8 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
SENSE    : High
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.6 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO : 5B1041T28900  
BATTDATE : 2010-10-08
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 871.O2 .I USB FW:O2
END APC  : 2016-01-11 00:03:26 +0000  

 

Weird thing is here's some screenshots I took only 8 days ago....

 

Your ups status is missing the nominal power setting so unraid cannot calculate the load.  It should look like this:

NOMBATTV : 24.0 Volts
NOMPOWER : 865 Watts

 

This is from my Back-UPS BX1500G.

 

It is a UPS firmware issue.  The UPS is not reporting the nominal power.  It's very curious though that it reports the time left on the battery so it knows the nominal power.

 

I want to think about this for a bit, but I think the answer is for bonienl to add another parameter setting in the dynamix apcupsd plugin built into unraid for nominal power that would be used if the UPS does not provide a value.  That way the load level could be determined and displayed.

 

What confuses me is that in my screenshots I was also missing nominal power, but it was calculating load percentage....

 

The load % comes from the UPS:

LOADPCT   34.0 Percent

 

This is shown on your screen shot of the UPS Details.  It is not calculated.

Link to comment

APC      : 001,034,0836
DATE     : 2016-01-11 00:02:59 +0000  
HOSTNAME : Server
VERSION  : 3.14.13 (02 February 2015) slackware
UPSNAME  : Server
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2016-01-10 11:46:11 +0000  
MODEL    : Back-UPS ES 700G 
STATUS   : ONLINE 
LINEV    : 244.0 Volts
LOADPCT  : 0.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 42.8 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
SENSE    : High
LOTRANS  : 180.0 Volts
HITRANS  : 266.0 Volts
ALARMDEL : 30 Seconds
BATTV    : 13.6 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000008
SERIALNO : 5B1041T28900  
BATTDATE : 2010-10-08
NOMINV   : 230 Volts
NOMBATTV : 12.0 Volts
FIRMWARE : 871.O2 .I USB FW:O2
END APC  : 2016-01-11 00:03:26 +0000  

 

Weird thing is here's some screenshots I took only 8 days ago....

 

Your ups status is missing the nominal power setting so unraid cannot calculate the load.  It should look like this:

NOMBATTV : 24.0 Volts
NOMPOWER : 865 Watts

 

This is from my Back-UPS BX1500G.

 

It is a UPS firmware issue.  The UPS is not reporting the nominal power.  It's very curious though that it reports the time left on the battery so it knows the nominal power.

 

I want to think about this for a bit, but I think the answer is for bonienl to add another parameter setting in the dynamix apcupsd plugin built into unraid for nominal power that would be used if the UPS does not provide a value.  That way the load level could be determined and displayed.

 

What confuses me is that in my screenshots I was also missing nominal power, but it was calculating load percentage....

 

The load % comes from the UPS:

LOADPCT   34.0 Percent

 

This is shown on your screen shot of the UPS Details.  It is not calculated.

It's no longer being shown which was what's confused me...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.