Thread Closed 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rainmeter plug-in for HWiNFO
10-06-2012, 12:50 PM (This post was last modified: 10-06-2012 11:02 PM by stangowner.)
Post: #1
Rainmeter plug-in for HWiNFO
A HWiNFO plug-in for Rainmeter is now available and can be downloaded from here:

1.1.0 - 2/4/2013 - added HWiNFOType parameter - please see third post for instrcutions
http://www.hwinfo.com/files/RainmeterPlu...1.0.rmskin

1.0.1 - 10/16/2012 - resolves an an issue on 32 bit systems where values were not returned properly - no changes for 64 bit
http://www.hwinfo.com/files/RainmeterPlu...0.1.rmskin

1.0 - 10/6/2012
http://www.hwinfo.com/files/RainmeterPlu...1.0.rmskin


Pre-Requisites
To use this plugin, you need to ensure HWiNFO's sensors are running and "Shared Memory Support" is enabled in the HWiNFO settings.

Installation
To install the skin, simply run the downloaded .rmskin file. You should be presented with the following:
[Image: HWiNFO-Rainmeter-Skin.png]
Please Note: This included skin does not demonstrate the full capabilities of HWiNFO and this plugin. It is included simply to demonstrate how to use this plugin.

If you will continue to use the included skin (or create one based on this), then you must check the measure IDs included with the skin against the IDs for your hardware. It is possible the values on your PC do not match the ones in the skin. To find the correct ID, please read the instructions below. The IDs can be updated in the skin by doing the following:
Right click the Rainmeter icon in the system tray and select HWiNFO->Edit Skin. Then replace the HWiNFOxxxxxxxxID values at the top of the file in the "HWiNFO Sensor Reading IDs" section.

Creating Rainmeter Measures
There is only 1 required parameter needed to create a HWiNFO measure for use in your skin - the HWiNFOID parameter. The Measure and Plugin parameters are always required by Rainmeter and will not change. So to create a measure for CPU usage, you can do the following:
Code:
[HWiNFOCPU0Usage]
Measure=Plugin
Plugin=Plugins\HWiNFO.dll
HWiNFOID=1007030

Optionally, you can also add min & max values if you need (or any other valid Rainmeter measure parameters):
Code:
[HWiNFOCPU0Usage]
Measure=Plugin
Plugin=Plugins\HWiNFO.dll
HWiNFOID=1007030
MinValue=0
MaxValue=100

Now you can use this measure in any meter(s) you choose.

The HWiNFOID is a unique ID for the particular sensor reading in HWiNFO, and varies depending on the hardware in your PC. To get this ID, you must run the included "Documents\Rainmeter\Skins\HWiNFO\@Resources\HWiNFOSharedMemoryViewer.exe" file. If you are using the included skin, clicking the HWiNFO icon at the top left will launch this program for you. You are presented a list of sensors and individual readings just like the main HWiNFO sensors screen. Select the reading you are interested in, and the ID will be shown at the bottom right. This is the ID value to use when defining the HWiNFOID parameter for your measures.

For instance, this is the ID that would be used on my system when creating a measure to show the CPU Core Max Temperature.
[Image: HWiNFOSharedMemoryViewer.png]


For more information on creating skins, please see the Rainmeter documentation here:
http://rainmeter.net/cms/Rainmeter101-SkinTutorials
http://rainmeter.net/cms/Meters

Skin Authors: The plugin is included in the "Documents\Rainmeter\Skins\HWiNFO\@Resources\RedistrutablePlugin" folder. Feel free to use it in your own works. If you create a skin that you think others may want to use, kindly mention it in this thread.

If you have any questions or issues, please let me know.

Thanks!
Nick
Find all posts by this user
10-06-2012, 07:52 PM
Post: #2
RE: Rainmeter plug-in for HWiNFO
Thanks Nick. Great work!
Visit this user's website Find all posts by this user
02-04-2013, 02:13 PM
Post: #3
Rainmeter plug-in for HWiNFO v1.1.0
This plug-in and skin for Rainmeter has been updated to version 1.1.0. It now includes the capability to display the sensor name, entry name and entry units. To return these values, you must define the new optional parameter in your skin - HWiNFOType. Please note, the HWiNFOID parameter is still required.

Below are the valid arguments for the HWiNFOType parameter:
1 - SensorName - the name if the sensor containing reading specified in the HWiNFOID
2 - EntryName - the name of the reading specified in the HWiNFOID
3 - Value - returns the current reading value of the specified sensor entry
4 - Units - returns the units (%, °C, etc)
* if this parameter is not specified, it will continue to return the value as in the previous version of this plug-in
** if any other value besides those listed above is provided, an empty string will be returned

Here is a picture displaying what values will be returned based on the argument provided above.
[Image: HWiNFOType.png]

Here is an example that will return the GPU name of a system equipped with an nvidia graphics card:
Code:
[HWiNFOGPU0UsageName]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOID=#HWiNFOGPU0UsageID#
HWiNFOType=SensorName
Substitute="GPU [#0]: ":"",": NVAPI":""
UpdateDivider=30

The full hierarchical sensor name is returned. If you would like to display the shorter name, you may use the Rainmeter 'Substitue' parameter to modify it as needed. In this example, the plugin will return GPU [#0]: nVIDIA GeForce GTX 550 Ti (GF116): NVAPI, but by specifying Substitute="GPU [#0]: ":"",": NVAPI":"" then we change the value displayed in the skin to nVIDIA GeForce GTX 550 Ti (GF116). There were some updates to the sensor names in HWiNFO 4.12, so please update to the latest version of HWiNFO to make use of the new standard naming convention.

In this example, the measure also specifies UpdateDivider=30. There is no need for these static strings to refresh every second and waste CPU resources. However, please note that if Rainmeter is launched before HWiNFO then the skin will not display the names. By setting this value to 30, instead of -1, we ensure it will be displayed properly within 30 seconds without the user needing to manually refresh the skin.

You can download version 1.1.0 here

- Nick
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)