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.

[Plugin] Corsair PSU Statistics

Featured Replies

In the spirit of badly written things, here is a plugin that reads Corsair power supply statistics and displays them in the dashboard. GPU load is the value from the output0 PSU lane. It is a wrapper for the corsairmi binary which reads out monitoring information for Corsair RMi and HXi power supplies. Works cool in conjunction with an UPS plugin.

 

Screenshot

 

To install, go to Plugins > Install Plugin and paste

https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plg

 

Edited by realies

  • Replies 76
  • Views 24.4k
  • Created
  • Last Reply

Top Posters In This Topic

Posted Images

Are you planning to add this to CA?

  • Author
14 minutes ago, wgstarks said:

Are you planning to add this to CA?

 

Prolly not. Assuming there isn't much Corsair RMi/HXi unRAID users out there, but who knows...

I have a rm450, is this connected through the pwr_fan connection on motherboard?

  • Author

As previously stated, this currently only works with Corsair RMi and HXi. The i stands for "intelligent" which is their digital control and monitoring feature over USB.

As previously stated, this currently only works with Corsair RMi and HXi. The i stands for "intelligent" which is their digital control and monitoring feature over USB.


Thanks for the clarification.
  • 4 months later...

Thanks for the development. Unfortunately, I failed to install the plugin. Error message below.

 

 

plugin: installing: https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plg
plugin: downloading https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plg
plugin: downloading: https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plg ... failed (Invalid URL / Server error response)
plugin: wget: https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plg download failure (Invalid URL / Server error response)

Awkward... I tried again and it now works. No idea what I was doing wrong. You see from my copy & paste that it was not a typo... Anyhow, it is what it is and fortunately succeeded to install the plugin.

 

Unfortunately, the plugin is not working yet (though installed without errors).

 

I have a Corsair RM1000i. After successful install, it doesn't show anything. See copy&paste below:

Uptime Temp1 / Temp2 Fan RPM Supply Volts Nominal Power GPU Load PSU Load PSU Load %
null            
  • 2 weeks later...

Any thoughts why the plugin doesn’t show any info?


Sent from my iPhone using Tapatalk

Works perfectly with my Corsair HX1000i.

 

Thank you very much for the plugin.

Mmh.. Thanks for your note. Could it be related to you having a HX1000i vs. my RM1000i? Is there some other way in Unraid to see whether it is it is working besides a docker? Maybe within a Windows VM or command line? Did you need to activate it in the bios or something else that is required to get it running. I bought the RM1000i for this feature, but never actually tried it out.

On 8/18/2018 at 9:31 AM, steve1977 said:

Any thoughts why the plugin doesn’t show any info?

 

Forgive me for stating the obvious, but did you plug the USB cable in?

 

Oh well.... Seems that I wasn't aware of the obvious. What USB cable are you referring to?

Got it, but still not working.

 

I now connected the cable from the PSU via UBS to the on-board USB port of my Asus X299-A.

 

I thought this was the obvious mistake, but unfortunately, this is still not working. Still shows "null".

 

Any idea whether I can test this from command line in Unraid? Do I somehow need to passthrough the USB port to Unraid?

It seems that I connected the cable correctly (see below), but I am still not seeing anything with the plugin. Any thoughts?

 

USB Devices

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 125f:c92a A-DATA Technology Co., Ltd.
Bus 001 Device 003: ID 1b1c:1c0d Corsair
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

I passed the USB through to a VM and can confirm that Corsair Link works inside a Windows VM providing me with PSU data. So, the PSU and cabling are not the issue,


Any idea what I can do to get this working with Unraid / Unraid plugin?

 

Thanks in advance for your help!

  • 1 month later...
  • Author

@steve1977, sorry for the lack of communication, I did not receive any notification for posts in this thread. I'll make sure I'm subscribed to it.

 

It seems that your Corsair PSU shows up as 1b1c:1c0d. Interestingly, while I was able to source the device IDs for the rest of the Corsair smart PSU lineup by decompiling the Windows client, I did not have any confirmation about the device ID of the RM1000i until now (only an assumption).

 

With this information, I have updated the plugin, which now supports RM1000i and displays meaningful errors on any potential failure (instead of "null").

 

 

Fantastic, thanks! Let me try shortly and report back. Would be great to have this working. I really like the idea of the plugin!

You are a star!!! It is working now, thanks!

 

GPU load is 138 watts and PSU load 170 watts. What is GPU load? Do I need to add both of them add to understand how much power my server is consuming? I.e., 308 watts in my case?

  • Author

The "GPU Load" label is hardcoded to say that and it outputs the "output0 watts" value that the "corsairmi" command responds with (type "corsairmi" in the terminal for more). The name is hardcoded to say that only because this was my use-case at the time I wrote the plugin and configuration with other systems might differ. If there is demand, future versions might allow for custom labels. "PSU Load" is the "total watts" value from the same "corsairmi" command.

Thanks. What is the difference between "output0 watts" and "total watts"? Are there also other "output1/2/3/4/5"?

  • Author

My understanding is that different outputs are different rails coming out of the power supply. You can use Corsair Link to figure this out better. As mentioned above, type "corsairmi" in the terminal of Unraid to see all output options and more.

Edited by realies

  • 3 months later...
  • Author

@rix, what does it take?

Edited by realies

7 minutes ago, realies said:

@rix, what does it take?

probably not much - they have added a few sections and sorted information in tiles. your plugin still works - but is misplaced at the top of the screen..

 

id rather have it beneath the "server hardware info" tile next to the ups stats.

an easier solution would be just copying the styling of one of these tiles and moving the psu stats to the bottom

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