MinhThienDX / win10widgets

A fork from https://github.com/tjmarkham/win10widgets
MIT License
48 stars 11 forks source link

Add Fan RPM measure #35

Open wzub opened 4 years ago

wzub commented 4 years ago

This adds the Fan RPM to the GPU measure. Currently it's not dynamic so depending on whether you use MSI Afterburner or HWiNFO, you will need to change MeasureName3 under [Value5] in /Performance Templates/gpuTemplate.ini

The RPM are shown in a new line below the Temperature, which looks best in the Performance - Combo skin.

image

Possible improvements

wzub commented 4 years ago

An alternative implementation was submitted by @clone1084 in PR #36 which also includes CPU fan RPM. Using that as a starting point I've made some improvements here

Beguiled commented 4 years ago

Is the intention to combine these two PRs ( #35 / #36 ) into a single solution then? I'm liking the way both of these are going.

wzub commented 4 years ago

I've already absorbed #36 into this one (sorry @clone1084 😅) after seeing it had CPU fan speed as well. It works perfectly with HWiNFO, but MSI Afterburner apparently can't read CPU fan speed. The HWiNFOSensorId was also different for me, I'm not sure how we could automate that detection. Maybe @MinhThienDX can take a look and advise.

image (note I've disabled the Disk monitor and made some edits to Network monitor in the Combo skin but those are not part of this PR)

ffpp2003 commented 3 years ago

Im trying to do my own implementation of the fan speed of my cpu, and I cant get to a final solution. This is how i want it to look: image

And this is where i'm at: image

For some reason, i can't get the text to properly show in two lines. i tried using Text="#Fan1#: %1 #Unit#[\10]#Fan2#: %2 #Unit#", but it only shows the Pump: XXXX rpm part. i also tried using Text="#Fan1#: %1 #Unit##CRLF##Fan2#: %2 #Unit#", but i get the same results. Appearently, i also cant get the Fan text to show up. I'm not expert at Rainmeter nor Lua, but i kinda understand the logic. Thats how i got so far. Here i drop the modded skin: Win10 Widgets.zip I added the next files:

@Resources\Performance Templates\fanTemplate.ini Performance - Fan\Fan-Large.ini Performance - Fan\Fan-Medium.ini Performance - Fan\Fan-Small.ini Performance - Fan\Fan-Tiny.ini

and i modded the next files:

@Resources\variables.ini at line 94 and 95 @Resources\Performance Templates\performanceTemplateX4.ini from line 60 to 65, from line 569 to 665 Performance - Combo\Combo.ini at line 42, 66, 67 and 68

I would like to have some help, but i dont know if this is the correct place to ask.