It is currently October 12th, 2024, 3:16 am

Simple WiFI skin

Skins that monitor system information
User avatar
jsmorley
Developer
Posts: 22850
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Simple WiFI skin

Post by jsmorley »

Just to demonstrate using the WiFiStatus plugin.
WiFiSignal_1.0.rmskin

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Metadata]
Name=WiFiSignal
Author=JSMorley
Version=Nov 30, 2014
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Information=Example of WiFi Signal Quality||Set AdapterIndex to "0" or "1" as needed on your system.

[Variables]
AdapterIndex=1

[MeasureInternet]
Measure=Plugin
Plugin=SysInfo
SysInfoType=INTERNET_CONNECTIVITY
UpdateRate=20
IfAboveValue=-1
IfAboveAction=[!SetOption MeterQuality ImageName "[*MeasureQualityRange*].png"]
IfEqualValue=-1
IfEqualAction=[!SetOption MeterQuality ImageName "[*MeasureQualityRange*]Limited.png"]

[MeasureIPLan]
Measure=Plugin
Plugin=SysInfo
SysInfoType=IP_ADDRESS
SysInfoData=#AdapterIndex#

[MeasureRouter]
Measure=Plugin
Plugin=SysInfo
SysInfoType=GATEWAY_ADDRESS
SysInfoData=#AdapterIndex#

[MeasureIPWeb]
Measure=Plugin
Plugin=WebParser
URL=http://icanhazip.com/
RegExp=(?siU)^(.*)$
StringIndex=1
UpdateRate=60

[MeasureQuality]
Measure=Plugin
Plugin=WifiStatus
WiFiInfoType=Quality

[MeasureQualityRange]
Measure=Calc
Formula=MeasureQuality < 20 ? 1 : (MeasureQuality < 40 ? 2 : (MeasureQuality < 60 ? 3 : (MeasureQuality < 80 ? 4 : 5)))

[MeasureSSID]
Measure=Plugin
Plugin=WifiStatus
WiFiInfoType=SSID
RegExpSubstitute=1
SubStitute="^-1$":"No Connection"
IfMatch=^No Connection$
IfMatchAction=[!SetOption MeterQuality ImageName "NoConnect.png"]
IfNotMatchAction=[!SetOption MeterQuality ImageName "[*MeasureQualityRange*].png"]

[MeterQuality]
Meter=Image
W=32
PreserveAspectRatio=1
ImagePath=#@#Images\
ImageName=[MeasureQualityRange].png
DynamicVariables=1
ToolTipTitle=WiFi Status
ToolTipText=Quality	[MeasureQuality]#CRLF#SSID	[MeasureSSID]#CRLF#Router	[MeasureRouter]#CRLF#LAN IP	[MeasureIPLan]#CRLF#WAN IP	[MeasureIPWeb]
2014-11-30_211749.jpg
Images.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
JohnBurns
Posts: 63
Joined: February 11th, 2011, 4:18 pm
Location: Oklahoma City

Re: Simple WiFI skin

Post by JohnBurns »

Thank you - appreciate your work in here! :thumbup:
Windows 10 Version 20H2 (OS Build 19042.870)
44))Realtime: Windows Defender, McAfee Total Access-Total Protection, Malwarebytes, WiseVector, HMP Alert, UAC Highest Level
OnDemand: Adwcleaner, MRT, Emsisoft EEK
Crest
Posts: 150
Joined: August 16th, 2013, 12:47 pm

Re: Simple WiFI skin

Post by Crest »

Beautiful work as usual *thumbs up*