Corsair RMi, HXi, AXi PSU Statistics - CyanLabs's fork


Fma965

120 posts in this topic Last Reply

Recommended Posts

  • Replies 119
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

So if you have been following this plugin you will know that it was originally created by realies    I have since decided to improve upon this and have made multiple tweaks including adding

Sweet, care to share the Lovelace

AX PSU's won't work as discussed previously in this thread, they work on completely different protocols, the ones in that list you quoted are already in the ax-test build so if it's not working then i

Posted Images

2 hours ago, MindRazorblade said:

Did you have to do anything special to get this working? I have the same HX series and mine is blank.

Nothing special buddy just plug the corsair link cable into a usb2 header on the motherboard. Any chance you are passing your usb header through on a vm? I did notice if I pass it through to a windows vm it will be blank while the vm is active, as soon as I shut the vm down it comes back up though and I don't have any real reason to pass it through to windows anyway,

Link to post
8 hours ago, MindRazorblade said:

Did you have to do anything special to get this working? I have the same HX series and mine is blank.

image.png.bbb60cd728c73d44622a694502380194.png

make sure this is set to HX,

 

Also can you show what you mean by it being blank

Link to post
  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...

Another happy user:

 

owvSE4B.png

 

I just picked up the RM850i second hand and negotiated based on the fact I presumed the 'i' part would be useless on UNRAID so got a bit knocked off..


Imagine my surprise when I suddenly came across this in the app store and plugged in the USB cable internally and it just worked!

 

The only stat I was slightly intrigued about was the overall power draw, as I have 5 HDDs, 2 NVME Drives and 3 SSDs with a GTX1660 Super this is about what I'd expect when not doing too much.

Edited by Snubbers
Link to post
  • 3 weeks later...
On 3/2/2020 at 5:01 AM, Ahmed said:

Not 100% sure this is going to work properly and im sure there's prob a better way to do this.. i just wrote up a super amazing script to export the data into influxdb

 

[[stuff]]

 

***ok scratch that. it didnt seem to work...... seems like it wont input the results even though they appear to be clearly showing in the file. 

 

Man, good effort. Has anyone managed to get this working? PSU stats exported to telegraf / influxDB would be amazing.

Link to post
  • 2 weeks later...
  • 2 months later...

So, I've got a bit of a weird situation.

I do need assistance with setting this up as well. Not sure what I'm missing but I can't seem to figure out how to get the plugin to point to the correct device.

Also, I happen to be running 3 AXi power supplies, thankfully all different wattage capabilities or I fear that might make things more complicated.

Is there a way to setup multiple versions of this plugin to run at once so that I may monitor all three power supplies?

By process of elimination, I unplugged one by one the usb to these PSU's to determine the correct device id.

1b1c:0c04 Corsair Link Cooling Node
1b1c:1d00 Corsair (AX1200i)
1b1c:1b12 Corsair (AX860i)
1b1c:1c02 Corsair (AX1500i)

Here is the current output. Also, not sure why. but my Bus 003 Device 016: ID 1b1c:1c02 Corsair in this output keeps changing device numbers. 10 minutes ago, it was Device 014, then a few moments later 015. Nothing else seems to be "flapping" causing this counter to change. I believe this PSU is under roughly 98% load atm, and often blinks orange on the led. Also not sure what that means.

 

IOMMU group 39:[8086:8d31] 00:14.0 USB controller: Intel Corporation C610/X99 series chipset USB xHCI Host Controller (rev 05)

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 002: ID 0b05:180a ASUSTek Computer, Inc. Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE

Bus 003 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub

Bus 003 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub

Bus 003 Device 005: ID 1b1c:0c04 Corsair Link Cooling Node

Bus 003 Device 006: ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub

Bus 003 Device 007: ID 1b1c:1d00 Corsair

Bus 003 Device 009: ID 13fe:4200 Kingston Technology Company Inc. USB DISK 2.0

Bus 003 Device 010: ID 05e3:0610 Genesys Logic, Inc. 4-port hub

Bus 003 Device 011: ID 248a:8367 Maxxter

Bus 003 Device 012: ID 0781:5571 SanDisk Corp. Cruzer Fit

Bus 003 Device 013: ID 1b1c:1b12 Corsair

Bus 003 Device 016: ID 1b1c:1c02 Corsair

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 004 Device 002: ID 174c:3074 ASMedia Technology Inc. ASM1074 SuperSpeed hub



Any help would be greatly appreciated!

 

-Jockie

Edited by RifleJock
Spelling correction
Link to post
  • 1 month later...
4 hours ago, NOLA_DireWolff said:

 

I also have this device.  Did you get it working?

Nope, never did get this working.

My USB ID's seem to be stable now however, and don't change at all. But the plugin still doesn't seem to ever detect any of the PSU's.

 

-Jockie

Link to post
  • 4 weeks later...
  • 4 weeks later...
  • 2 months later...

I'm also having a similar problem where the data isn't automatically refreshing. No errors in the browser's console and I can see that it's no longer requesting new data about the PSU (only once and that's it). Seems to have happened since I went to 6.9 from I think 6.8.4.

Edited by Ixel
Link to post
2 hours ago, Fma965 said:

Noted, way to busy to investigate this currently though 

 

@Fma965


https://github.com/CyanLabs/corsairpsu-unraid/blob/224941e4e1f056decc07d1e422eb7c75c0019ae0/src/corsairpsu/usr/local/emhttp/plugins/corsairpsu/status.page#L97
 

That line is your problem.  You're looking for $update in PHP to be true but in 6.9.0 and up that variable is either not set (NULL) or set to false from the UnRAID code.  What I did for my plugin is allowed to the user to decide if they want it to automatically refresh while the dashboard is open or not and then checked that variable since I knew it would always be there.  But there are reasons (like log spam from a weird Nvidia issue) for doing that in my case that might not make sense in yours.  If you just want it to update regardless I would either get rid of that IF conditional or set $update in PHP to be true somewhere above that JavaScript portion of your page file.

https://github.com/b3rs3rk/gpustat-unraid/blob/f82c490d0d5f24d8777310aeaf9f7241d086a0dd/src/gpustat/usr/local/emhttp/plugins/gpustat/gpustatus.page#L234

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.