Weather not working?

Help with creating, editing & fixing problems with skins

Re: Weather not working?

July 13th, 2016, 1:20 pm
Andyxaspikes
   [1 posts]

Well the best bet I have for you guys to fix it is to download this .ini https://db.tt/LjTUaHPq I created myself.

then edit this line 36 (if you dont know click on "view" status bar)

[ Url=http://wxdata.weather.com/wxdata/weather/local/usfl0204?cc=*&unit=f&dayf=6 ] replace the Undelined/italic with your location data.

Use this to find your code ( https://weather.codes/united-states-of-america/ )

save and that's it. usually the default location or this .ini resides in: C:\Documents\Rainmeter\Skins\Nova\Weather

but check in what drive (Drive letter) did you install the settings.

once you complete this steps it should work.

Please let me know if it does it for you or if you need help with the Vertical.ini.

Re: Weather not working?

July 30th, 2016, 5:01 pm
physchem
   [3 posts]

Code: Select all

[MeasureWeatherRSS]
Measure=Plugin
Plugin=WebParser
URL=http://xml.weather.yahoo.com/forecastrss?p=#WeatherCode#
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=\"(.*)\".*
FinishAction=!SetOption "MString" "Text" "%1°#unit# %2"
UpdateRate=1800


Doesn't seem to work, so I changed

URL=http://xml.weather.yahoo.com/forecastrss?p=#WeatherCode#
to
URL=http://xml.weather.yahoo.com/forecastrss?w=#LocationCode#&u=#Unit#

Still not working. I suspect it's the variables, but I'm not familiar.

Suggestions?
User avatar

Re: Weather not working?

July 31st, 2016, 4:40 am
Massacher
   [1 posts]

jsmorley wrote:Yep that fixes it...

URL=http://weather.yahooapis.com/forecastrss?w=#LocationCode#&u=#Unit#
URL=http://xml.weather.yahoo.com/forecastrss?w=#LocationCode#&u=#Unit#

1.png


Its been a long while since I edited anything in Rainmeter configs. Where do I put this?

Re: Weather not working?

July 31st, 2016, 4:53 pm
pulinshah07
   [43 posts]

Code: Select all

Url=http://wxdata.weather.com/wxdata/weather/local/INXX0087?cc=*&unit=c&dayf=1

Ain't working for the code INXX0087 is for Mumbai, according to weather.com
User avatar

Re: Weather not working?

August 3rd, 2016, 6:24 pm
balala
Rainmeter Sage   [4427 posts]

pulinshah07 wrote:

Code: Select all

Url=http://wxdata.weather.com/wxdata/weather/local/INXX0087?cc=*&unit=c&dayf=1

Ain't working for the code INXX0087 is for Mumbai, according to weather.com

First sorry for the late reply, I just came home after a short holiday.
If you still have the issue, I'm surprised, because the posted URL, as it is, is working well for me. What code are you using? Please post it.
User avatar

Re: Weather not working?

August 3rd, 2016, 6:31 pm
balala
Rainmeter Sage   [4427 posts]

Massacher wrote:Its been a long while since I edited anything in Rainmeter configs. Where do I put this?

Nowhere, because the Yahoo Weather is not working any more. Sorry, but it seems that you'll have to find another weather provider. Eg Url= http://wxdata.weather.com/wxdata/weathe ... cationCode #?cc=*&unit=#Unit#&dayf=1.
User avatar

Re: Weather not working?

August 3rd, 2016, 6:32 pm
balala
Rainmeter Sage   [4427 posts]

physchem wrote:Doesn't seem to work, so I changed

URL=http://xml.weather.yahoo.com/forecastrss?p=#WeatherCode#
to
URL=http://xml.weather.yahoo.com/forecastrss?w=#LocationCode#&u=#Unit#

Still not working. I suspect it's the variables, but I'm not familiar.

Suggestions?

As I wrote above, Yahoo Weather can't be used any more. Sorry...

Re: Weather not working?

August 8th, 2016, 7:45 am
Little2
   [2 posts]

Hello all,

I recently got back into rainmeter and I cannot seem to get my weather skin to work properly. I have done a little research and tried to change a few URL's around, but to no avail. Can anyone provide some help here?

Here is the weather.ini code:

Code: Select all

; Sherlock for Rainmeter v1.0
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
Author=Faiz M
AppVersion=1
Update=1000

[Metadata]
Name=SM 2
Config=
Instructions=Edit the /Weather/Weather.ini file, and replace the weather codes lines 23 and 24. Line 23 is the Yahoo weather code and 24 is the Weather.com code. Both codes can be obtained from their respective sites by searching your city and looking at the URL in the address bar Default is set to New York
Description=Sherlock Skin
Version=1
Tags=Sherlock Holmes
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

[Variables]
fontName=London Tube
textSize=9
YahooWeatherCode=2459115
WeatherCode=USGA0430
colorBar=235,170,0,255
colorText=255,255,255,180
colorGray=214,214,214,255





; ----------------------------------
; Styles
; ----------------------------------




[styleTitle]
StringAlign=LEFT
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[mWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1600
Url=http://wxdata.weather.com/wxdata/weather/local/USGA0430?cc=*&unit=f&dayf=6
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
StringIndex=1

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?w=12587976#&u=f
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

[MeasureWeatherRSSWeatherCom]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=http://wxdata.weather.com/wxdata/weather/local/USGA0430?cc=*&unit=f&dayf=6
RegExp="(?siU)<weather ver=(.*)>(.*)<dnam>(.*)</dnam>(.*)<lat>(.*)</lat>(.*)<lon>(.*)</lon>(.*)<sunr>(.*)</sunr>(.*)<suns>(.*)</suns>(.*)<lsup>(.*)</lsup>(.*)<tmp>(.*)</tmp>(.*)<flik>(.*)</flik>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<r>(.*)</r>(.*)<d>(.*)</d>(.*)<s>(.*)</s>(.*)<d>(.*)</d>(.*)<t>(.*)</t>(.*)<hmid>(.*)</hmid>(.*)<vis>(.*)</vis>(.*)<i>(.*)</i>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)<day d="4" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<ppcp>(.*)</ppcp>(.*)"
StringIndex=1
Debug=1

[styleLeftText]
StringAlign=LEFT
; Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#Font#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleSeperator]
SolidColor=255,255,255,15


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

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



; ----------------------------------
; Elements
; ----------------------------------




[meterBackground]
Meter=IMAGE
ImageName=Background.png
ImageTint=200,200,200,255
ImageAlpha=0
H=210
W=380
X=0
Y=0




[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=10
Y=10
FontColor=#colorText#
FontSize=20
TransformationMatrix=1;0.02;-0.27;1;0;0
StringAlign=left
FontFace=London Tube
AntiAlias=1




[Temp2]
Meter=STRING
X=28r
Y=5
FontSize=27
StringAlign=Left
FontColor=#colorText#
FontFace=London Tube
AntiAlias=1
TransformationMatrix=1;0.02;-0.27;1;0;0
Postfix="°"

[Temp3]
Meter=STRING
X=25r
Y=7
FontSize=21
StringAlign=Left
FontColor=#colorText#
FontFace=London Tube
AntiAlias=1
TransformationMatrix=1;0.02;-0.27;1;0;0
Postfix="|"




[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=80
Y=10
FontColor=#colorText#
FontSize=20
StringAlign=Left
FontFace=#Font#
AntiAlias=1
TransformationMatrix=1;0.02;-0.27;1;0;0


Thanks!
User avatar

Re: Weather not working?

August 8th, 2016, 9:32 am
balala
Rainmeter Sage   [4427 posts]

I recommend to use the [mWeatherRSS] measure and remove the [MeasureWeatherRSS] and [MeasureWeatherRSSWeatherCom] (and obviously their child measures). If you do so, you'll also have to rewrite the [MeasureWeatherTemp] and [MeasureWeatherDesc] measures. With all these changes, your code will look like:

Code: Select all

; Sherlock for Rainmeter v1.0
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
AppVersion=1
Update=1000
BackgroundMode=2
SolidColor=0,0,0,1

[Metadata]
Name=SM 2
Config=
Instructions=Edit the /Weather/Weather.ini file, and replace the weather codes lines 23 and 24. Line 23 is the Yahoo weather code and 24 is the Weather.com code. Both codes can be obtained from their respective sites by searching your city and looking at the URL in the address bar Default is set to New York
Description=Sherlock Skin
Version=1
Tags=Sherlock Holmes
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Author=Faiz M

[Variables]
fontName=London Tube
textSize=9
WeatherCode=USGA0430
Unit=f
colorBar=235,170,0,255
colorText=255,255,255,180
colorGray=214,214,214,255

; ----------------------------------
; Styles
; ----------------------------------

[styleTitle]
StringAlign=LEFT
StringCase=UPPER
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[mWeatherRSS]
Measure=Plugin
Plugin=WebParser
UpdateRate=1600
Url=http://wxdata.weather.com/wxdata/weather/local/#WeatherCode#?cc=*&unit=#Unit#&dayf=6
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>.*<loc id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat>(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<hmid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i>.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(.*)</icon>.*<t>(.*)</t>.*"
StringIndex=1

[styleLeftText]
StringAlign=LEFT
; Meters using styleLeftText will be left-aligned.
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#Font#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleSeperator]
SolidColor=255,255,255,15

[MeasureWeatherTemp]
Measure=Plugin
Plugin=WebParser
Url=[mWeatherRSS]
StringIndex=17

[MeasureWeatherDesc]
Measure=Plugin
Plugin=WebParser
Url=[mWeatherRSS]
StringIndex=19

; ----------------------------------
; Elements
; ----------------------------------

[meterBackground]
Meter=IMAGE
ImageName=Background.png
ImageTint=200,200,200,255
ImageAlpha=0
H=210
W=380
X=0
Y=0

[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=10
Y=10
FontColor=#colorText#
FontSize=20
TransformationMatrix=1;0.02;-0.27;1;0;0
StringAlign=left
FontFace=London Tube
AntiAlias=1

[Temp2]
Meter=STRING
X=28r
Y=5
FontSize=27
StringAlign=Left
FontColor=#colorText#
FontFace=London Tube
AntiAlias=1
TransformationMatrix=1;0.02;-0.27;1;0;0
Postfix="°"

[Temp3]
Meter=STRING
X=25r
Y=7
FontSize=21
StringAlign=Left
FontColor=#colorText#
FontFace=London Tube
AntiAlias=1
TransformationMatrix=1;0.02;-0.27;1;0;0
Postfix="|"

[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=80
Y=10
FontColor=#colorText#
FontSize=20
StringAlign=Left
FontFace=#Font#
AntiAlias=1
TransformationMatrix=1;0.02;-0.27;1;0;0

Also note the followings:
  • The Author option newer belongs to the [Metadata] section, not to [Rainmeter] (it's deprecated there). That's why I moved it there (although leaving it there don't cause any trouble).
  • I added two new options to the [Rainmeter] section:

    Code: Select all

    [Rainmeter]
    ...
    BackgroundMode=2
    SolidColor=0,0,0,1

    These options create a transparent background to the skin. With this, will be easier to right click to the skin.
  • Since in the [Variables] section is declared a WeatherCode variable, I used it in the URL option of the [mWeatherRSS] measure and also declared a Unit variable (also used in the URL option).
It seems that the Yahoo Weather is not working any more. That's why you can't use the [MeasureWeatherRSS] measure (I removed it).
On the other hand, [MeasureWeatherRSSWeatherCom] used the same URL as [mWeatherRSS], so you didn't need both. Due to this, I also removed the [MeasureWeatherRSSWeatherCom] measure.
Please let me know if this helped.

Re: Weather not working?

August 8th, 2016, 11:54 am
Little2
   [2 posts]

Worked perfectly, thank you!!

Return to “Help: Rainmeter Skins”



Who is online

Users browsing this forum: Bing [Bot] and 2 guests