Page 16 of 32

Re: Weather not working?

Posted: November 9th, 2016, 5:04 pm
by balala
DamageW wrote:Does this mean there's a problem with the Weather.com feed, or is there something wrong with my code?
First of all, you should try to completely close Rainmeter, then restart it. I'm not sure this will help, but many times it is, on skins which are using the WebParser plugin.
If restarting Rainmeter wasn't enough to fix the problem, please pack the config and upload it.

Re: Weather not working?

Posted: November 9th, 2016, 8:07 pm
by DamageW
Hi, thanks for responding.

I was about to upload the thing, and then got to thinking about what you'd do with it if I did - you'd install it, test it, and it might work, or not. That made me think about what would be different between you and me - namely, your location.

So, on a whim, I changed the location code to a different one, and the problem immediately went away.

Looks like it's the data for my particular city that's the issue. Hopefully it might fix itself given time, or if all else fails I can pick a nearby location, which is better than nothing, although it'll mean updating the fifty or so places I've installed this gadget, which I had to do already for the last fix :-( . Either way, at least I now know the cause.

As a final test, I just downloaded a random weather gadget from DeviantArt and tried it, works fine for Berlin, but stops working for Bristol.

Maybe the people in charge of Bristol Weather have all fallen asleep.

Thanks for the offer of help, anyway.

Cheers!

Re: Weather not working?

Posted: November 9th, 2016, 8:24 pm
by balala
DamageW wrote:So, on a whim, I changed the location code to a different one, and the problem immediately went away.

Looks like it's the data for my particular city that's the issue. Hopefully it might fix itself given time, or if all else fails I can pick a nearby location, which is better than nothing, although it'll mean updating the fifty or so places I've installed this gadget, which I had to do already for the last fix :-( . Either way, at least I now know the cause.
If I'm not wrong, in the past this happened sometimes and finally usually was fixed. I hope this time it'll be as well.

Re: Weather not working?

Posted: November 9th, 2016, 9:59 pm
by DamageW
It's UKXX0022 that's the offending location. Funnily enough, the weather information for that location is fine on Weather.com's website, so it must an internal issue with their feed.

One useful thing that came out of this, that gadget I tried from DeviantArt had one of those location search features, and revealed a whole bunch of additional weather codes for my city that don't appear on the Weather.Codes website1. One of them is about a mile from my house, so at least I have an alternative if they don't fix the problem at their end.

Serves me right, I was feeling satisfied after finally updating the gadget on all the PCs I'd put it on (took me about three months to get to them all), stands to reason something would break immediately afterwards. Next time I'm gonna write a script to pull the thing off my hosting on a regular basis, so I don't have to do them all again. Again. :-)

Thanks again for the advice.

1 Addendum: Turns out they are on weather.codes, but they're just names of local areas, without the city name, so unless you know what you're looking for they're almost impossible to find. I mean, one of them is just called "Finchley Road", could be in any one of a dozen cities. Duh! (it's in London, apparently)

Re: Weather not working?

Posted: November 10th, 2016, 1:15 pm
by balala
It seems that right now (nov 10, 1 PM GMT), the UKXX0022 code is working well.

Re: Weather not working?

Posted: November 10th, 2016, 4:09 pm
by DamageW
Weird, still not working here. Temperature works fine, tomorrow's forecast works, but I don't get today's forecast information, which also drives the weather picture.

Just to make sure, I downloaded a weather gadget from here:
http://rainmeter.deviantart.com/art/Sunny-Rainmeter-Suite-v2-1-613381825

I installed two versions and ran them together, one set to Bristol, one set to London.
See attached for the result, one works, the other doesn't.

Re: Weather not working?

Posted: November 10th, 2016, 4:50 pm
by balala
DamageW wrote:Weird, still not working here. Temperature works fine, tomorrow's forecast works, but I don't get today's forecast information, which also drives the weather picture.

Just to make sure, I downloaded a weather gadget from here:
http://rainmeter.deviantart.com/art/Sunny-Rainmeter-Suite-v2-1-613381825

I installed two versions and ran them together, one set to Bristol, one set to London.
See attached for the result, one works, the other doesn't.
It seems that something weird is going on Weather.com. Your issue looks similar with the following one: https://forum.rainmeter.net/viewtopic.php?p=129133#p129133
I think what eclectic-tech said there, applies to you too.

Re: Weather not working?

Posted: November 10th, 2016, 6:52 pm
by DamageW
Yeah, thanks for this, and for the cross-post. I really hope they fix it at source, so don't want to have to update it at my end.

Re: Weather not working?

Posted: February 11th, 2017, 10:02 pm
by virtual-adam
After months of waiting for my current weather on 'Large Clean Weather' to not go blank after 9.30pm and having tried all the town codes around me, I decided to modify the skin.

I moved the Today/Tonight to the top and added an extra day to the forecast. Its quite easy to do but if some folks cant be bothered then here is the Weather White.ini code:

Will do till they get it working some day :thumbup:

*Just right click the skin then select edit skin. Press Ctrl A to select all the code, press delete then paste in the new code. Save the file then refresh the skin.

Code: Select all

;[BEGIN CONFIG FILE]==============================

[Rainmeter]
Author=Jeffrey Morley, modified by Shiva

;==============================================================
;Please replace your location code for Weather.com below
;Set "Metric=" to m for metric measures or f for non-metric
;==============================================================

;Metadata added by RainBrowser
;http://rainmeter.net/RainCMS/?q=Rainmeter101_AnatomyOfASkin

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

;End of added Metadata

;Coordinates: 1134 - 0

[Variables]

;Your Location
Location=UKEN0062

Metric=m
Font=Century Gothic
FontColor=255, 255, 255, 255
FontInactive=255, 255, 255, 200
;600 = 10mins
UpdateFreq=1800
YGap=55

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

;[GATHER WEATHER INFO FROM RSS]=================================

[Today]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=#UpdateFreq#
Url=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Metric#&dayf=1
RegExp="(?siU)<dayf>.*<lsup>(.*)</lsup>.*<day d="0" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"

[Tomorrow]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=#UpdateFreq#
Url=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Metric#&dayf=2
RegExp="(?siU)<day d="1" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"

[DayAfter]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=#UpdateFreq#
Url=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Metric#&dayf=3
RegExp="(?siU)<day d="2" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"

[DayAfter+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=#UpdateFreq#
Url=http://wxdata.weather.com/wxdata/weather/local/#Location#?cc=*&unit=#Metric#&dayf=4
RegExp="(?siU)<day d="3" t="(.*)" dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(.*)</sunr>.*<suns>(.*)</suns>.*<part p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*<part p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s>(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)</hmid>.*"


;[TODAY]=====================================

[MeasureWeatherDesc1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=9
Substitute=" And ":" and "

[MeasureWeatherDay1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=2

[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=4

[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=8
Substitute="":"666"

[CheckNATemp]
Measure=Calc
Formula=[MeasureWeatherIcon1]
IfBelowValue=665
IfBelowAction=!execute [!RainmeterHideMeter MeterNightTemp1][!RainmeterHideMeter MeterNightDay1][!RainmeterHideMeter MeterNightDesc1][!RainmeterHideMeter MeterNightIcon1][!RainmeterShowMeter MeterTemp1][!RainmeterShowMeter MeterDay1][!RainmeterShowMeter MeterDesc1][!RainmeterShowMeter MeterIcon1]
IfEqualValue=666
IfEqualAction=!execute [!RainmeterHideMeter MeterTemp1][!RainmeterHideMeter MeterDay1][!RainmeterHideMeter MeterDesc1][!RainmeterHideMeter MeterIcon1][!RainmeterShowMeter MeterNightTemp1][!RainmeterShowMeter MeterNightDay1][!RainmeterShowMeter MeterNightDesc1][!RainmeterShowMeter MeterNightIcon1]
DynamicVariables=1

;[TONIGHT]=====================================

[MeasureWeatherNightDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=18
Substitute=" And ":" and "

[MeasureWeatherNightTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=5

[MeasureWeatherNightIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Today]
StringIndex=17

;[TOMORROW]===================================

[MeasureWeatherDesc2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Tomorrow]
StringIndex=8
Substitute=" And ":" and "

[MeasureWeatherDay2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Tomorrow]
StringIndex=1

[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Tomorrow]
StringIndex=3

[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[Tomorrow]
StringIndex=7

;[DayAfter]=======================================

[MeasureWeatherDesc3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter]
StringIndex=8
Substitute=" And ":" and "

[MeasureWeatherDay3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter]
StringIndex=1

[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter]
StringIndex=3

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

;[DayAfter+1]=====================================

[MeasureWeatherDesc4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter+1]
StringIndex=8
Substitute=" And ":" and "

[MeasureWeatherDay4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter+1]
StringIndex=1

[MeasureWeatherTemp4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter+1]
StringIndex=3

;D+3, weather icon, id=38
[MeasureWeatherIcon4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[DayAfter+1]
StringIndex=7


;[DISPLAY TODAY]================================

[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=500
Y=5
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=36
StringAlign=RIGHT
FontFace=#Font#
Antialias=1
Postfix="°"
StringEffect=Shadow
Hidden=0

[MeterDay1]
;MeasureName=MeasureWeatherDay1
Meter=STRING
X=-100r
Y=5r
FontColor=#FontColor#
FontSize=18
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Text="Weather Today"
Antialias=1
StringEffect=Shadow
Hidden=0

[MeterDesc1]
MeasureName=MeasureWeatherDesc1
Meter=STRING
X=r
Y=28r
FontColor=#FontColor#
FontSize=10
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow
Hidden=0

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
H=65
W=65
X=104r
Y=-35r
Hidden=0

[MeterReset]
Meter=STRING
X=-4r
Y=2r

;====== NIGHT =======

[MeterNightTemp1]
MeasureName=MeasureWeatherNightTemp
Meter=STRING
X=r
Y=r
FontColor=#FontColor#
StringStyle=NORMAL
FontSize=36
StringAlign=RIGHT
FontFace=#Font#
Antialias=1
Postfix="°"
StringEffect=Shadow
Hidden=1

[MeterNightDay1]
;MeasureName=MeasureWeatherDay1
Meter=STRING
X=-104r
Y=5r
FontColor=#FontColor#
FontSize=18
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Text="Weather Tonight"
Antialias=1
StringEffect=Shadow
Hidden=1

[MeterNightDesc1]
MeasureName=MeasureWeatherNightDesc
Meter=STRING
X=r
Y=28r
FontColor=#FontColor#
FontSize=10
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow
Hidden=1

[MeterNightIcon1]
MeasureName=MeasureWeatherNightIcon
Meter=IMAGE
H=65
W=65
X=111r
Y=-35r
Hidden=1

;[DISPLAY TOMORROW]=============================

[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=-7r
Y=70r
FontColor=#FontInactive#
StringStyle=NORMAL
FontSize=30
StringAlign=RIGHT
FontFace=#Font#
Antialias=1
Postfix="°"
StringEffect=Shadow

[MeterDay2]
;MeasureName=MeasureWeatherDay2
Meter=STRING
X=-86r
Y=5r
FontColor=#FontInactive#
FontSize=14
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Text="Tomorrow"
Antialias=1
StringEffect=Shadow

[MeterDesc2]
MeasureName=MeasureWeatherDesc2
Meter=STRING
X=r
Y=20r
FontColor=#FontInactive#
FontSize=10
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
H=50
W=50
X=100r
Y=-25r

;[DISPLAY DAY AFTER]==============================

[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=-14r
Y=#YGap#r
FontColor=#FontInactive#
StringStyle=NORMAL
FontSize=30
StringAlign=RIGHT
FontFace=#Font#
Antialias=1
Postfix="°"
StringEffect=Shadow

[MeterDay3]
MeasureName=MeasureWeatherDay3
Meter=STRING
X=-86r
Y=5r
FontColor=#FontInactive#
FontSize=14
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow

[MeterDesc3]
MeasureName=MeasureWeatherDesc3
Meter=STRING
X=r
Y=20r
FontColor=#FontInactive#
FontSize=10
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow

[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
H=50
W=50
X=100r
Y=-25r

;[DISPLAY DAY AFTER+1]=============================

[MeterTemp4]
MeasureName=MeasureWeatherTemp4
Meter=STRING
X=-14r
Y=#YGap#r
FontColor=#FontInactive#
StringStyle=NORMAL
FontSize=30
StringAlign=RIGHT
FontFace=#Font#
Antialias=1
Postfix="°"
StringEffect=Shadow

[MeterDay4]
MeasureName=MeasureWeatherDay4
Meter=STRING
X=-86r
Y=5r
FontColor=#FontInactive#
FontSize=14
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow

[MeterDesc4]
MeasureName=MeasureWeatherDesc4
Meter=STRING
X=r
Y=20r
FontColor=#FontInactive#
FontSize=10
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
Antialias=1
StringEffect=Shadow

[MeterIcon4]
MeasureName=MeasureWeatherIcon4
Meter=IMAGE
H=50
W=50
X=100r
Y=-25r


Re: Weather not working?

Posted: May 30th, 2017, 1:46 am
by picasso21
Please skin Enigma weather update , error thank you :welcome:

Code: Select all

;---------------------------------------------------------------------
; ENIGMA MOXAWEATHER (EXTENDED)

[Rainmeter]
Author=Kaelri

[Variables]
@include=#@#User\Options.inc

;---------------------------------------------------------------------
; STYLES

@include2=#@#Styles\#Stylesheet#\Options.inc
@include3=#@#Styles\#Stylesheet#\SidebarCommon.inc
@include4=#@#Styles\#Stylesheet#\SidebarWeather.inc

;---------------------------------------------------------------------
; METERS & MEASURES

@include5=#@#Measures\YahooWeather.inc
CurrentCode=#WeatherCode#

@include6=#ROOTCONFIGPATH#Sidebar\Weather\Weather.inc
Variant=Extended

;---------------------------------------------------------------------
; METADATA

[Metadata]
Name=Enigma MoxaWeather (Extended)
Information=Shows your current and forecast weather conditions. | · This skin has been adapted from the original MoxaWeather by moxamax.
Version=4 Patch 1
License=Creative Commons BY-NC-SA 3.0