Here is the intended behavior with Ethernet enabled:
Here is the intended behavior with Ethernet disabled and Wifi enabled:
If I disable the Ethernet adapter enabled and wifi on, this is what happens:
A manual refresh of the skin corrects it to display what the second image shows.
In reverse, if I enable the Ethernet adapter, I get this:
The issue is, the broadcom is the Wifi adapter, and the correct adapter is (Intel[R] Ethernet Connection 1218-V). Again, a manual refresh corrects the issue.
Here is the code:
Code: Select all
; ____________ .__ /\ ____ __________ .__
;_ \_____ \_____ |__| ___)/ ______ \ \/ |_____ \ __ __|__|
; | |/ ____/\__ \ | |/ \ / ___/ \ / / ____/| | \ |
; | / \ / __ \| | | \\___ \ / \/ \| | / |
; |___\_______ (____ /__|___| /____ > /___/\ \_______ \____/|__|
; \/ \/ \/ \/ \_/ \/
[Metadata]
Author=12a!n
[Rainmeter]
Update=100
AccurateText=1
DynamicWindowSize=1
[Variables]
BestInterface=Best
[MeterBackground]
Meter=Image
ImageName=#@#Images\Netbox.png
W=453
X=9
Y=56
[IndicatorIn]
Meter=Image
ImageName=#@#Images\Net.png
AntiAlias=1
ImageFlip=Vertical
DynamicVariables=1
ImageTint=90,127,136
X=15
Y=62
W=12
[IndicatorOut]
Meter=Image
ImageName=#@#Images\Net.png
AntiAlias=1
DynamicVariables=1
ImageTint=90,127,136
X=213R
Y=r
W=12
[NetIn]
Measure=Plugin
Plugin=UsageMonitor
Interface=#BestInterface#
Category=Network Adapter
Counter=Bytes Received/sec
Index=1
[NetOut]
Measure=Plugin
Plugin=UsageMonitor
Interface=#BestInterface#
Category=Network Adapter
Counter=Bytes Sent/sec
Index=1
[NetInScaled]
Measure=Calc
Formula=NetIn
IfCondition=NetInScaled > 13107
IfTrueAction=[!SetOption IndicatorIn ImageTint 251,134,80]
IfFalseAction=[!SetOption IndicatorIn ImageTint 90,127,136]
[NetOutScaled]
Measure=Calc
Formula=NetOut
IfCondition=NetOutScaled > 13107
IfTrueAction=[!SetOption IndicatorOut ImageTint 251,134,80]
IfFalseAction=[!SetOption IndicatorOut ImageTint 90,127,136]
[NetworkTrafficGraphLineIn]
Meter=Line
MeasureName=NetIn
X=10
Y=84
H=50
W=226
LineCount=1
LineColor=130,209,222
AutoScale=1
AntiAlias=1
[NetGraphHistogramInCompare]
Meter=HISTOGRAM
MeasureName=NetOut
X=10
Y=84
H=50
W=226
AutoScale=1
PrimaryColor=151,188,196,50
AntiAlias=1
[MeterNetIn]
Meter=String
MeasureName=NetInScaled
FontFace=Denton
FontColor=130,209,222
FontSize=10
AntiAlias=1
NumOfDecimals=1
X=35
Y=60
Scale=131072
Text=%1 Mbps
InlinePattern=\.
InlineSetting=Color | 251,134,80
InlinePattern2=Mbps
InlineSetting2=Color | 251,134,80
[NetworkTrafficGraphLineOut]
Meter=Line
MeasureName=NetOut
X=234
Y=84
H=50
W=226
LineCount=1
LineColor=130,209,222
AutoScale=1
AntiAlias=1
[NetGraphHistogramOutCompare]
Meter=HISTOGRAM
MeasureName=NetIn
X=234
Y=84
H=50
W=226
AutoScale=1
PrimaryColor=151,188,196,50
AntiAlias=1
[MeterNetOut]
Meter=String
MeasureName=NetOutScaled
FontFace=Denton
FontColor=130,209,222
FontSize=10
AntiAlias=1
NumOfDecimals=1
X=262
Y=60
Scale=131072
Text=%1 Mbps
InlinePattern=\.
InlineSetting=Color | 251,134,80
InlinePattern2=Mbps
InlineSetting2=Color | 251,134,80
[MeasureLAN]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=IP_ADDRESS
SysInfoData=0
SysInfoData=#BestInterface#
[MeasureWANIP]
Measure=Plugin
Plugin=Plugins\WebParser.dll
URL=http://checkip.dyndns.org
RegExp="(?siU)<body>(.+)Address: (.+)</body>"
UpdateRate=300
StringIndex=2
SysInfoData=#BestInterface#
[MeasureDNS]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=DNS_SERVER
SysInfoData=0
[MeterDividerLineNetwork]
Meter=Image
ImageName=#@#Images\IfaceSperatorsNetwork.png
W=454
X=9
Y=55
[TRAFICANALYSISSTRING]
Meter=STRING
X=15
Y=43
FontFace=Denton
FontColor=71,100,107
FontSize=8
AntiAlias=1
Text=NETWORK TRAFFIC ANALYSIS
UpdateDivider=-1
[IPSTRINGDESC]
Meter=STRING
X=15
Y=98R
FontFace=Denton
FontColor=71,100,107
FontSize=8
AntiAlias=1
Text="LANIP: WANIP: DNS:"
UpdateDivider=-1
InlinePattern=:
InlineSetting=Color | 251,134,80
[LANIP]
MeasureName=MeasureLAN
Interface=#BestInterface#
Meter=STRING
X=72
Y=r
FontFace=Denton
FontColor=130,209,222
FontSize=8
AntiAlias=1
InlinePattern=\.
InlineSetting=Color | 251,134,80
[WAN]
MeasureName=MeasureWANIP
Interface=#BestInterface#
Meter=STRING
X=227
Y=r
FontFace=Denton
FontColor=130,209,222
FontSize=8
AntiAlias=1
InlinePattern=\.
InlineSetting=Color | 251,134,80
DynamicVariables=1
[MaskInvisible]
Meter=Image
SolidColor=0,0,0,1
X=r
Y=r
W=100
H=15
LeftMouseUpAction=[!ToggleMeter Mask][!Redraw]
[Mask]
Meter=Image
SolidColor=0,0,0,255
X=r
Y=r
W=100
H=15
MouseOverAction=[!SetOption Mask SolidColor 0,0,0,0,][!Redraw]
MouseLeaveAction=[!SetOption Mask SolidColor 0,0,0,255][!Redraw]
LeftMouseUpAction=[!ToggleMeter Mask][!Redraw]
DynamicVariables=1
[DNS]
MeasureName=MeasureDNS
Meter=STRING
X=372
Y=r
FontFace=Denton
FontColor=130,209,222
FontSize=8
AntiAlias=1
InlinePattern=\.
InlineSetting=Color | 251,134,80
[MeasureAdapterDesc]
Measure=Plugin
Plugin=SysInfo
SysInfoType=ADAPTER_DESCRIPTION
SysInfoData=#BestInterface#
DynamicVariables=1
OnChangeAction=[!UpdateMeter MeterAdapterDisplay][!UpdateMeter *][!Redraw]
[MeasureWifi]
Measure=Plugin
Plugin=WiFiStatus
WiFiInfoType=SSID
[Measure.Signal]
Measure=Plugin
Plugin=WiFiStatus
WiFiInfoType=Quality
[Measure.SignalQuality]
Measure=Calc
Formula=Measure.Signal/100
[MeasureAdapter]
Measure=Plugin
Plugin=SysInfo
SysInfoData=#BestInterface#
SysInfoType=ADAPTER_TYPE
DynamicVariables=1
IfMatch=Wireless
IfMatchAction=[!ShowMeter Meter.SSID][!SetOption Meter.Signal_Quality Text "SIGNAL: %1%"][!HideMeter MeterEthernet][!UpdateMeter *][!Redraw]
IfNotMatchAction=[!HideMeter Meter.SSID][!ShowMeter MeterEthernet][!HideMeter Meter.Signal_Quality][!HideMeter MeterWifi][!UpdateMeter *][!Redraw]
[MeasureAdapterNM]
Measure=Plugin
Plugin=SysInfo
SysInfoType=NET_MASK
[MeasureAdapterLC]
Measure=Plugin
Plugin=SysInfo
SysInfoType=LAN_CONNECTIVITY
DynamicVariables=1
Substitute="1":"CONNECTED","-1":"DISCONNECTED"
[MeasureAdapterIC]
Measure=Plugin
Plugin=SysInfo
SysInfoType=INTERNET_CONNECTIVITY
DynamicVariables=1
Substitute="1":"CONNECTED","-1":"DISCONNECTED"
IfCondition=MeasureAdapter > -1
[MeterAdapterDisplay]
MeasureName=MeasureAdapterDesc
Interface=#BestInterface#
Meter=STRING
X=503
Y=53
FontFace=Denton
StringCase=UPPER
FontColor=130,209,222
FontSize=8
AntiAlias=1
InlinePattern=INTEL
InlineSetting=Color | 251,134,80
InlinePattern2=BROADCOM
InlineSetting2=Color | 251,134,80
DynamicVariables=1
[MeterWifi]
Meter=String
X=r
Y=66
FontFace=Denton
StringCase=UPPER
FontColor=90,127,136
FontSize=8
AntiAlias=1
Text="TYPE: WIFI"
InlinePattern=:
InlineSetting=Color | 130,209,222
InlinePattern2=:(.*)
InlineSetting2=Color | 251,134,80
DynamicVariables=1
[MeterEthernet]
Meter=String
X=r
Y=2R
FontFace=Denton
StringCase=UPPER
FontColor=90,127,136
FontSize=8
AntiAlias=1
Text="TYPE: ETHERNET"
InlinePattern=:
InlineSetting=Color | 130,209,222
InlinePattern2=:(.*)
InlineSetting2=Color | 251,134,80
DynamicVariables=1
[Meter.Signal_Quality]
MeasureName=Measure.Signal
Meter=String
X=r
Y=R
FontFace=Denton
StringCase=UPPER
FontColor=90,127,136
FontSize=8
AntiAlias=1
Text="SIGNAL: %1%"
InlinePattern=:
InlineSetting=Color | 130,209,222
InlinePattern2=:(.*)
InlineSetting2=Color | 251,134,80
DynamicVariables=1
[MeterAdapter3]
MeasureName=MeasureAdapterNM
Meter=STRING
X=r
Y=2R
FontFace=Denton
StringCase=UPPER
FontColor=90,127,136
FontSize=8
AntiAlias=1
Text=NET MASK: %1
InlinePattern=:
InlineSetting=Color | 130,209,222
InlinePattern2=:(.*)
InlineSetting2=Color | 251,134,80
InlinePattern3=\.
InlineSetting3=Color | 130,209,222
[MeterAdapter4]
Meter=STRING
MeasureName=MeasureAdapterLC
X=r
Y=2R
FontFace=Denton
StringCase=UPPER
FontColor=90,127,136
FontSize=8
AntiAlias=1
Text=LAN: %1
InlinePattern=:
InlineSetting=Color | 130,209,222
InlinePattern2=:(.*)
InlineSetting2=Color | 251,134,80
[MeterAdapter5]
Meter=STRING
MeasureName=MeasureAdapterIC
X=r
Y=2R
FontFace=Denton
StringCase=UPPER
FontColor=90,127,136
FontSize=8
AntiAlias=1
Text=INTERNET: %1
InlinePattern=:
InlineSetting=Color | 130,209,222
InlinePattern2=:(.*)
InlineSetting2=Color | 251,134,80