Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1020

Rainmeter Not Displaying HWiNFO S.M.A.R.T. Disk Temperatures (Reads "0 °C")

$
0
0
Hi everyone,
I've been working on a Rainmeter skin to show my system stats using HWiNFO's Registry export feature, following the "Using HWiNFO with Rainmeter" guide on the official Rainmeter documentation site (docs.rainmeter.net/tips/hwinfo/).

I've had good success with it for most things – I've got my CPU temperature (Tctl), VRM MOS temp, motherboard temp ("System" sensor), and CPU fan speed all displaying and updating correctly.

The big problem I'm stuck on is with my S.M.A.R.T. disk temperatures. I have two drives:
  • My SSD C: (a SanDisk SDSSDH3500G), which HWiNFO has at Index 6.
    My HDD D: (an ST1000VN002), which HWiNFO has at Index 5.
No matter what I try, my Rainmeter skin just shows "0 °C" (or "0.0 °C") for both of these disk temperatures. It's baffling because, as I said, all the other HWiNFO data is coming through without a hitch using the same Registry method.
Here's what I've already tried and checked, keeping the official guide in mind:
I've double-checked HWiNFO's "HWiNFO Gadget" tab (or the equivalent for enabling Registry output as per the guide). The "Drive Temperature" sensors for both disks are definitely enabled for export, with the "Report value..." option ticked, and the indexes (5 and 6) are correct.

I've also run reg query HKEY_CURRENT_USER\SOFTWARE\HWiNFO64\VSB in PowerShell, and it clearly shows HWiNFO is writing the data. For example, for my D: drive (Index 5), I see Label5 REG_SZ Drive Temperature, Value5 REG_SZ 40 °C, and ValueRaw5 REG_SZ 40. Similar entries are there for my C: drive (Index 6). So, the data is in the Registry as expected.

The Rainmeter log isn't showing any errors or warnings related to my skin or any issues reading these specific Registry values, which is making this harder to diagnose. I've also tried unloading all my other Rainmeter skins to make sure there's no conflict, and I've restarted HWiNFO (as admin) and Rainmeter of times.

Here's the bit of my Rainmeter code that's trying to handle the disk temperatures

Code:

[Variables]; These indexes match what HWiNFO and reg query showDISK_D_TEMP_INDEX=5 ; My HDD D:DISK_C_TEMP_INDEX=6 ; My SSD C:; --- Measures ---[Measure_Disk_C_Temp_ValueCleaned] Measure=RegistryRegHKey=HKEY_CURRENT_USERRegKey=SOFTWARE\HWiNFO64\VSBRegValue=Value#DISK_C_TEMP_INDEX# UpdateDivider=1RegExpSubstitute=1Substitute="^([0-9]+(?:\.[0-9]+)?).*$":"\1" OutputType=Number[Measure_Disk_D_Temp_ValueCleaned] Measure=RegistryRegHKey=HKEY_CURRENT_USERRegKey=SOFTWARE\HWiNFO64\VSBRegValue=Value#DISK_D_TEMP_INDEX# UpdateDivider=1RegExpSubstitute=1Substitute="^([0-9]+(?:\.[0-9]+)?).*$":"\1" OutputType=Number; --- Meters ---[meterLabel_Disk_C_Temp] Meter=StringX=10; Y=142; W=120; H=14Text=C:\[meterValue_Disk_C_Temp] Meter=StringMeasureName=Measure_Disk_C_Temp_ValueCleanedX=200; Y=142; W=60; H=14Text=%1 °C NumOfDecimals=1 DynamicVariables=1[meterLabel_Disk_D_Temp] Meter=StringX=10; Y=160; W=120; H=14Text=D:\[meterValue_Disk_D_Temp] Meter=StringMeasureName=Measure_Disk_D_Temp_ValueCleanedX=200; Y=160; W=60; H=14Text=%1 °C NumOfDecimals=1 DynamicVariables=1
I've experimented with using ValueRaw#INDEX# and adding "°C" manually, using Value#INDEX# and just %1, different Substitute patterns, and toggling OutputType=Number and NumOfDecimals. It always ends up displaying as "0 °C" or, in some attempts, a literal "%1 °C".
Has anyone run into something like this before, or can spot something I might be missing even while following the guide?

It's strange that only S.M.A.R.T. disk temps would fail when other HWiNFO data from the same Registry key works.
Any ideas or suggestions would be massively appreciated!
Thanks!

Statistics: Posted by lakosiom — June 5th, 2025, 5:47 pm — Replies 5 — Views 377



Viewing all articles
Browse latest Browse all 1020

Trending Articles