Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fan RPM measure #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 33 additions & 2 deletions Win10 Widgets/@Resources/Performance Templates/cpuTemplate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ IfFalseAction4=[!SetOption Value1 Text "%1%"]
OnUpdateAction=[!UpdateMeter Value1]
UpdateDivider=10


[MeasureCPUTemp_SpeedFan]
; Returns the Temperature of the CPU using SpeedFan
; If the Temperature is not shown even though SpeedFan is running
Expand All @@ -75,14 +74,38 @@ HWiNFOType=CurrentValue
OnUpdateAction=[!UpdateMeasure MeasureCPUTemp]
UpdateDivider=10


[MeasureCPUTemp_CoreTemp]
; Returns the Temperature of the Hottest CPU Core using CoreTemp
Measure=Plugin
Plugin=CoreTemp
OnUpdateAction=[!UpdateMeasure MeasureCPUTemp]
UpdateDivider=10

[MeasureCPUFanRPM]
; Pulls Info About the CPU Fan RPM if possible
Measure=Calc
Formula=0
IfCondition=MeasureCPUFanRPM_HWiNFO > 0
IfTrueAction=[!SetOption MeasureCPUFanRPM Formula MeasureCPUFanRPM_HWiNFO]
IfCondition2=MeasureCPUFanRPM > 0
IfTrueAction2=[!SetOption FanSpeed1 Text "%1 rpm"][!SetOption FanSpeed1 Hidden 0]
IfFalseAction2=[!SetOption FanSpeed1 Hidden 1]
OnUpdateAction=[!UpdateMeter FanSpeed1]
UpdateDivider=10

[MeasureCPUFanRPM_HWiNFO]
; Returns the FanSpeed of the GPU using HWiNFO
; If the Speed is not shown even though HWiNFO is running and the HWiNFO.dll is installed
; Change the Values below according to HWiNFOSharedMemoryViewer.exe included in the HWiNFO Demo Skin
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=0xf7067960
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x3000001
;
HWiNFOType=CurrentValue
OnUpdateAction=[!UpdateMeasure MeasureCPUFanRPM]
UpdateDivider=1

; ------------------------------------------------------------------------
; METERS
Expand Down Expand Up @@ -111,4 +134,12 @@ Hidden=0

[Value1]
MeasureName2=MeasureCPUTemp
ClipString=2
ClipStringW=(#BackgroundWidth#-[#CURRENTSECTION#:X]-6)
Hidden=0

[FanSpeed1]
MeasureName=MeasureCPUFanRPM
ClipString=2
ClipStringW=(#BackgroundWidth#-[#CURRENTSECTION#:X]-6)
Hidden=0
37 changes: 37 additions & 0 deletions Win10 Widgets/@Resources/Performance Templates/gpuTemplate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,37 @@ DataSource=GPU temperature
OnUpdateAction=[!UpdateMeasure MeasureGPUTemp]
UpdateDivider=10

[MeasureGPUFanRPM]
; Pulls Info About the GPU FanSpeed if possible
Measure=Calc
Formula=0
IfCondition=MeasureGPUFanRPM_HWiNFO > 0
IfTrueAction=[!SetOption MeasureGPUFanRPM Formula MeasureGPUFanRPM_HWiNFO]
IfCondition2=MeasureGPUTemp_MSIAfterburner > 0
IfTrueAction2=[!SetOption MeasureGPUFanRPM Formula MeasureGPUFanRPM_MSIAfterburner]
IfCondition3=MeasureGPUFanRPM > 0
IfTrueAction3=[!SetOption FanSpeed5 Text "%1 rpm"][!SetOption FanSpeed5 Hidden 0]
IfFalseAction3=[!SetOption FanSpeed5 Hidden 1]
OnUpdateAction=[!UpdateMeter FanSpeed5]
UpdateDivider=10

[MeasureGPUFanRPM_HWiNFO]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=0xe0002000
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x3000000
HWiNFOType=CurrentValue
OnUpdateAction=[!UpdateMeasure MeasureGPUTemp]
UpdateDivider=10

[MeasureGPUFanRPM_MSIAfterburner]
Measure=Plugin
Plugin=MSIAfterburner.dll
DataSource=Fan tachometer
OnUpdateAction=[!UpdateMeasure MeasureGPUFanRPM]
UpdateDivider=10

; ------------------------------------------------------------------------
; METERS
; ------------------------------------------------------------------------
Expand Down Expand Up @@ -157,4 +188,10 @@ Hidden=0

[Value5]
MeasureName2=MeasureGPUTemp
ClipString=2
ClipStringW=(#BackgroundWidth#-[#CURRENTSECTION#:X]-6)
Hidden=0

[FanSpeed5]
MeasureName=MeasureGPUFanRPM
Hidden=0
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ GraphLabel4="Network"
GraphLeftPadding5=11
GraphTopPadding5=11
GraphMeasure5=EmptyMeasure
GraphMeasure5rpm=EmptyMeasure
GraphColor5=#GPURed#
GraphLabel5="GPU"

Expand Down Expand Up @@ -166,6 +167,18 @@ Text="%1%"
FontSize=9
Hidden=1

[FanSpeed1]
; Value corresponding to graph.
Meter=String
MeterStyle=StyleSmallText | StyleForegroundText
MeasureName=#GraphMeasure1rpm#
X=0r
Y=-4R
Group=Monitor1
Text="%1 rpm"
FontSize=9
Hidden=1


; ------------------------------------------------------------------------
; METERS - 2nd Performance Monitor
Expand Down Expand Up @@ -560,3 +573,15 @@ Group=Monitor5
Text="%1%"
FontSize=9
Hidden=1

[FanSpeed5]
; Value corresponding to graph.
Meter=String
MeterStyle=StyleSmallText | StyleForegroundText
MeasureName=#GraphMeasure5rpm#
X=0r
Y=-4R
Group=Monitor5
Text="%1 rpm"
FontSize=9
Hidden=1
4 changes: 2 additions & 2 deletions Win10 Widgets/@Resources/variables.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Version2=0
Version3=0
; Begin Dimensions
tiniestHeight=50
tinyHeight=62
tinyHeight=66
smallHeight=90
mediumHeight=117
mediumHeight=127
largeHeight=165
largestHeight=200
;
Expand Down
9 changes: 8 additions & 1 deletion Win10 Widgets/Performance - CPU/CPU-Large.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@ Y=4
MeterStyle=StyleMediumText
X=0R
Y=16r
FontSize=18
FontSize=16
FontColor=#ForegroundFaintColor#

[FanSpeed1]
MeterStyle=StyleMediumText
X=1R
Y=0r
FontSize=16
FontColor=#ForegroundFaintColor#
4 changes: 4 additions & 0 deletions Win10 Widgets/Performance - CPU/CPU-Medium.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ Y=6

[Value1]
Y=7r

[FanSpeed1]
X=15R
Y=0r
7 changes: 6 additions & 1 deletion Win10 Widgets/Performance - CPU/CPU-Small.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Version=1.0.0

[Variables]
@Include=CPU-Tiny.ini
BackgroundHeight=#smallHeight#
BackgroundHeight=91
GraphWidth=339
GraphTopPadding1=40

Expand All @@ -42,3 +42,8 @@ Y=10
FontSize=11
X=5R
Y=0r

[FanSpeed1]
FontSize=11
X=12R
Y=10
1 change: 0 additions & 1 deletion Win10 Widgets/Performance - CPU/CPU-Tiny.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

[Rainmeter]
Update=100
DefaultUpdateDivider=-1

[Metadata]
Name=CPU (tiny)
Expand Down
10 changes: 5 additions & 5 deletions Win10 Widgets/Performance - Combo/Combo-Thin.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Version=1.0.0

[Variables]
@Include=Combo.ini
BackgroundHeight=262
BackgroundHeight=272
BackgroundWidth=#smallWidth#
FirstColumnLeftPadding=11
FirstRowTopPadding=11
SecondRowTopPadding=61
ThirdRowTopPadding=111
FourthRowTopPadding=161
FifthRowTopPadding=211
SecondRowTopPadding=66
ThirdRowTopPadding=116
FourthRowTopPadding=166
FifthRowTopPadding=219
; CPU Variables
GraphLeftPadding1=#FirstColumnLeftPadding#
GraphTopPadding1=#FirstRowTopPadding#
Expand Down
10 changes: 7 additions & 3 deletions Win10 Widgets/Performance - Combo/Combo.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ Version=1.0.0
@Include5="#@#Performance Templates\networkTemplate.ini"
@Include6="#@#Performance Templates\gpuTemplate.ini"
CoreFilePath=""#CURRENTPATH#Combo.ini""
BackgroundHeight=#largeHeight#
BackgroundHeight=#mediumHeight#+50
AutoBorder=1
FirstColumnLeftPadding=11
SecondColumnLeftPadding=160
FirstRowTopPadding=11
SecondRowTopPadding=61
ThirdRowTopPadding=111
SecondRowTopPadding=67
ThirdRowTopPadding=117
; CPU Variables
GraphLeftPadding1=#FirstColumnLeftPadding#
GraphTopPadding1=#FirstRowTopPadding#
Expand All @@ -62,6 +62,10 @@ GraphTopPadding4=#SecondRowTopPadding#
; GPU Variables
GraphLeftPadding5=#FirstColumnLeftPadding#
GraphTopPadding5=#ThirdRowTopPadding#
NetworkUnitMultiplier=8
NetworkKBUnit=Kbps
NetworkMBUnit=Mbps
NetworkGBUnit=Gbps


; ------------------------------------------------------------------------
Expand Down
9 changes: 8 additions & 1 deletion Win10 Widgets/Performance - GPU/GPU-Large.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@ Y=4
MeterStyle=StyleMediumText
X=0R
Y=16r
FontSize=18
FontSize=16
FontColor=#ForegroundFaintColor#

[FanSpeed5]
MeterStyle=StyleMediumText
X=1R
Y=0r
FontSize=16
FontColor=#ForegroundFaintColor#
6 changes: 6 additions & 0 deletions Win10 Widgets/Performance - GPU/GPU-Medium.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ Y=6

[Value5]
Y=7r

[FanSpeed5]
MeterStyle=StyleMediumText
X=15R
Y=0r
FontColor=#ForegroundFaintColor#
5 changes: 5 additions & 0 deletions Win10 Widgets/Performance - GPU/GPU-Small.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ Y=10
FontSize=11
X=5R
Y=0r

[FanSpeed5]
FontSize=11
X=12R
Y=0r