It is currently May 2nd, 2024, 1:15 pm

Read CPU minimum temp value and make it stay at minimum?

Get help with creating, editing & fixing problems with skins
X672
Posts: 2
Joined: December 16th, 2012, 10:45 am

Read CPU minimum temp value and make it stay at minimum?

Post by X672 »

Hello,

Been looking around for like 8 hours now and I just can't see to find a solution to my problem.

I have a graph with CPU temp value, CPU Max temp value and CPU Min temp value and my problem is that CPU Min temp value is always 0.

I did some searching and I found some code that some other guy said was working but I can't get it to work in my skin.

[ReadCpuCoreTemp1], [Switch] & [CpuTempMin1] is used to try to get the minimum cpu temp.

Any help would be appreciated :)

Code: Select all

[Variables]

m=>

FontFace=Trebuchet MS
Font-Size=9

Text-Color=255,255,255,255
Textplacement=70

Frame-Width=883
Frame-Hight=80
Frame-Bottom=90

Graphline-Lenght=871
GraphColor1=255,255,255,255


;===========================================
;  Frame
;===========================================

[Frame.Top]
Meter=IMAGE
X=0
Y=10
W=#Frame-Width#
H=1
SolidColor=255, 255, 255, 115

[Frame.Left]
Meter=IMAGE
X=0
Y=10
W=1
H=#Frame-Hight#
SolidColor=255, 255, 255, 115

[Frame.Bottom]
Meter=IMAGE
X=0
Y=#Frame-Bottom#
W=#Frame-Width#
H=1
SolidColor=255, 255, 255, 115

[Frame.Right]
Meter=IMAGE
X=#Frame-Width#
Y=10
W=1
H=#Frame-Hight#
SolidColor=255, 255, 255, 115

[Background]
Meter=IMAGE
X=0
Y=10
W=#Frame-Width#
H=#Frame-Hight#
SolidColor=55, 55, 55, 65

#MEASURES ====================================

[ReadCpuCoreTemp1]
Measure=Plugin
Plugin=Plugins\OpenHardwareMonitorPlugin.dll
Hardware=Intel Core i7 930
Type=Temperature
Sensor=CPU Core #1
MinValue=0
MaxValue=60

[ReadCPUCore1TempMAX]
Measure=Plugin
Plugin=Plugins\OpenHardwareMonitorPlugin.dll
Hardware=Intel Core i7 930
Type=Temperature
Sensor=CPU Core #1
SensorMax=1

[Switch]
Measure=Calc
Formula=0 < ReadCpuCoreTemp1 ? 1 : 0
IfAboveValue=0
IfAboveAction=!RainmeterSetVariable m <

[CpuTempMin1]
Measure=Calc
Formula=CpuTempMin1 #m# ReadCpuCoreTemp1 ? CpuTempMin1 : ReadCpuCoreTemp1
DynamicVariables=1

#TEXT ====================================

[TempCPUString]
Meter=STRING
X=8
Y=#Textplacement#
H=15
FontFace=#FontFace#
FontColor=#Text-Color#
FontSize=#Font-Size#
AntiAlias=1
Text="Temperature CPU"

[TempCPU]
Meter=STRING
X=180
Y=#Textplacement#
H=15
FontFace=#FontFace#
FontColor=#Text-Color#
FontSize=#Font-Size#
AntiAlias=1
MeasureName=ReadCpuCoreTemp1
Postfix= " °C"

[MeterDisplayCore1MaxTemp]
Meter=String
FontFace=#FontFace#
FontColor=#Text-Color#
FontSize=#Font-Size#
AntiAlias=1
X=280
Y=#Textplacement#
MeasureName=ReadCPUCore1TempMAX
Text="Max: %1°C"

[MeterDisplayCore1MinTemp]
Meter=String
FontFace=#FontFace#
FontColor=#Text-Color#
FontSize=#Font-Size#
AntiAlias=1
X=350
Y=#Textplacement#
MeasureName=CpuTempMin1
Text="Min: %1°C"

#GRAPHLINE ====================================

[CPUGraphLine]
Meter=Line
MeasureName=ReadCpuCoreTemp1
X=8
Y=14
H=74
W=#Graphline-Lenght#
LineCount=1
LineColor=#GraphColor1#
AntiAlias=1
X672
Posts: 2
Joined: December 16th, 2012, 10:45 am

Re: Read CPU minimum temp value and make it stay at minimum?

Post by X672 »

*bump*

I see that Sidhy added a SensorMax to OHM here

http://rainmeter.net/forum/viewtopic.php?p=62059#p62059

so maybe someone that was real good at this stuff could add an SensorMin as well? :)