It is currently April 25th, 2024, 1:11 pm

Somebody Help me make this weather config work!

Get help with creating, editing & fixing problems with skins
dakotascott7309
Posts: 1
Joined: July 28th, 2010, 2:07 pm

Somebody Help me make this weather config work!

Post by dakotascott7309 »

Im super new to rainmeter and I cant get this thing to work. Ive tried looking up my weather code on weather.com and yahoo! but im not sure if im using the right one.

If somebody could just look up my weather code and send back this config code so itll work that would be so amazing thank you.

I live in Edinboro, Pennsylvania, United States. zip code 16412

weather config code:

Code: Select all

;P I L E U S
;World Weather
;by Jack Beloved [ http://livinglightningrod.deviantart.com/ ]

[Rainmeter]
Author=Jack Beloved [ jackbeloved@gmail.com ]
Update=30000
MiddleMouseDownAction=!RainmeterRefresh #CURRENTCONFIG#


;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=Pileus Double Notes
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

@include=#SKINSPATH#Pileus\Resources\Variables\PileusVariables.inc


;-----Weather--------------------

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?p=USPA0472&u=#Unit#
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11

[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

[MeasureWeatherDesc2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9

[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13

[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15

[MeasureWeatherDesc3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9

[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16

[MeasureLocation]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=http://weather.yahooapis.com/forecastrss?p=#WorldWeatherCode#&u=#Unit#
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*country=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=2
UpdateRate=86400

[MeasureState]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureLocation]
StringIndex=3

[MeasureTime]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureLocation]
StringIndex=4


; ------------------------------------------------------------------------------------------------
; METERS


[Backing]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=0
Y=0
W=(#IconSize# + 175)
H=60

[Icon]
Meter=IMAGE
ImageName=#SkinsPath#\Pileus\Resources\Images\Icon Set #Icon Set#\#IconWorldWeather#.png
X=r
Y=r
W=#IconSize#
H=#IconSize#
AntiAlias=1
LeftMouseDownAction=!Execute [!RainmeterShowMeter IconActive][!RainmeterHideMeter Icon][!RainmeterRedraw]

[IconActive]
Meter=IMAGE
ImageName=#SkinsPath#\Pileus\Resources\Images\Icon Set #Icon Set#\#IconActive#.png
X=r
Y=r
W=#IconSize#
H=#IconSize#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!Execute [!RainmeterShowMeter Icon][!RainmeterHideMeter IconActive][[MeasureWeatherRSS]][!RainmeterRedraw]

[IconBack2]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=r
Y=r
W=#IconSize#
H=#IconSize#

[Title1]
Meter=STRING
X=#IconSize#r
Y=7r
FontColor=#TitleColor#
FontFace=#TitleFont#
FontSize=#TitleHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
Text="World"

[Title2Back]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=r
Y=r
W=50
H=14
LeftMouseDownAction=!Execute [!RainmeterShowMeter Title2BackActive][!RainmeterHideMeter Title2Back][!RainmeterHideMeter Date2][!RainmeterHideMeter Temp2][!RainmeterHideMeter Desc2][!RainmeterHideMeter Date3][!RainmeterHideMeter Temp3][!RainmeterHideMeter Desc3][!RainmeterRedraw]

[Title2BackActive]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=r
Y=r
W=50
H=14
Hidden=1
LeftMouseDownAction=!Execute [!RainmeterShowMeter Title2Back][!RainmeterHideMeter Title2BackActive][!RainmeterShowMeter Date2][!RainmeterShowMeter Temp2][!RainmeterShowMeter Desc2][!RainmeterShowMeter Date3][!RainmeterShowMeter Temp3][!RainmeterShowMeter Desc3][!RainmeterRedraw]

[State]
Meter=STRING
MeasureName=MeasureState
X=175r
Y=4r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=RIGHT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1

[Location]
Meter=STRING
MeasureName=MeasureLocation
X=-15r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=RIGHT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PreFix="...in "
PostFix=","
Hidden=#ShowStats#

[Separator1]
Meter=IMAGE
SolidColor=#BarColor1#
X=-160r
Y=14r
H=1
W=175
Hidden=#ShowLine#

[Separator2]
Meter=IMAGE
SolidColor=#BarColor1#
X=r
Y=2r
H=1
W=175
Hidden=#ShowLine#

[Today]
Meter=STRING
MeasureName=MeasureTime
X=r
Y=7r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=Normal
AntiAlias=1
Text="%1:"
Hidden=#ShowStats#

[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=50r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=BOLD
AntiAlias=1
Postfix="°"
Hidden=#ShowStats#

[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=125r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=RIGHT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PreFix="It's "
PostFix="."
Hidden=#ShowStats#

[Date2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=-175r
Y=12r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PostFix=" :"
Hidden=#ShowStats#

[Temp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=50r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
Postfix="°"
Hidden=#ShowStats#

[Desc2]
MeasureName=MeasureWeatherDesc2
Meter=STRING
X=125r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=RIGHT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PreFix="It'll be "
PostFix="."
Hidden=#ShowStats#

[Date3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=-175r
Y=12r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PostFix=" :"
Hidden=#ShowStats#

[Temp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=50r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
Postfix="°"
Hidden=#ShowStats#

[Desc3]
MeasureName=MeasureWeatherDesc3
Meter=STRING
X=125r
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=#FontHeight#
StringAlign=RIGHT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PreFix="It'll be "
PostFix="."
Hidden=#ShowStats#
User avatar
karmat
Posts: 329
Joined: July 7th, 2009, 11:10 pm
Location: Canada

Re: Somebody Help me make this weather config work!

Post by karmat »

Read Chewtoy's posting on how to do this at http://rainmeter.net/forum/viewtopic.php?f=5&t=4873&p=32667#p32667 it explains it perfectly.
User avatar
tru
Posts: 169
Joined: January 12th, 2010, 4:24 am
Location: A Salty Piece of Land...

Re: Somebody Help me make this weather config work!

Post by tru »

Look in your Skins folder under Pileus/Resources/Variables. Look under Weather in the Variables this is what you will
see. :)


;_____ W E A T H E R _________

;If you're in the US, your zip code is your weather code.
;If you're international, like me, you might be able to find your weather code
;here: http://aspnetresources.com/tools/locid.aspx
WeatherCode=JAXX0003

;This is for a second location, to see the what the weather's like over there.
WorldWeatherCode=78412

;f is for Farenheit, c is for Celsius.
Unit=f