Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Add power usage to UPS integration

Featured Replies

Hi,

It would be great to see how much power the Unraid server has consumed monthly/weekly/daily, the information can probably quiet easily be extracted from the APC webintegration. The information could then be parsed to the dashboard.

  • 2 months later...
On 8/27/2023 at 8:00 AM, Fifthy said:

Hi,

It would be great to see how much power the Unraid server has consumed monthly/weekly/daily, the information can probably quiet easily be extracted from the APC webintegration. The information could then be parsed to the dashboard.

Can you provide the output of /sbin/apcaccess

  • Author
5 hours ago, SimonF said:

Can you provide the output of /sbin/apcaccess

 

Hi Simon,

Yes i can but when i open it with cat or nano it's basicly just jibberish with some log info, do i need to use another application to get it rightly formated?

5 minutes ago, Fifthy said:

/sbin/apcaccess

^ This is the command to run in the terminal rather than cat or nano

  • Author
6 minutes ago, SimonF said:

^ This is the command to run in the terminal rather than cat or nano

 

Ofcourse, this is the output:

 

Quote

APC      : 001,044,1034
DATE     : 2023-11-26 14:10:57 +0100  
HOSTNAME : Server
VERSION  : 3.14.14 (31 May 2016) slackware
UPSNAME  : APCUPS
CABLE    : Ethernet Link
DRIVER   : SNMP UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2023-11-26 04:40:03 +0100  
MODEL    : Smart-UPS 1500
STATUS   : ONLINE 
LINEV    : 233.0 Volts
LOADPCT  : 8.0 Percent
BCHARGE  : 100.0 Percent
TIMELEFT : 129.0 Minutes
MBATTCHG : 10 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 0 Seconds
MAXLINEV : 234.0 Volts
MINLINEV : 233.0 Volts
OUTPUTV  : 233.0 Volts
SENSE    : High
DWAKE    : 1000 Seconds
DSHUTD   : 120 Seconds
DLOWBATT : 5 Minutes
LOTRANS  : 207.0 Volts
HITRANS  : 253.0 Volts
ITEMP    : 31.0 C
ALARMDEL : No alarm
BATTV    : 27.0 Volts
LINEFREQ : 49.0 Hz
LASTXFER : Automatic or explicit self test
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
SELFTEST : OK
STESTI   : OFF
STATFLAG : 0x05000008
MANDATE  : 08/08/2015
SERIALNO : 3S1532X01316
BATTDATE : 03/15/2020
NOMOUTV  : 230 Volts
FIRMWARE : UPS 09.3 (ID18) 
END APC  : 2023-11-26 14:11:49 +0100  

 

32 minutes ago, Fifthy said:

 

Ofcourse, this is the output:

 

 

Would you be able to show output from the web interface?

  • Author
3 hours ago, SimonF said:

Would you be able to show output from the web interface?

Here's a screenshot, do you need anything else from the webif?

 

 

image.png.6f5253d590b79c79e35c48b208cd263e.png

14 minutes ago, Fifthy said:

Here's a screenshot, do you need anything else from the webif?

 

 

image.png.6f5253d590b79c79e35c48b208cd263e.png

Sorry I meant the web interface from the APC UPS, I dont have one so does that show history or not?

  • Author

Here are some screenshots that I consider to be interesting for this:

As you can see, there is data in the UPS that either directly tells you how much the consumption is, or there are parameters from which you can calculate it yourself (amps, voltage). How to extract them is beyond me.

 

image.png.c41e3edd6908fff2b18ea570411bc6ac.png

 

image.png.ecde1710419265400bff49fff04c4afa.png

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.