It is currently March 28th, 2024, 6:43 pm

New to rainmeter

Introduce yourself to the Rainmeter community!
Post Reply
RMooney81
Posts: 6
Joined: February 18th, 2018, 10:59 pm

New to rainmeter

Post by RMooney81 »

Hey guys

I recently built a new PC and am installing a small screen on the case so I can see stats (cpu/gpu/water temps, fan speeds, etc). I downloaded a few skins to try to get a feel for creating skins but it is really confusing. Can you guys point me to a guide to help get quickly started? or if someone is board, create the framework for the layout I am aiming for?

I basically want to make a skin with 6 meters, 3 rows of 2 with the below. I will be using the hw info plugin for data. I have found the correct offsets/sensors for pulling in the data but I cannot get the concept of the overall design/layout for the skins. Hoping to get it to look something like the CAM software (see below)

CPU_Temp CPU_Load
GPU_Temp GPU_Load
Water_Temp Fan_Speed (all radiator fans are on 1 hub so I only need 1 display)

Image
RMooney81
Posts: 6
Joined: February 18th, 2018, 10:59 pm

Re: New to rainmeter

Post by RMooney81 »

I was originally thinking of making a skin with all meters but after finding the below I will make a separate skin for each piece of data I want. I can them freely move them around as needed.

https://rainmeter.deviantart.com/art/gC-Suite-267535155
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: New to rainmeter

Post by balala »

RMooney81 wrote:Can you guys point me to a guide to help get quickly started?
Welcome aboard, RMooney81.
The Help is a very good place to start. First take a look at the followings:
https://docs.rainmeter.net/manual-beta/getting-started/
https://docs.rainmeter.net/manual-beta/getting-started/creating-skins/
https://docs.rainmeter.net/manual-beta/getting-started/skin-anatomy/
https://docs.rainmeter.net/manual-beta/getting-started/basic-tutorials/
There are a lot of things to read. But with a bit of perseverance, Rainmeter isn't hard to be learned.
Take a look at the above descriptions, try to understand them and if you have any specific question, feel free to come back here on the forum and post a question. Usually you'll get quickly an (or more) answer.
RMooney81
Posts: 6
Joined: February 18th, 2018, 10:59 pm

Re: New to rainmeter

Post by RMooney81 »

I have what I was looking for, almost. I attached a screen shot of my rainmeters for my mini PC stat screen. I'd like both pump and fan to show as percentages.

Below is my rainmeter ini for the pump skin, how do I add a formula to make it display as percentage?

RPM range:
Min=800
Max=4800

Code: Select all

[Rainmeter]
Update=1000

[Variables]
Label=Pump
Decimals=1
Postfix=

@include=#ROOTCONFIGPATH#vars.inc

[MeasureMain]
Measure=Plugin
Plugin=HWiNFO.dll
HWiNFOSensorId=0xf7067930
HWiNFOSensorInstance=0x0
HWiNFOEntryId=0x3000003
HWiNFOType=CurrentValue
MinValue=800
MaxValue=4800

@include=#ROOTCONFIGPATH#base.inc
Attachments
Capture.PNG
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: New to rainmeter

Post by eclectic-tech »

You already have the Min/Max values set in the measure, so In your display meter add the line Percentual=1 and Rainmeter will calculate the percentage for you.

Code: Select all

[DisplayRPMPercent]
Meter=String
MeasureName=MeasureMain
Percentual=1
NumOfDecimals=1
P.S. Welcome to the forum! :welcome:
RMooney81
Posts: 6
Joined: February 18th, 2018, 10:59 pm

Re: New to rainmeter

Post by RMooney81 »

Not working. I attached my files and thank you!
Attachments
RM.7z
(1.76 KiB) Downloaded 101 times
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5382
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: New to rainmeter

Post by eclectic-tech »

I do not have your pump hardware so your measure will not work here. However, if I replace the portions of your [MeasurePump] related to HWiNFO with a simple random number between 800 and 4800, the [MeasureMain] string displays the percentage values.

Code: Select all

[MeasurePump]
DynamicVariables=1
Measure=Calc
Formula=Random
LowBound=800
HighBound=4800
; Measure=Plugin
; Plugin=HWiNFO.dll
; HWiNFOSensorId=0xf7067930
; HWiNFOSensorInstance=0x0
; HWiNFOEntryId=0x3000003
; HWiNFOType=CurrentValue
MinValue=800
MaxValue=4800
So the code works, but I would suggest you look at what values your HWiNFO returning; you can see that in the 'Skin' tab of !About. :17flag
RMooney81
Posts: 6
Joined: February 18th, 2018, 10:59 pm

Re: New to rainmeter

Post by RMooney81 »

Thank you eclectic tech! I really want to learn rainmeter but it seems like there are many moving parts. I have 20 years of experience with programming (C, vb/vba) but I'm not fully grasping the different components that make up a meter/ui/data portion of a skin. Do any hello world examples exist for a meter/graph?

Regarding your comment, hwinfo is giving me the rpm of the pump. In bios the pump is set by pwm as a percentage so I'm trying to get my meter to display it that way. Min rpm is 800 max is 4800 so im hoping to do the math to make it as a percent.

And with what you posted with the items commented out, would i just uncomment them for it to work with hwinfo or do i have to do anything else?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: New to rainmeter

Post by jsmorley »

You might start here:

https://docs.rainmeter.net/manual/getting-started/skin-anatomy/

And carry on into the short tutorial pages.

https://docs.rainmeter.net/manual/getting-started/basic-tutorials/

Rainmeter is entirely not like any programming language like C or Visual Basic you have experience with, and I caution against having a mindset that it should be treated like a procedural programming language. Having said that though, the basic idea of Rainmeter is really pretty simple, and it is possible to start with something useful but easy, and layer on complexity as you get the hang of it. The documentation should always be kept at hand, and we are always happy here on the forums to answer any questions you have. We were all new at this at some point.

What worked for me was to find a skin or two either here on the fourms or on deviantART that at least "sort of" does what you have in mind. Then tear that skin apart and see if you can't "tweak" it to do something visually or functionally different. In a fairly short period of time, you will find that the "light comes on", and from then on it's more or less just using the detailed documentation as needed, and asking for help here when you get stuck. You are not alone.

https://docs.rainmeter.net/manual/
RMooney81
Posts: 6
Joined: February 18th, 2018, 10:59 pm

Re: New to rainmeter

Post by RMooney81 »

Got it, thank you! and thanks jsmorley, I will take a look!
IMG_20180227_181834.jpg
Post Reply