SavellM Posted September 16, 2018 Share Posted September 16, 2018 Hey guys, I just got a APC SMC1500I-2U Smart-UPS C 1500VA. Its plugged into my unRAID box vis USB. I have details i.e Battery Charge and Runtime, but its missing, Nominal Power, UPS Load & UPS Load % I've seen some screenshots where its got that info, any idea how I can get it? Also UPS Settings is set to USB, see screenshots. I guess I need to use APCSmart but not sure what to put in the Device box. Any help would be appreciated. loki-diagnostics-20180917-0005.zip Quote Link to comment
Frank1940 Posted September 17, 2018 Share Posted September 17, 2018 (edited) Since not one else has jumped in, I will try to get you started. First thing, is how old is this UPS. (APC model numbers are virtually useless as when I google using one, I always get several obviously different units from a physical package standpoint!) I seem to recall that both older and newer APC UPS's have separate issues. Not all models, but enough to make life really difficult in solving problems. If you look in the upper right hand corner of the screen capture, you will find a link to the Online Manual. Be sure to use it. A quick glance at it showed that there are two settings that you could try in the "UPS type" 'dropdown' box--- 'APCsmart' and 'ModBus' . The 'ModBus' one is for some of the newer units. Be sure to click the "Help' on in the GUI as it will provide a lot of help in what each setting does!!! Remember that Google is often your best friend in these types of problems. If you use unraid as one of the terms in the search bar, you will find that it will do a much better job of searching this forum than the built-in search engine. Edited September 17, 2018 by Frank1940 1 Quote Link to comment
SavellM Posted September 17, 2018 Author Share Posted September 17, 2018 Thanks @Frank1940 I did have a read of the online manual and got lost. This APC is brand new, but I cant say manufacture date. I cant figure out what to put in Devices to test out ModBus or APCSmart. Quote Link to comment
Frank1940 Posted September 17, 2018 Share Posted September 17, 2018 (edited) 55 minutes ago, SavellM said: I cant figure out what to put in Devices to test out ModBus or APCSmart. First read the General Configuration Directives section of the manual found here: https://manpages.debian.org/testing/apcupsd/apcupsd.conf.5.en.html (Found with our friend Google) You say the UPS is brand new, I would think that it would be the ModBus one... If that does not work, I am not real sure to go next but looking at your Diagnostic file, I found this in the lsusb.txt file Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 04f2:1181 Chicony Electronics Co., Ltd Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 051d:0003 American Power Conversion UPS Bus 001 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Note line that has UPS in it. it indicates that Device 3 is assigned to the UPS device. That is where I would start. You can't really break anything by a trial-and-error approach... Edited September 17, 2018 by Frank1940 Quote Link to comment
Ashe Posted September 18, 2018 Share Posted September 18, 2018 Here’s my APCSmart settings if that’s any help. I am strangely not getting the nominal load at the moment although normally I do Quote Link to comment
BradJ Posted September 18, 2018 Share Posted September 18, 2018 I have the same issue with my APC SMC1000-2UC. I'm using the USB protocol, ModBus doesn't seem to work. Quote Link to comment
hocky Posted September 18, 2018 Share Posted September 18, 2018 Hi, i´m missing "nominal power" und "ups load" as well, although it seems as if all the details are available (see screenshots). It´s a >6 year old 1400 Rackmount ups connected via ethernet. Quote Link to comment
bonienl Posted September 18, 2018 Share Posted September 18, 2018 You are missing the key "NOMPOWER". Quote Link to comment
hocky Posted September 18, 2018 Share Posted September 18, 2018 2 minutes ago, bonienl said: You are missing the key "NOMPOWER". Oh, true. That could be the reason why it´s not displayed Is it sth that can be fixed or is it just the way it is? However, the load percentage is available but also not displayed in the UNRAID status. Quote Link to comment
bonienl Posted September 18, 2018 Share Posted September 18, 2018 1 minute ago, hocky said: Is it sth that can be fixed or is it just the way it is? If the key is not present, there is no way to show its value unless there is an equivalent key, which I don't know. 2 minutes ago, hocky said: However, the load percentage is available but also not displayed in the UNRAID status. The load is calculated based on the nominal power (to convert percentage to Wattage), which isn't present. Quote Link to comment
hocky Posted September 18, 2018 Share Posted September 18, 2018 3 minutes ago, bonienl said: The load is calculated based on the nominal power (to convert percentage to Wattage), which isn't present. Ups, sorry. I was a bit confused (didn´t have my second coffee yet). Load percentage is displayed, UPS load is missing. 6 minutes ago, bonienl said: If the key is not present, there is no way to show its value unless there is an equivalent key, which I don't know. OK, not a problem. I don´t need it in UNRAID anyway. Quote Link to comment
Frank1940 Posted September 18, 2018 Share Posted September 18, 2018 Original Poster, @SavellM, did you get your problem solved yet? If not, be sure to capture a screen shot of the UPS Details area of the UPS Settings page. Quote Link to comment
SavellM Posted September 20, 2018 Author Share Posted September 20, 2018 Hey @frank1940 Thanks so much for following up, as of yet, no dice! Attached are the UPS details, hopefully this can help me get squared away. Any other advice? Quote Link to comment
Frank1940 Posted September 20, 2018 Share Posted September 20, 2018 Look at my UPS Details below and compare to yours: You are missing the NOMPOWER and LOADPCT parameters. Your UPS is not providing this information back to the apcuspd plugin. These two parameters are used to calculate the UPS Load value. See this post from @bonienl in this thread. You can try to play around with the various UPS types and see if one of them will provide these two variables. Beyond that you are probably out-of-luck... Quote Link to comment
SavellM Posted September 20, 2018 Author Share Posted September 20, 2018 Thats the thing, right now I'm just using the usb settings. APCSmart and ModBus dont work, and just show UPS as disconnected. WHICH is probably right as I still cant figure out what to put in devices when selecting APC or Modbus... This I still need to figure out and am super confused by it lol. Quote Link to comment
Frank1940 Posted September 20, 2018 Share Posted September 20, 2018 If (for what ever reason), your UPS will not deliver these parameters to apcuspd, there is nothing display as two of the display items are the NOMPOWER and LOADPCT parameters and the third one is calculated by the product these two. If you look in the Apps page of the GUI and search for NUT plugin, it does basically the same thing as apcuspd, and possibly, it might be able to do what apcuspd can not do. If your UPS does not generate those parameters, then nothing is going to generate the values out of thin air. Quote Link to comment
SavellM Posted September 20, 2018 Author Share Posted September 20, 2018 NUT is the same. Missing those 3 values And I follow now, oh well is what it is, as long as unRAID still shuts down with the details it has, im happy Quote Link to comment
cluengas Posted October 22, 2018 Share Posted October 22, 2018 (edited) hi, I have the same problem many of us are having with apcusbd. I'm using an APC Smart-UPS X 2200VA to protect my Unraid server, HTPC, TV, network gear, etc. and, of course, to gracefully shut down my Unraid server during a power outage. Using the included PowerChute Business Edition software on my Windows 10 VM (in UR), I get full functionality, including "Nominal Power", "UPS Load", and "UPS Load %". So I know the UPS is sending out that info via the USB interface. When the APC Smart-UPS is connected to the Unraid server and managed with Settings/UPS Settings it performs a clean Unraid server shutdown and a couple of minutes later shuts itself off, as expected. So it is performing its main task. Some would say that the lack of "Nominal Power", "UPS Load", and "UPS Load %" is purely cosmetic but I think they provide important information and it would be nice to see them working again (or have them removed from the menu ) Thanks to the contributors of this forum! Carlos Edited October 22, 2018 by cluengas typo Quote Link to comment
Frank1940 Posted October 22, 2018 Share Posted October 22, 2018 1 hour ago, cluengas said: When the APC Smart-UPS is connected to the Unraid server and managed with Settings/UPS Settings it performs a clean Unraid server shutdown and a couple of minutes later shuts itself off, as expected. So it is performing its main task. I observed (in your settings capture) that the version of apcupsd is well over two years old. I just checked and that is the most recent version available! (I suspect that development has ceased...) You might want to try the NUT plugin (available through the Apps plugin) and/or generate a thread in the Staple Release section of Bug Reports sub-forum stating that apparently the newer APC models are having issues with this old apcupsd software. If NUT works, you might suggest that it be used instead... Quote Link to comment
cluengas Posted October 23, 2018 Share Posted October 23, 2018 Thanks for the prompt reply. I should have mentioned that I had already tried NUT with similar results. That is, it shuts down Unraid and the UPS but it fails to display any values for "Nominal Power", "UPS Load", or "UPS Load %". So I uninstalled the NUT plugin and went back to the builtin UPS app. Another interesting point is that I can configure the "UPS cable:" settings to UPS, Simple, Smart, and even Ether and the UPS status goes back to "Running/Online". Only selecting Custom and leaving the cable type blank results in Status: "Stopped" Quote Link to comment
SavellM Posted October 23, 2018 Author Share Posted October 23, 2018 @cluengas If you open a new post or something let me know and I'll add my 2 cents there. Quote Link to comment
Marshalleq Posted February 23, 2019 Share Posted February 23, 2019 I have an APC1500 tower model, which is exhibiting same symptoms. It works on USB mode minus the aforementioned fields. I 'assume' by poking around that if lsusb reports my device like this: Bus 005 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply then the device string is like this: /dev/usb/hiddev2 But don't know the format in Unraid yet (just had a quick poke for anything in /dev that looks like usb). However with this, no other settings than USB work. Interestingly something I did has broken the option that worked which looks like it will require a restart to resolve which might have been throwing off my results. **Can anyone chime in at least with 'yes, that's where Unraid lists it's usb devices'?** Quote Link to comment
Aegisnir Posted April 10, 2019 Share Posted April 10, 2019 (edited) So I had the same issue but the solution made me feel like an absolute idiot....spent a good 20-30 minutes trying to figure this out but eventually got it: 1. Enable advanced config options on your UPS via the on screen display 2. Open configuration options and scroll down until you find ModBus 3. Change ModBus to Enabled. It is disabled by default on all APC UPS units. 4. In unRAID UPS Setting menu, set the "UPS Cable" to USB and set "UPS Type" to ModBus. No additional settings like /dev/tty** are required. It may take a minute or two for the info to load but it will. ***Make sure you use the USB-A to USB-B cable to connect your UPS to the server, not the RJ-45 to USB-A. ModBus does not seem to work with the RJ-45 port on the UPS*** Edited April 10, 2019 by Aegisnir 7 5 1 Quote Link to comment
Vr2Io Posted April 11, 2019 Share Posted April 11, 2019 (edited) 16 hours ago, Aegisnir said: So I had the same issue but the solution made me feel like an absolute idiot....spent a good 20-30 minutes trying to figure this out but eventually got it: 1. Enable advanced config options on your UPS via the on screen display 2. Open configuration options and scroll down until you find ModBus 3. Change ModBus to Enabled. It is disabled by default on all APC UPS units. 4. In unRAID UPS Setting menu, set the "UPS Cable" to USB and set "UPS Type" to ModBus. No additional settings like /dev/tty** are required. It may take a minute or two for the info to load but it will. ***Make sure you use the USB-A to USB-B cable to connect your UPS to the server, not the RJ-45 to USB-A. ModBus does not seem to work with the RJ-45 port on the UPS*** Interesting and useful, my age APC not same type ( no any local display and RJ45-USB only ) Edited April 11, 2019 by Benson Quote Link to comment
allanp81 Posted April 29, 2019 Share Posted April 29, 2019 I'm having this same issue and haven't changed anything other than upgrade Unraid. It used to show me load usage etc. but now only shows me battery charge level and estimated time remaining. I'm using an APC Back-UPS ES 700G Quote Link to comment
Recommended Posts
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.