1. Home
  2. Docs
  3. Rainmeter Grayhound
  4. Installation
  5. HWiINFO for Rainmeter

HWiINFO for Rainmeter

HWiNFO Application

HWiNFO is a popular and detailed system monitoring software. You need to download it from here and install it.

HWiNFO contains a module called “Sensor Status”. You need to configure HWiNFO so it starts with Windows and so that that module is started as well.

HWiNFO Rainmeter DLL

The developers of HWiNFO also provide a Rainmeter plugin DLL that Rainmeter can use to read information from HWiNFO’s Sensor Status module. This DLL is included in the Grayhound *.rmskin when you install it.

HWiNFO Sensors, Instances and Entries

HWiNFO identifies your hardware components by a so-called “Sensor ID”, “Sensor Instance” and “Entry ID”.

If you have two graphic cards, the Sensor ID will be the same for both but they would ave different Sensor Instance numbers.

For example, the the first GPU will have a Sensor ID and a Sensor Instance number. Each measure of the first GPU, e.g. load or temperature, has a different Entry ID. Something like this:

  • GPU Sensor ID = 0xe0002000
    • GPU0 Sensor Instance = 0x0
      • GPU0 temperature ID = 0x1000000
      • GPU0 fan 1 ID = 0x3000000

Unfortuantely, these IDs and numbers differ from system to system and before the Rainmeter skin works you must find out your IDs and edit the HWiNFO.inc file of the Grahound skin to match your numbers. That file resides in the @Resources folder of the skin.

Finding your HWiNFO IDs

The installation of the Grayhound skin deploys a program called “HWiNFOSharedMemoryViewer.exe“. It resides in the @Resources folder of the skin. Launch the program and you will see a window similar to this:

The tree view in the upper part of the window shows all sensors found in your system. Click on one of them to find the sensor ID and instance number. Here is an example of my Corsair Platinum AIO:

You can then click on the little [+] icon next to it to expand the sensor entries. That will reveal each available sensor of this device including its Entry ID, unit and values. For example:

SilverAzide has created several skins based in HWiNFO and his HWiNFO.inc file contains a detailed description how to adjust your numbers. I have provide that description below for your convenience.

Edit your HWiNFO.inc File

With these information at hand, you need to edit the HWiNFO.inc file in the @Resources folder.

Let’s look at the example of my AIO. Around line 300 in the above mentioned file you will find this section:

;------------------------------------------------------------------------------
; AIO CPU Cooler
;
;
; Sensor ID and Instance
;
HWiNFO-AIO-SensorId=0xfc04a100
HWiNFO-AIO-SensorInstance=0x8

;
; Entry IDs
;
HWiNFO-AIO-CPUCoolantTemp=0x1000000
HWiNFO-AIO-Fan1=0x3000000
HWiNFO-AIO-Fan2=0x3000001
HWiNFO-AIO-CPUPump=0x3000002

For your AIO, correct the Sensor ID, Sensor Instance and Entry IDs to match your system. If they are the same, good for you. Nothing to change then.

How does Rainmeter know?

For your Rainmeter measure you need to include the HWiNFO.inc file. Then you can refer to the variable names from that file. Here is an example for Fan 1 of my AIO.

[Variables]
@include=#@#HWiNFO.inc

; ----------------------------------------------------------------------- Fan 1

[getAIOFan1]
Measure=Plugin
Plugin=HWiNFO
HWiNFOSensorId=#HWiNFO-AIO-SensorId#
HWiNFOSensorInstance=#HWiNFO-AIO-SensorInstance#
HWiNFOEntryId=#HWiNFO-AIO-Fan1#
HWiNFOType=CurrentValue
MinValue=0
MaxValue=#MaxFan1#
Group=HWiNFO

Note, that the variable names from the HWiNFO.inc file are wrapped in #, e.g. #HWiNFO-AIO-Fan1#.

Is that it ?

Yes, actually. Not super convenient, but yeah, that’s it. So, summarizing it:

  • Start HWiNFO Status Sensor
  • Start Rainmeter
  • Include your HWiNFO.inc file in your skin
  • Design your Rainmeter measures and meters based on it

 

Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *