It is currently April 27th, 2024, 11:52 pm

Weather not working?

Get help with creating, editing & fixing problems with skins
User avatar
Kei
Posts: 13
Joined: July 29th, 2014, 7:36 pm
Location: BC, Canada

Re: Weather not working?

Post by Kei »

fonpaolo wrote:To complete the information, pay attention that the last part &dayf=0 means that only the informations for the current day are displayed.
If your skin displays two or more days, you need to verify it and change the number accordingly.
It's not fixing mine :(

I use http://customize.org/rainmeter/skins/63247 if it matters. I'm really clueless about this stuff, unfortunately.
User avatar
Oleg_M
Posts: 23
Joined: June 19th, 2010, 7:24 am
Location: Leningrad, USSR

Re: Weather not working?

Post by Oleg_M »

Hello dear friends!
I have problem in 4 days with display of degrees of weather Saint-Petersburg (Russia) please help me. Thank you very much!!!!
Weather.jpg
You do not have the required permissions to view the files attached to this post.
careo
Posts: 1
Joined: May 16th, 2016, 1:11 pm

Re: Weather not working?

Post by careo »

Oleg_M wrote:Hello dear friends!
I have problem in 4 days with display of degrees of weather Saint-Petersburg (Russia) please help me. Thank you very much!!!!
Weather.jpg
this skin has been updated yesterday http://raidero1.deviantart.com/art/Weather-Sun-RUS-280684198 но так, на будущее, если старые погодные скины не пашут, в *.ini файле при редактировании нужно заменять индекс адреса сайта с

Url=http://xml.weather.com/weather/local/.......
на
Url=http://wxdata.weather.com/wxdata/weather/local/.....
конечная часть ссылки с локацией, мерой температуры и днем не изменится
User avatar
Oleg_M
Posts: 23
Joined: June 19th, 2010, 7:24 am
Location: Leningrad, USSR

Re: Weather not working?

Post by Oleg_M »

careo wrote:this skin has been updated yesterday http://raidero1.deviantart.com/art/Weather-Sun-RUS-280684198 но так, на будущее, если старые погодные скины не пашут, в *.ini файле при редактировании нужно заменять индекс адреса сайта с

Url=http://xml.weather.com/weather/local/.......
на
Url=http://wxdata.weather.com/wxdata/weather/local/.....
конечная часть ссылки с локацией, мерой температуры и днем не изменится
Спасибо большое за помощь!
buckybone
Posts: 1
Joined: May 16th, 2016, 2:16 pm

Re: Weather not working?

Post by buckybone »

clid wrote:weather.com has changed their url's

URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0

replacing the url's to that should fix it.
Fixed for me, thanks!
retropat
Posts: 2
Joined: May 14th, 2016, 7:21 pm

Re: Weather not working?

Post by retropat »

clid wrote:weather.com has changed their url's

URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0

replacing the url's to that should fix it.
Worked! Thank you so MUCH!
cam_96
Posts: 1
Joined: May 18th, 2016, 9:14 pm

Re: Weather not working?

Post by cam_96 »

This worked great.

However it only is displays in Fahrenheit . Any chance to get it Celsius?

Even with my POSTFIXIT with C, it seems the new link is automatically going in Fahrenheit.
Last edited by cam_96 on May 20th, 2016, 12:19 am, edited 1 time in total.
tehansweris42
Posts: 1
Joined: May 19th, 2016, 12:27 am

Re: Weather not working?

Post by tehansweris42 »

clid wrote:weather.com has changed their url's

URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0

replacing the url's to that should fix it.
Thank you very much! This fixed my issue. :thumbup: :cheer:

Also, anyone having trouble, replace only this part of the URL: http://wxdata.weather.com/wxdata/weather/local/ and leave the last part as it is. That should keep your previous settings in place.
User avatar
Kei
Posts: 13
Joined: July 29th, 2014, 7:36 pm
Location: BC, Canada

Re: Weather not working?

Post by Kei »

I think I did it wrong, because no matter how many times I try, the solution doesn't work for me :(

This is my entire weather widget code:

Code: Select all

;===========================================
;  Brief Weather Display
;===========================================

[Rainmeter]
Author=Jiri Mahel
Edited=Jamien Price
AppVersion=1.3
Update=10000

[Variables]
folder=Weather

; nastaveni UpdateDivider pri Update=60000 na 1hod
update.Spd=60
fontColor.Text=255, 255, 255, 160
bar.color=255, 255, 255, 50
bar.color=255, 255, 255, 50
graph.line1=255, 255, 255, 75
graph.line2=255, 255, 255, 37
border.color=255, 255, 255, 75

FontName=Tahoma
FontHeight=8
AntiAlias=1

; define interner Viewer
eVIEWER=explorer.exe

;--------------------------
;Please replace your location code of Weather.com below, e.g: New York is USNY0996.
;You can check it on Weather.com. Also change if it's metric or Farenheit
;a little lower.
;--------------------------
dest=CAXX0313

; Fahrenheit "SCALE=f" or Celsius "SCALE=m"
SCALE=m

; define show Scale Mark
SCALE.txt=°c
;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
; updated weather ~15minut
UpdateRate=90
URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0
RegExp="(?siU)<weather ver="(.*)">.*<dnam>(.*),.*<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=0
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon][!RainmeterShowMeter MeterTempZitra_Lo][!RainmeterShowMeter MeterTempPozitri_Lo][!RainmeterShowMeter MeterTempPopozitri_Lo][!RainmeterShowMeter MeterTempDnes][!RainmeterShowMeter MeterTempZitra][!RainmeterShowMeter MeterTempPozitri][!RainmeterShowMeter MeterTempPopozitri]
IfBelowValue=2
IfBelowAction=!execute [!RainmeterShowMeter MeterIconNA][!RainmeterHideMeter MeterTempZitra_Lo][!RainmeterHideMeter MeterTempPozitri_Lo][!RainmeterHideMeter MeterTempPopozitri_Lo][!RainmeterHideMeter MeterTempDnes][!RainmeterHideMeter MeterTempZitra][!RainmeterHideMeter MeterTempPozitri][!RainmeterHideMeter MeterTempPopozitri]
;Debug=1
;--------------------------------

[MeasureWeatherDestination]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=2

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

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

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

[MeasureWeatherTemp1_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14

;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

[MeasureWeatherTemp2_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=25

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

;-------------------------

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34

[MeasureWeatherTemp3_Lo]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=36

;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38

;================================================================

[refresh.weather]
Meter=Button
ButtonImage=W-refresh.png
X=4
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]

[refresh.weather2]
Meter=Button
ButtonImage=W-refresh.png
X=312
Y=8
ButtonCommand=!Execute [!RainmeterRefresh]

[cara1]
Meter=IMAGE
X=0
Y=19
W=332
H=1
SolidColor=#border.color#

[MeterIconNA]
ImageName=W-na.png
Meter=IMAGE
X=40
Y=14r
W=40
H=40

[MeterIcon]
Hidden=1
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=0r
Y=0r
W=40
H=40
LeftMouseDownAction=!execute ["#eVIEWER#" "URL=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Unit#&dayf=0"]


[MeterDnes]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=13r
Y=-31r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempDestinace]
MeasureName=MeasureWeatherDestination
Meter=STRING
X=-7r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempDnes]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterZitra]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempZitra_Lo]
MeasureName=MeasureWeatherTemp1_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempZitra]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterPozitri]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1


[MeterTempPozitri_Lo]
MeasureName=MeasureWeatherTemp2_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempPozitri]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1
;-------------------------

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=70r
Y=-39r
W=40
H=40

[MeterPopozitri]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=0r
Y=-30r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Antialias=1

[MeterTempPopozitri_Lo]
MeasureName=MeasureWeatherTemp3_Lo
Meter=STRING
X=6r
Y=17r
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
Text="Lo %1#SCALE.txt#"
Antialias=1

[MeterTempPopozitri]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=-6r
Y=52r
StringStyle=NORMAL
StringAlign=CENTER
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
PostFix="#SCALE.txt#"
Antialias=1

;----------------------------------------------------------

[Movement.Dot]
Meter=IMAGE
X=298
Y=6
ImageName="../W-Dot.png"
LeftMouseUpAction =!execute [".\Skins\taboo_Vision\#folder#"]
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather not working?

Post by eclectic-tech »

@ Kei

Your skin uses different variable names. Try changing the URL to this:

Code: Select all

URL=http://wxdata.weather.com/wxdata/weather/local/#dest#?cc=*&unit=#SCALE#&dayf=0