realies Posted March 25, 2018 Share Posted March 25, 2018 (edited) 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. To install, go to Plugins > Install Plugin and paste https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plg Edited March 28, 2018 by realies 1 Quote Link to comment
wgstarks Posted March 25, 2018 Share Posted March 25, 2018 Are you planning to add this to CA? Quote Link to comment
realies Posted March 25, 2018 Author Share Posted March 25, 2018 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... Quote Link to comment
BillClinton Posted March 25, 2018 Share Posted March 25, 2018 I have a rm450, is this connected through the pwr_fan connection on motherboard? Quote Link to comment
realies Posted March 25, 2018 Author Share Posted March 25, 2018 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. Quote Link to comment
BillClinton Posted March 26, 2018 Share Posted March 26, 2018 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. Quote Link to comment
steve1977 Posted August 5, 2018 Share Posted August 5, 2018 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.plgplugin: downloading https://raw.githubusercontent.com/realies/corsairpsu-unraid/master/corsairpsu.plgplugin: 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) Quote Link to comment
steve1977 Posted August 6, 2018 Share Posted August 6, 2018 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 Quote Link to comment
steve1977 Posted August 18, 2018 Share Posted August 18, 2018 Any thoughts why the plugin doesn’t show any info?Sent from my iPhone using Tapatalk Quote Link to comment
pegarrett Posted August 23, 2018 Share Posted August 23, 2018 Works perfectly with my Corsair HX1000i. Thank you very much for the plugin. Quote Link to comment
steve1977 Posted August 23, 2018 Share Posted August 23, 2018 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. Quote Link to comment
John_M Posted August 23, 2018 Share Posted August 23, 2018 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? Quote Link to comment
steve1977 Posted August 24, 2018 Share Posted August 24, 2018 Oh well.... Seems that I wasn't aware of the obvious. What USB cable are you referring to? Quote Link to comment
steve1977 Posted August 24, 2018 Share Posted August 24, 2018 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? Quote Link to comment
steve1977 Posted August 24, 2018 Share Posted August 24, 2018 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 Quote Link to comment
steve1977 Posted August 26, 2018 Share Posted August 26, 2018 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! Quote Link to comment
realies Posted September 28, 2018 Author Share Posted September 28, 2018 @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"). Quote Link to comment
steve1977 Posted September 28, 2018 Share Posted September 28, 2018 Fantastic, thanks! Let me try shortly and report back. Would be great to have this working. I really like the idea of the plugin! Quote Link to comment
steve1977 Posted September 28, 2018 Share Posted September 28, 2018 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? Quote Link to comment
realies Posted September 29, 2018 Author Share Posted September 29, 2018 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. Quote Link to comment
steve1977 Posted September 29, 2018 Share Posted September 29, 2018 Thanks. What is the difference between "output0 watts" and "total watts"? Are there also other "output1/2/3/4/5"? Quote Link to comment
realies Posted September 29, 2018 Author Share Posted September 29, 2018 (edited) 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 September 29, 2018 by realies Quote Link to comment
rix Posted January 23, 2019 Share Posted January 23, 2019 Any chance you could make this v.6.7.x ready? Quote Link to comment
realies Posted January 23, 2019 Author Share Posted January 23, 2019 (edited) @rix, what does it take? Edited January 23, 2019 by realies Quote Link to comment
rix Posted January 23, 2019 Share Posted January 23, 2019 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 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.