I've modified this example skin to just show the current temperature and condition and even though I got the right location code for my city it's displaying a wrong temperature. As you can see in the screenshot, my code is 3386 and that's what the variable is set to, but it's displaying the wrong temperature somehow.
The location code, and you can see that it's actually 28°C
The actual output of the skin
And here's the entire .ini
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Metadata]
Name=WXDataTutorial
Author=JSMorley
Version=Apr 19, 2016
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Information=Example skin demonstrating how to create a|weather skin using the feed from weather.com
[Variables]
@IncludeVars=#@#WXDataWeatherVars.inc
@IncludeRegExp=#@#WXDataWeatherRegExp.inc
; Get the entire feed as a "super parent"
[WeatherParent]
Measure=Plugin
Plugin=WebParser
URL=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysFeed#&locale=#Locale#
RegExp=(?siU)^(.*)$
FinishAction=[!EnableMeasureGroup Weather]
; Using the "super parent", get the various parent and child measures for our desired data
; See WXDataCheatSheet.txt in @Resources\WXDataHelp
[LocationParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Location#
Disabled=1
[CityNameChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[LocationParent]
StringIndex=2
Disabled=1
[UnitsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#UnitsOfMeasure#
Disabled=1
[UnitsTempChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=3
Disabled=1
[UnitsSpeedChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=5
Disabled=1
[CurrentConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentConditions#
Disabled=1
[CurrentTempChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=3
Disabled=1
[CurrentConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=5
Disabled=1
[CurrentIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=6
Disabled=1
[TodayGeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayGeneral#
Disabled=1
[TodayLowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=5
Disabled=1
[TodayHighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=4
Disabled=1
; Meters
;[MeterCurrentIcon]
;Meter=Image
;Y=0
;W=78
;H=78
;ImagePath=#@#WeatherIcons
;MeasureName=CurrentIconChild
[MeterBar]
Meter=Image
ImageName=cloud.png
[MeterCurrentTemp]
Meter=String
MeasureName=CurrentTempChild
MeasureName2=UnitsTempChild
MeasureName3=CurrentConditionsChild
X=20
Y=4
FontFace=Lemon
FontSize=6
FontColor=255,255,255,255
SolidColor=0,0,0,1
StringAlign=Left
AntiAlias=0
Text=%1 degrees and %3
;[MeterLine]
;Meter=Image
;X=65
;Y=0R
;W=123
;H=1
;SolidColor=255,255,255,255
;[MeterCurrentConditions]
;Meter=String
;MeasureName=CurrentConditionsChild
;X=188
;Y=7R
;FontSize=15
;FontColor=255,255,255,255
;SolidColor=0,0,0,1
;StringAlign=Right
;AntiAlias=1
;[MeterTodayLowHigh]
;Meter=String
;MeasureName=TodayLowChild
;MeasureName2=TodayHighChild
;X=188
;Y=5R
;FontSize=11
;FontColor=255,255,255,255
;SolidColor=0,0,0,1
;StringAlign=Right
;AntiAlias=1
;Text=Low %1° High %2°