Jump to content
Sign in to follow this  
vmunich

Using UPS data to calculate power usage and consumption?

3 posts in this topic Last Reply

Recommended Posts

Hey, which binary or daemon is responsible for pulling UPS data when there's a compatible UPS connected via USB? How can I pull data from it the same way UnRAID does?

 

I'm talking about this:

84fc37439c467a59ee6fba27e8a436e4.png

 

I think it'd be really cool to use this data to measure my server's power consumption and cost every month. Sort of like a Kill-A-Watt, but way better, and without the $25 price tag. Is there a plugin that does this already?

 

Thanks

 

 

Edited by vmunich

Share this post


Link to post

apcupsd, but remember that data is from the output of the UPS, the input is going to be different. You have losses involved in keeping the battery charged, and some draw for the other UPS functions. I wouldn't classify it as being as accurate as a kill-a-watt for measuring what you are spending.

 

You can scrape the info from the apcupsd output either directly on the server with apcaccess or with a remote install of apcupsd. The default setup of the software on unraid is set up as a broadcast server, so it's easy to connect a remote instance to read the data. Collecting, storing, and formatting the data for analysis is left up to you.

Share this post


Link to post

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.

Sign in to follow this