marcopixel / SysDash

A simple and clean system monitoring skin for Rainmeter.
MIT License
168 stars 31 forks source link

[Request] Support for other hardware monitoring programs. #33

Open skiletro opened 6 years ago

skiletro commented 6 years ago

Hi, I love this skin as it's almost perfect in every way. The only issue I have with it is that in order to get temps you need to use SpeedFan, which does not only do worse, it refuses to even grab the temperature of the CPU. Would it be possible to have any other choices for the hardware monitoring program for use with something like HWMonitor or HWiNFO?

Revadike commented 5 years ago

I agree, while SpeedFan is a great program, it's also been a long while since it has been updated. It doesn't have support for Ryzen CPU's, which I have and thus can't read the temperature for that :(

dkolb commented 5 years ago

To support HWiNFO you'll need to find the sensor ID, instance, and Entry IDs per this forum post: https://www.hwinfo.com/forum/Thread-Rainmeter-plug-in-for-HWiNFO-3-2

Also use the Rainmeter skin linked on that post to install the HWiNFO plugin, install the HWiNFO program, and set it up to run the Sensors only part on startup (or start it manually every boot).

For the CPU temperatures I made the following changes in CPUTemp.ini

; CPU temperature measures
[MeasureCPUTempRaw]
Measure=Plugin
Plugin=HWiNFO
HWiNFOSensorId=0xf0000501
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x1000000
HWiNFOType=CurrentValue

[MeasureCPUTemp]
Measure=Calc
Formula=MeasureCPUTempRaw-10

You'll need to know the temp offsets for for Tctl for your particular Ryzen processor. I know the Ryzen 7 2700x (my CPU) reports 10 degrees C higher. Change the 10 in the Calc forumla to either 20, 10, or 0 based off that. If you don't have a Ryzen processor, you can either just change the formula to 0, or rename the Raw measure to MeasureCPUTemp and skip the Calc measure.

Next for GPU temps, also find the plugin settings and simply change the Measure to be similar to this with your sensor ID, instance ID, and entry ID:


[MeasureGPUTemp]
Measure=Plugin
Plugin=HWiNFO
HWiNFOSensorId=0xe0002000
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x1000000
HWiNFOType=CurrentValue

That should be all you need to change to support HWiNFO.

Revadike commented 5 years ago

Awesome! Would you be willing to create a fork (and pull request)?

dkolb commented 5 years ago

Done, I believe. Unfortunately I don't know if the PR will ever get pulled in. You're welcome to pull the HWiNFO-Support branch from my repo and use that though.

Revadike commented 5 years ago

PR was pulled! I think this issue can be closed now :)