It is currently April 18th, 2024, 9:20 pm

Wrong temps showing

Get help with creating, editing & fixing problems with skins
psychokilla
Posts: 4
Joined: May 16th, 2011, 1:21 am

Wrong temps showing

Post by psychokilla »

As you can see from my desktop below, I'm getting the wrong readings from the SpeedFan plugin..

Image

I tried using the OpenHardwareMonitor and that gave the same erroneous readings. I've tried using the stable 2.0 release in both 32bit and 64bit and also the latest beta version. The result is always the same, so what am I doing wrong?

Here is the contents of the modified file (I just modified the default skin) :

Code: Select all

; Lines starting ; (semicolons) are commented out.
; That is, they do not affect the code and are here for demonstration purposes only.
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
Author=poiru
AppVersion=1003000
Update=1000

[Metadata]
; Contains basic information of the skin.
Name=System
Description=This skin displays basic system stats.
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0

[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205

; ----------------------------------
; MEASURES return some kind of value
; ----------------------------------

[measureCPU]
; This measure returns the average CPU load between all cores.
Measure=CPU
Processor=0

[measureRAM]
; Returns the amount of RAM used in bytes.
Measure=PhysicalMemory
UpdateDivider=20
; UpdateDivider sets the rate at which the value of the measure is updated. It is
; calculated as follows: UpdateDivider x Update. In this case, Update is set to
; 1000 milliseconds (in the [Rainmeter] section). 1000 x 20 = 20000 ms or 20 seconds.

[measureSWAP]
; Returns the amount of SWAP (pagefile) used in bytes.
Measure=SWAPMemory
UpdateDivider=20

; ----------------------------------
; Temperature Sensors
; ----------------------------------

[Core1Temp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=0

[Core2Temp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=1

[MoboTemp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=2

[GPUTemp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=3

[HDDTemp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=4

; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------

[styleTitle]
StringAlign=CENTER
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=LEFT
; Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15

; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------

[meterBackground]
Meter=IMAGE
ImageName=#SKINSPATH#\illustro\SHARED\Background7Line.png
; #SKINSPATH# is a global variable that stands for your skin path. It is
; usually Documents\Rainmeter\Skins.
X=0
Y=0

[meterTitle]
Meter=STRING
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text="System"
; Even though the text is set to System, Rainmeter will display
; it as SYSTEM, because styleTitle contains StringCase=UPPER.
LeftMouseUpAction=!Execute ["taskmgr.exe"]
; Left-clicking this meter will launch taskmgr.exe (the Task Manager).
ToolTipText="Open Task Manager"
; Hovering over this meter will display a tooltip with the text above.

[meterLabelCPU]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text="CPU Usage"

[meterValueCPU]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureCPU
X=200
Y=0r
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text="%1%"
; %1 stands for the value of MeasureName (measureCPU in this case).

[meterBarCPU]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureCPU
X=10
Y=52
W=190
H=1

[meterLabelRAM]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text="RAM Usage"

[meterValueRAM]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureRAM
X=200
Y=0r
W=190
H=14
Text="%1%"
Percentual=1
; Percentual=1 needs to be added her because measureRAM returns the amount
; of RAM used in bytes. Using Percentual=1 will convert that into a percentual value.

[meterBarRAM]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureRAM
X=10
Y=72
W=190
H=1

[meterLabelCPUTemp1]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=80
W=190
H=14
Text="Core 1 Temp"

[meterValueCPUTemp1]
Meter=STRING
MeterStyle=styleRightText
MeasureName=Core1Temp
X=200
Y=0r
W=190
H=14
Text="%1°C"
Percentual=1

[meterBarCPUTemp1]
Meter=BAR
MeterStyle=styleBar
MeasureName=Core1Temp
X=10
Y=92
W=190
H=1

[meterLabelCPUTemp2]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=100
W=190
H=14
Text="Core 2 Temp"

[meterValueCPUTemp2]
Meter=STRING
MeterStyle=styleRightText
MeasureName=Core2Temp
X=200
Y=0r
W=190
H=14
Text="%1°C"
Percentual=1

[meterBarCPUTemp2]
Meter=BAR
MeterStyle=styleBar
MeasureName=Core2Temp
X=10
Y=112
W=190
H=1

[meterLabelMoboTemp]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=120
W=190
H=14
Text="Mobo Temp"

[meterValueMoboTemp]
Meter=STRING
MeterStyle=styleRightText
MeasureName=MoboTemp
X=200
Y=0r
W=190
H=14
Text="%1°C"
Percentual=1

[meterBarMoboTemp]
Meter=BAR
MeterStyle=styleBar
MeasureName=MoboTemp
X=10
Y=132
W=190
H=1

[meterLabelGPUTemp]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=140
W=190
H=14
Text="GPU Temp"

[meterValueGPUTemp]
Meter=STRING
MeterStyle=styleRightText
MeasureName=GPUTemp
X=200
Y=0r
W=190
H=14
Text="%1°C"
Percentual=1

[meterBarGPUTemp]
Meter=BAR
MeterStyle=styleBar
MeasureName=GPUTemp
X=10
Y=152
W=190
H=1

[meterLabelHDDTemp]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=160
W=190
H=14
Text="HDD Temp"

[meterValueHDDTemp]
Meter=STRING
MeterStyle=styleRightText
MeasureName=HDDTemp
X=200
Y=0r
W=190
H=14
Text="%1°C"
Percentual=1

[meterBarHDDTemp]
Meter=BAR
MeterStyle=styleBar
MeasureName=HDDTemp
X=10
Y=172
W=190
H=1
The computer I am using is the Dell XPS L501X, I'm using version 4.43 of SpeedFan.

Thanks in advance for any help :)
psychokilla
Posts: 4
Joined: May 16th, 2011, 1:21 am

Re: Wrong temps showing

Post by psychokilla »

Well, I fixed the temps as you can see...

Image

I took out the Percentual=1 line from each temp

Although, anyone know how I can adjust the bars so the max for them is 100c ? (I'm presuming that they are getting their max from SpeedFan which is just giving the max as the highest that the temp has reached ?)

Also, Is it possible to get separate Core 1/Core 2 usage levels? Or even Core 1/Core 1HT and Core 2/Core 2HT levels?
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Wrong temps showing

Post by jsmorley »

I just put a MinValue / MaxValue on each temperature measure, with MinValue set to 0 and MaxValue set to something just above a point where if that temp is ever hit, I need to shut the PC down NOW and figure out what is going on.

So something like this:

[MeasureMyTemp0]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=#MyTemp0#
SpeedFanScale=#TempUnit#
MinValue=0
MaxValue=100
UpdateDivider=5

Then I can use that measure in a Meter=Bar and it will see 100 as the "max" for the bar.
psychokilla
Posts: 4
Joined: May 16th, 2011, 1:21 am

Re: Wrong temps showing

Post by psychokilla »

That worked brilliantly thanks!!!

Image

Image

Image

I set the max to 100 for each temp, in case anyone else wants the same, here is the code :

Code: Select all

; Lines starting ; (semicolons) are commented out.
; That is, they do not affect the code and are here for demonstration purposes only.
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
Author=poiru
AppVersion=1003000
Update=1000

[Metadata]
; Contains basic information of the skin.
Name=System
Description=This skin displays basic system stats.
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0

[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205

; ----------------------------------
; MEASURES return some kind of value
; ----------------------------------

[measureCPU]
; This measure returns the average CPU load between all cores.
Measure=CPU
Processor=0

[measureRAM]
; Returns the amount of RAM used in bytes.
Measure=PhysicalMemory
UpdateDivider=20
; UpdateDivider sets the rate at which the value of the measure is updated. It is
; calculated as follows: UpdateDivider x Update. In this case, Update is set to
; 1000 milliseconds (in the [Rainmeter] section). 1000 x 20 = 20000 ms or 20 seconds.

[measureSWAP]
; Returns the amount of SWAP (pagefile) used in bytes.
Measure=SWAPMemory
UpdateDivider=20

; ----------------------------------
; Temperature Sensors
; ----------------------------------

[Core1Temp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=0
MinValue=0
MaxValue=100
UpdateDivider=5

[Core2Temp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=1
MinValue=0
MaxValue=100
UpdateDivider=5

[MoboTemp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=2
MinValue=0
MaxValue=100
UpdateDivider=5

[GPUTemp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=3
MinValue=0
MaxValue=100
UpdateDivider=5

[HDDTemp]
Measure=Plugin
Plugin=Plugins\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=4
MinValue=0
MaxValue=100
UpdateDivider=5

; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------

[styleTitle]
StringAlign=CENTER
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=LEFT
; Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15

; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------

[meterBackground]
Meter=IMAGE
ImageName=#SKINSPATH#\illustro\SHARED\Background7Line.png
; #SKINSPATH# is a global variable that stands for your skin path. It is
; usually Documents\Rainmeter\Skins.
X=0
Y=0

[meterTitle]
Meter=STRING
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text="System"
; Even though the text is set to System, Rainmeter will display
; it as SYSTEM, because styleTitle contains StringCase=UPPER.
LeftMouseUpAction=!Execute ["taskmgr.exe"]
; Left-clicking this meter will launch taskmgr.exe (the Task Manager).
ToolTipText="Open Task Manager"
; Hovering over this meter will display a tooltip with the text above.

[meterLabelCPU]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text="CPU Usage"

[meterValueCPU]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureCPU
X=200
Y=0r
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text="%1%"
; %1 stands for the value of MeasureName (measureCPU in this case).

[meterBarCPU]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureCPU
X=10
Y=52
W=190
H=1

[meterLabelRAM]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text="RAM Usage"

[meterValueRAM]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureRAM
X=200
Y=0r
W=190
H=14
Text="%1%"
Percentual=1
; Percentual=1 needs to be added her because measureRAM returns the amount
; of RAM used in bytes. Using Percentual=1 will convert that into a percentual value.

[meterBarRAM]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureRAM
X=10
Y=72
W=190
H=1

[meterLabelCPUTemp1]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=80
W=190
H=14
Text="Core 1 Temp"

[meterValueCPUTemp1]
Meter=STRING
MeterStyle=styleRightText
MeasureName=Core1Temp
X=200
Y=0r
W=190
H=14
Text="%1°C"

[meterBarCPUTemp1]
Meter=BAR
MeterStyle=styleBar
MeasureName=Core1Temp
X=10
Y=92
W=190
H=1

[meterLabelCPUTemp2]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=100
W=190
H=14
Text="Core 2 Temp"

[meterValueCPUTemp2]
Meter=STRING
MeterStyle=styleRightText
MeasureName=Core2Temp
X=200
Y=0r
W=190
H=14
Text="%1°C"

[meterBarCPUTemp2]
Meter=BAR
MeterStyle=styleBar
MeasureName=Core2Temp
X=10
Y=112
W=190
H=1

[meterLabelMoboTemp]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=120
W=190
H=14
Text="Mobo Temp"

[meterValueMoboTemp]
Meter=STRING
MeterStyle=styleRightText
MeasureName=MoboTemp
X=200
Y=0r
W=190
H=14
Text="%1°C"


[meterBarMoboTemp]
Meter=BAR
MeterStyle=styleBar
MeasureName=MoboTemp
X=10
Y=132
W=190
H=1

[meterLabelGPUTemp]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=140
W=190
H=14
Text="GPU Temp"

[meterValueGPUTemp]
Meter=STRING
MeterStyle=styleRightText
MeasureName=GPUTemp
X=200
Y=0r
W=190
H=14
Text="%1°C"


[meterBarGPUTemp]
Meter=BAR
MeterStyle=styleBar
MeasureName=GPUTemp
X=10
Y=152
W=190
H=1

[meterLabelHDDTemp]
Meter=STRING
MeterStyle=styleLeftText
X=10
Y=160
W=190
H=14
Text="HDD Temp"

[meterValueHDDTemp]
Meter=STRING
MeterStyle=styleRightText
MeasureName=HDDTemp
X=200
Y=0r
W=190
H=14
Text="%1°C"

[meterBarHDDTemp]
Meter=BAR
MeterStyle=styleBar
MeasureName=HDDTemp
X=10
Y=172
W=190
H=1
Now, any idea how I would get a separate reading for each core usage?
mahbagel
Posts: 5
Joined: June 1st, 2011, 8:35 pm

Re: Wrong temps showing

Post by mahbagel »

Now, any idea how I would get a separate reading for each core usage?
you can split up the measure so that it's like this:

Code: Select all

[MeasureCore1]
Measure=CPU
Processor=1

[MeasureCore2]
Measure=CPU
Processor=2]  etc... 
where 0 will take an average of all cores and 1 -> X for each core you have. HTH
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Wrong temps showing

Post by Seahorse »

You need to bring up the SpeedFan screen, hit configure and count the lines.
SpeedFanNumber
This defines the index for the returned value. The indexing starts from 0 so if you want to return e.g. the second temperature value use SpeedFanNumber=1.
Speedfan.JPG
So my GPU is 0, Temp1 (whatever that is) is 1 and my cores are 10, 11, 12 & 13 giving me:

Code: Select all

[MeasureCore1Temp]
Measure=Plugin
PlugIn=PlugIns\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=10
MinValue=0
MaxValue=80

[MeasureCore2Temp]
Measure=Plugin
PlugIn=PlugIns\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=11
MinValue=0
MaxValue=80

[MeasureCore3Temp]
Measure=Plugin
PlugIn=PlugIns\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=12
MinValue=0
MaxValue=80

[MeasureCore4Temp]
Measure=Plugin
PlugIn=PlugIns\SpeedFanPlugin.dll
SpeedFanType=TEMPERATURE
SpeedFanNumber=13
MinValue=0
MaxValue=80
You do not have the required permissions to view the files attached to this post.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt