I am new to rainmeter "coding" so please go with ease on me .
I am messing around with illustro skin and in particular with the Network.ini.
My goal is to obtain info from an arduino and pass this info (through a python program which modifies the .ini with the new variables (in this case temp and humi)) and then refreshes the skin.
As you ll see in my "code" i have it working but the problem is with the meterBar. I could easily take it out but i thought why not? And then 3 hours later after modifying and reading every topic in case i find anything i realized that i failed miserably. Please can anyone point the mistake i have made? I am almost certain that the problem is somewhere here:
Code: Select all
[measureHumiforBar]
Measure=#humi#
max_Humi=#maxHumi#
[measureTempforBar]
Measure=#temp#
Max_Temp=#maxTemp#
Code: Select all
[Rainmeter]
Update=1000
Background=#@#Background.png
BackgroundMode=3
BackgroundMargins=0,34,0,14
[Variables]
temp = 25
humi = 79
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205
maxHumi=100
MaxTemp=45
[measureIP]
Measure=Plugin
Plugin=WebParser
URL=https://checkip.amazonaws.com/
UpdateRate=14400
RegExp=(?siU)^(.*)$
StringIndex=1
Substitute="":"N/A"
[measureHumiforBar]
Measure=#humi#
max_Humi=#maxHumi#
[measureTempforBar]
Measure=#temp#
Max_Temp=#maxTemp#
[styleTitle]
StringAlign=Center
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1
[styleLeftText]
StringAlign=Left
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText]
StringAlign=Right
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15
[styleSeperator]
SolidColor=255,255,255,15
[meterTitle]
Meter=String
MeterStyle=styleTitle
X=100
Y=12
W=190
H=18
Text=Indoor Sensors
[meterIPLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text=Something else here
[meterIPValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureIP
X=200
Y=0r
W=190
H=14
Text=%1
[meterSeperator]
Meter=Image
MeterStyle=styleSeperator
X=10
Y=52
W=190
H=1
[meterUploadLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text=Temperature
[meterUploadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureTempforBar
X=200
Y=0r
W=190
H=14
Text=#temp# °C
AutoScale=1
[meterUploadBar]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureTempforBar
X=10
Y=72
W=190
H=1
[meterDownloadLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=80
W=190
H=14
Text=Humidity
[meterDownloadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureHumiforBar ; Or does the problem occur here?
X=200
Y=0r
W=190
H=14
Text=#humi# °%
AutoScale=1
[meterDownloadBar]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureHumiforBar ; Or here?
X=10
Y=92
W=190
H=1
Thank you in advance even for reading my question.
Cheers,
Jim