Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enigma - Weather Update Errors #102

Open
shadoweye14 opened this issue Apr 9, 2016 · 13 comments
Open

Enigma - Weather Update Errors #102

shadoweye14 opened this issue Apr 9, 2016 · 13 comments

Comments

@shadoweye14
Copy link

So, for the past few months or so the weather in enigma for some reason is not working.

https://gyazo.com/59c44b07610bea0dca9ad30cb5900f68

As you can see here, everything but the weather is working. The weather does not seem to update.
Now, the logs show this.

https://gyazo.com/34ce5f74fedfb4b6a410456170867379

I tried downloading and replacing files from github to my computer directly but that does not help. The problem persists.

@Scrubtasticx
Copy link

Ya i have been trying to figure it out i have not been able to fix

@Epithumia
Copy link

I'm pretty sure now that the old API has been discontinued altogether, and massiliattak's fix isn't a fix anymore, since for the past week, either the widget displays nothing, or the same weather info regardless of the day/hour/actual weather.

Now you need to use queries, and since the output is either xml or json, the regexp parser should just be thrown out altogther and data should be processed in a sane manner.

In the meantime, I modified my own YahooWeather.inc, backup yours beforehand then see if it works for you. Pressure, Wind chill and visibility are buggered, but that's entirely Yahoo's fault, they can't seem to correctly convert/store data.

YahooWeather.inc.txt

@joedf
Copy link

joedf commented Apr 18, 2016

I read this... tried it, didn't seem to work. I didn't take the time to go into the code yet.
https://forum.rainmeter.net/viewtopic.php?f=13&t=23010

@shadoweye14
Copy link
Author

@Epithumia That works perfectly! Thanks a bunch!

@MIKAd3v
Copy link

MIKAd3v commented Apr 21, 2016

@Epithumia Yep, you're right about Yahoo.
So since they got rid of the old API, I have been working on a modded skin of the WXDataWeather v2.1 skin from jsmorley (Weather.com feed), integrated/compatible with the Enigma skin, and translated in another language (I have made 2 language files, one in french and the other in english).

Here are some screenshots of the two variants:
image
image

If you are interested, I can drop the files here.

@Scrubtasticx
Copy link

i am interested yes plz

On Thu, Apr 21, 2016 at 3:10 PM, massiliattak [email protected]
wrote:

@Epithumia https://github.com/Epithumia Yep, you're right about Yahoo.
So since they got rid of the old API, I have been working on a modded skin
of the WXDataWeather v2.1 skin from jsmorley (Weather.com feed),
integrated/compatible with the Enigma skin, and translated in another
language (I have made 2 language files, one in french and the other in
english).

Here is some screenshots of the two variants:
[image: image]
https://cloud.githubusercontent.com/assets/4604296/14721011/757cff42-0804-11e6-9fba-06889bef5e96.png
[image: image]
https://cloud.githubusercontent.com/assets/4604296/14721138/1a3c83c2-0805-11e6-88d0-da408e960a50.png

If you are interested, I can drop the files here.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#102 (comment)

@MIKAd3v
Copy link

MIKAd3v commented Apr 22, 2016

Here we go...

@tsekine
Copy link

tsekine commented Apr 23, 2016

Updated weather code can be found at https://forum.rainmeter.net/viewtopic.php?p=122386#p122386

@GeniusMBM
Copy link

Working Yahoo weather code: https://forum.rainmeter.net/viewtopic.php?p=125192#p125192

@joedf
Copy link

joedf commented Jul 14, 2016

Thanks 👍

@Dhardrian
Copy link

Dhardrian commented Sep 8, 2017

@MIKAd3v please note in your screenshots above that visibility is listed with a unit of km/h. Visibility should have a unit of distance, not speed. I looked at the weather.inc file and found the section assigning this which is:

[AtmoVisibility]
Meter=STRING
MeasureName=CurrentVisibilityChild
MeasureName2=UnitsSpeedChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub
Text="%1 %2"

Obviously, MeasureName2 should be something like "MeasureName2=UnitsDistanceChild", however there is no such measure that has been parsed. I verified that there is a distance unit it the XML response.

I'm not sure what needs to be edited to correctly parse the distance unit for use here. Can you offer advice on what needs to change to fix this?

@Dhardrian
Copy link

Dhardrian commented Sep 8, 2017

@MIKAd3v I figured it out myself. I added the following to Measures in Weather.inc:

[UnitsDistChild] Measure=Plugin Group=Weather Plugin=WebParser URL=[UnitsParent] StringIndex=4 Disabled=1

Then I edited the following section as follows [previous line commented out]:

[AtmoVisibility] Meter=STRING MeasureName=CurrentVisibilityChild ;MeasureName2=UnitsSpeedChild MeasureName2=UnitsDistChild MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub Text="%1 %2"

Result as follows:

https://gyazo.com/daec77b1b446d927fed85086a523611c

@Dhardrian
Copy link

I made an edit to add the atmospheric pressure change to Weather.inc. Although it is showing that variable in the tabular display, the "feels like" wind chill line is being overwritten. Where do I need to make an edit to make room for the additional line?

`[Rainmeter]
Update=1000
AccurateText=1
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=#TranslationLocation#: [CityNameChild]
ContextAction=[]
ContextTitle2=#TranslationFeed#: [ObservationTimeChild]
ContextAction2=[]
ContextTitle3=----
ContextAction3=[]
ContextTitle4=#TranslationChangeF#
ConTextAction4=[!WriteKeyValue Variables UnitOfMeasure "f" "#WXDataWeatherVars#"][!Refresh]
ContextTitle5=#TranslationChangeC#
ConTextAction5=[!WriteKeyValue Variables UnitOfMeasure "m" "#WXDataWeatherVars#"][!Refresh]
ContextTitle6=#TranslationChangeLocation#
ContextAction6=[!ActivateConfig "#WXDataLocationFolderPath#" "WXDataLocation.ini"]
ContextTitle7=#TranslationOpenInc#
ContextAction7=["#WXDataWeatherInc#"]
ContextTitle8=#TranslationOpenWXDWOptions#
ContextAction8=["#WXDataWeatherOptions#"]
ContextTitle9=----
ContextAction9=[]
ContextTitle10=#TranslationSTDMenu#
ContextAction10=[!SkinMenu]

[Variables]

[WeatherParent]
Measure=Plugin
Plugin=WebParser
URL=http://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=6
RegExp=(?siU)^(.*)$
ForceReload=1
FinishAction=[!EnableMeasureGroup Weather][!UpdateMeasure CheckAlerts][!UpdateMeter *][!Redraw]

; =======================================
; Measures
; =======================================

[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

[UnitsDistChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=4
Disabled=1

[CalcUnitsPressure]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=3
Disabled=1
RegExpSubstitute=1
Substitute="C":"0","F":"1"
IfCondition=([CalcUnitsPressure]=0)
IfTrueAction=[!SetOption AtmoPressure Text "%1 hPa"]
IfFalseAction=[!SetOption AtmoPressure Text "%1 inHg"]
DynamicVariables=1

[UnitsSpeedChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=5
Disabled=1

[CheckAlerts]
Measure=Script
ScriptFile=#CURRENTPATH#CheckAlerts.lua
Group=Weather
UpdateDivider=-1
Disabled=1

[CurrentConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentConditions#
Disabled=1

[ObservationTimeChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=1
Disabled=1

[CurrentTempChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=3
Disabled=1
IfConditionMode=1
IfCondition=(CurrentFeelsLikeChild=CurrentTempChild)
IfTrueAction=[!HideMeter WindChill] && [!HideMeter WindChillLabel][!UpdateMeter *][!Redraw]
IfFalseAction=[!ShowMeter WindChill] && [!ShowMeter WindChillLabel][!UpdateMeter *][!Redraw]
DynamicVariables=1

[CurrentFeelsLikeChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=4
Disabled=1

[CurrentConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=5
Disabled=1
Substitute=#TranslationDesc#
Disabled=1
IfMatch=(?siU)^$
IfMatchAction=[!SetOption Desc MeasureName "TodayDayConditionsChild"][!UpdateMeter *][!Redraw]
IfNotMatchAction=[!SetOption Desc MeasureName "CurrentConditionsChild"][][!UpdateMeter *][!Redraw]
DynamicVariables=1

[CurrentIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentConditionsParent]
StringIndex=6
Disabled=1
IfMatch=(?siU)^$
IfMatchAction=[!SetOption Icon MeasureName "TodayDayIconChild"][!HideMeter Icon2][!UpdateMeter *][!Redraw]
IfNotMatchAction=[!SetOption Icon MeasureName "CurrentIconChild"][!ShowMeter Icon2][!UpdateMeter *][!Redraw]
DynamicVariables=1

[CurrentElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentElements#
Disabled=1

[CurrentHumidityChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentElementsParent]
StringIndex=1
Disabled=1

[CurrentVisibilityChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentElementsParent]
StringIndex=2
Disabled=1
IfConditionMode=1
IfCondition=CurrentVisibilityChild <= 0
IfTrueAction=[!HideMeter AtmoVisibility] && [!HideMeter AtmoVisibilityLabel]

[CurrentWindParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentWind#
Disabled=1

[CurrentWindSpeedChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentWindParent]
StringIndex=1
Disabled=1
IfCondition=CurrentWindSpeedChild = 0
IfTrueAction=[!SetOption WindSpeed Text "%1"]
IfFalseAction=[!SetOption WindSpeed Text "%1 [UnitsSpeedChild]"]

[CurrentWindDirectionChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentWindParent]
StringIndex=3
Disabled=1

[CurrentWindDirectionCardChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentWindParent]
StringIndex=4
Disabled=1
Substitute=#TranslationWDir#

[CurrentWindUnitChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[UnitsParent]
StringIndex=5
Disabled=1

[CurrentBarometricParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#CurrentBarometric#
Disabled=1

[CurrentPressureChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentBarometricParent]
StringIndex=1
Disabled=1

[CurrentChangeChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[CurrentBarometricParent]
StringIndex=2
Disabled=1
RegExpSubstitute=1
Substitute="(?siU)^(.) .$":"\1"

[TodayGeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayGeneral#
Disabled=1

[SunriseChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=6
Disabled=1

[SunsetChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayGeneralParent]
StringIndex=7
Disabled=1

[TodayDayConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayDayConditions#
Disabled=1

[TodayNightConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayNightConditions#
Disabled=1

[TodayDayIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayDayConditionsParent]
StringIndex=1
Disabled=1
IfMatch=(?siU)^$
IfMatchAction=[!SetOption Icon2 MeasureName "TodayNightIconChild"][!SetOption Date2 Text "#TranslationTonight#"][!UpdateMeter *][!Redraw]
IfNotMatchAction=[!SetOption Icon2 MeasureName "TodayDayIconChild"][!SetOption Date2 Text "#TranslationToday#"][!UpdateMeter *][!Redraw]

[TodayDayConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayDayConditionsParent]
StringIndex=2
Disabled=1
Substitute=#TranslationDesc#

[TodayNightIconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayNightConditionsParent]
StringIndex=1
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

[TodayDayElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayDayElements#
Disabled=1

[TodayNightElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#TodayNightElements#
Disabled=1

[TodayDayPrecipChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayDayElementsParent]
StringIndex=2
Disabled=1

[TodayNightPrecipChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[TodayNightElementsParent]
StringIndex=2
Disabled=1

[Day1ConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day1DayConditions#
Disabled=1

[Day1ConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1ConditionsParent]
StringIndex=2
Disabled=1
Substitute=#TranslationDesc#

[Day1IconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1ConditionsParent]
StringIndex=1
Disabled=1

[Day1GeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day1General#
Disabled=1

[Day1NameChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1GeneralParent]
StringIndex=1
Disabled=1
Substitute=#TranslationDay#

[Day1LowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1GeneralParent]
StringIndex=4
Disabled=1

[Day1HighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1GeneralParent]
StringIndex=3
Disabled=1

[Day1ElementsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day1DayElements#
Disabled=1

[Day1PrecipChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day1ElementsParent]
StringIndex=2
Disabled=1

[Day2ConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day2DayConditions#
Disabled=1

[Day2ConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day2ConditionsParent]
StringIndex=2
Disabled=1
Substitute=#TranslationDesc#

[Day2IconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day2ConditionsParent]
StringIndex=1
Disabled=1

[Day2GeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day2General#
Disabled=1

[Day2NameChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day2GeneralParent]
StringIndex=1
Disabled=1
Substitute=#TranslationDay#

[Day2LowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day2GeneralParent]
StringIndex=4
Disabled=1

[Day2HighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day2GeneralParent]
StringIndex=3
Disabled=1

[Day3ConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day3DayConditions#
Disabled=1

[Day3ConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day3ConditionsParent]
StringIndex=2
Disabled=1
Substitute=#TranslationDesc#

[Day3IconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day3ConditionsParent]
StringIndex=1
Disabled=1

[Day3GeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day3General#
Disabled=1

[Day3NameChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day3GeneralParent]
StringIndex=1
Disabled=1
Substitute=#TranslationDay#

[Day3LowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day3GeneralParent]
StringIndex=4
Disabled=1

[Day3HighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day3GeneralParent]
StringIndex=3
Disabled=1

[Day4ConditionsParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day4DayConditions#
Disabled=1

[Day4ConditionsChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day4ConditionsParent]
StringIndex=2
Disabled=1
Substitute=#TranslationDesc#

[Day4IconChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day4ConditionsParent]
StringIndex=1
Disabled=1

[Day4GeneralParent]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[WeatherParent]
RegExp=#Day4General#
Disabled=1

[Day4NameChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day4GeneralParent]
StringIndex=1
Disabled=1
Substitute=#TranslationDay#

[Day4LowChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day4GeneralParent]
StringIndex=4
Disabled=1

[Day4HighChild]
Measure=Plugin
Group=Weather
Plugin=WebParser
URL=[Day4GeneralParent]
StringIndex=3
Disabled=1

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

[Background]
Meter=IMAGE
MeterStyle=StyleSidebarBackground | StyleWeather#Variant#Background

[Border]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border1

;----------------------------------------------
; 5 DAYS FORECAST

[StyleWeatherNormal5dBackground]
H=178

[StyleWeatherNormal5dBorderTodaySeparator]
X=0
Y=0
W=0
H=0
Hidden=1

[StyleWeatherNormal5dBorderSeparator]
X=(10+(4*#HideBordersBottom#))
Y=25r
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherNormal5dBorder]
SolidColor=#ColorBorder4#
H=1

[StyleWeatherNormal5dBorder1]
X=10
Y=5
W=(#SidebarWidth#-20)
Hidden=#HideBordersTop#

[StyleWeatherNormal5dBorder2]
X=0
Y=0
W=0
H=0
Hidden=1

[StyleWeatherNormal5dBorder3]
X=(15+(4*#HideBordersBottom#))
Y=33R
W=(#SidebarWidth#-28-(4*#HideBordersBottom#))

[StyleWeatherNormal5dBorder4]
X=(15+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-28-(4*#HideBordersBottom#))

[StyleWeatherNormal5dBorder5]
X=(15+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-28-(4*#HideBordersBottom#))

[StyleWeatherNormal5dBorder6]
X=(15+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-28-(4*#HideBordersBottom#))

[StyleWeatherNormal5dBorder7]
X=(15+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-28-(4*#HideBordersBottom#))

[StyleWeatherNormal5dBorder7]
X=10
Y=12R
W=(#SidebarWidth#-20)
Hidden=#HideBordersBottom#

[StyleWeatherNormal5dMoxa]
X=12
Y=-2R
W=33
H=33
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
;ImageAlpha=#IconAlpha#
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#TranslationWeathercomURL#/#LocationCode#"]
;MouseOverAction=[!SetOption Icon ImageAlpha 255][!UpdateMeter Icon][!Redraw]
;MouseLeaveAction=[!SetOption Icon ImageAlpha #IconAlpha#][!UpdateMeter Icon][!Redraw]
UpdateDivider=-1

[StyleWeatherNormal5dMoxa5d]
X=12
Y=-2R
W=33
H=33
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#TranslationWeathercomURL#/#LocationCode#"]
UpdateDivider=-1

[StyleWeatherNormal5dMoxaDay2]
X=0
Y=0
W=0
H=0
ImagePath=#ImagePath#TWCIcons
Hidden=1

[StyleWeatherNormal5dMoxaDay3]
X=12
Y=-2R
W=33
H=33
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
UpdateDivider=-1

[StyleWeatherNormal5dText]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherNormal5dText5d]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherNormal5dTextDay2]
X=0
Y=0
W=0
H=0
Hidden=1

[StyleWeatherNormal5dTextDay3]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherNormal5dTextSub]
X=0
Y=0
W=0
H=0
Hidden=1

[StyleWeatherNormal5dLabel]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherNormal5dLabelDay2]
X=0
Y=0
W=0
H=0
Hidden=1

[StyleWeatherNormal5dLabelDay3]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherNormal5dLabel5d]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherNormal5dLabelSub]
X=0
Y=0
W=0
H=0
Hidden=1

[StyleWeatherNormal5dSeparator]
X=0
Y=0
W=0
H=0
Hidden=1

;----------------------------------------------
; EXTENDED 5 DAYS FORECAST

[StyleWeatherExtended5dBackground]
H=285

[StyleWeatherExtended5dBorderTodaySeparator]
SolidColor=#ColorBorder4#
X=60
Y=5R
W=(#SidebarWidth#-74)
H=1
;Hidden=1
Hidden=0

[StyleWeatherExtended5dBorderSeparator]
X=(10+(4*#HideBordersBottom#))
Y=25r
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherExtended5dBorder]
SolidColor=#ColorBorder4#
H=1

[StyleWeatherExtended5dBorder1]
X=10
Y=5
W=(#SidebarWidth#-20)
Hidden=#HideBordersTop#

[StyleWeatherExtended5dBorder2]
X=(10+(4*#HideBordersBottom#))
Y=5R
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherExtended5dBorder3]
X=(10+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherExtended5dBorder4]
X=(10+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherExtended5dBorder5]
X=(10+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherExtended5dBorder6]
X=(10+(4*#HideBordersBottom#))
Y=12R
W=(#SidebarWidth#-24-(4*#HideBordersBottom#))

[StyleWeatherExtended5dMoxa]
X=12
Y=-2R
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
ImageAlpha=#IconAlpha#
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#TranslationWeathercomURL#/#LocationCode#"]
MouseOverAction=[!SetOption Icon ImageAlpha 255][!UpdateMeter Icon][!Redraw]
MouseLeaveAction=[!SetOption Icon ImageAlpha #IconAlpha#][!UpdateMeter Icon][!Redraw]
UpdateDivider=-1

[StyleWeatherExtended5dMoxa5d]
X=12
Y=-2R
W=33
H=33
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#TranslationWeathercomURL#/#LocationCode#"]
UpdateDivider=-1

[StyleWeatherExtended5dMoxaDay2]
X=12
Y=-2R
W=33
H=33
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#TranslationWeathercomURL#/#LocationCode#"]
UpdateDivider=-1

[StyleWeatherExtended5dMoxaDay3]
X=12
Y=-2R
W=33
H=33
ImagePath=#ImagePath#TWCIcons
PreserveAspectRatio=1
AntiAlias=1
DynamicVariables=1
LeftMouseUpAction=["#TranslationWeathercomURL#/#LocationCode#"]
UpdateDivider=-1

[StyleWeatherExtended5dText]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dTextDay2]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dTextDay3]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dText5d]
X=60
Y=5r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color1#
FontFace=#Font#
FontSize=#Size3#
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dTextSub]
Y=5R

[StyleWeatherExtended5dLabel]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dLabelDay2]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dLabelDay3]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dLabel5d]
;X=110
X=(#SidebarWidth#-12)
Y=r
H=12
W=(#SidebarWidth#-60)
FontColor=#Color2#
FontFace=#Font#
FontSize=#Size4#
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
ClipString=1

[StyleWeatherExtended5dLabelSub]

[StyleWeatherExtended5dSeparator]
SolidColor=#ColorBorder4#
X=60
Y=5R
W=(#SidebarWidth#-74)
H=1

;-----------------------
; DAY 1

[Icon]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Moxa
MeasureName=CurrentIconChild

[Temp]
Meter=STRING
MeterStyle=StyleWeather#Variant#Text
MeasureName=CurrentTempChild
MeasureName2=UnitsTempChild
Text=%1°%2
FontSize=#Size2#

[Desc]
Meter=STRING
MeasureName=CurrentConditionsChild
MeterStyle=StyleWeather#Variant#Label

;-----------------------
; WIND

[WindSeparator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Separator

[WindChill]
Meter=STRING
MeasureName=CurrentFeelsLikeChild
MeasureName2=UnitsTempChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub
Text=%1°%2

[WindChillLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=#TranslationWChill#

[WindSpeed]
Meter=STRING
MeasureName=CurrentWindSpeedChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub

[WindSpeedLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=#TranslationSpeed#

[WindDirection]
Meter=STRING
MeasureName=CurrentWindDirectionChild
MeasureName2=CurrentWindDirectionCardChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub
Text=%1° (%2)

[WindDirectionLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=#TranslationWDirection#

;-----------------------
; ATMOSPHERE

[AtmoSeparator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Separator

[AtmoHumidity]
Meter=STRING
MeasureName=CurrentHumidityChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub
Postfix="%"

[AtmoHumidityLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=#TranslationHumidity#

[AtmoPressure]
Meter=STRING
MeasureName=CurrentPressureChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub

[AtmoPressureLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=#TranslationPressure#

[AtmoChange]
Meter=STRING
MeasureName=CurrentChangeChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub

[AtmoChangeLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=Change

[AtmoVisibility]
Meter=STRING
MeasureName=CurrentVisibilityChild
;MeasureName2=UnitsSpeedChild
MeasureName2=UnitsDistChild
MeterStyle=StyleWeather#Variant#Text | StyleWeather#Variant#TextSub
Text="%1 %2"

[AtmoVisibilityLabel]
Meter=STRING
MeterStyle=StyleWeather#Variant#Label | StyleWeather#Variant#LabelSub
Text=#TranslationVisibility#

;-----------------------
; DAY 2

;[Day2Separator]
;Meter=IMAGE
;MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border2

[Day2TodaySeparator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#BorderTodaySeparator

[Icon2]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#MoxaDay2
MeasureName=TodayDayIconChild
ToolTipText=[TodayDayConditionsChild]

[Temp2]
Meter=STRING
MeterStyle=StyleWeather#Variant#TextDay2
;MeasureName=MeasureWeatherDay2Average
MeasureName=TodayLowChild
MeasureName2=TodayHighChild
Text=%1° | %2°
UpdateDivider=-1

[Date2]
Meter=STRING
MeterStyle=StyleWeather#Variant#LabelDay2
Text=#TranslationToday#
UpdateDivider=-1

;-----------------------
; DAY 3

[Day3Separator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border3

[Icon3]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#MoxaDay3
MeasureName=Day1IconChild
ToolTipText=[Day1ConditionsChild]

[Temp3]
Meter=STRING
MeterStyle=StyleWeather#Variant#TextDay3
MeasureName=Day1LowChild
MeasureName2=Day1HighChild
Text=%1° | %2°
UpdateDivider=-1

[Date3]
Meter=STRING
MeasureName=Day1NameChild
MeterStyle=StyleWeather#Variant#LabelDay3

;-----------------------
; DAY 4

[Day4Separator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border4

[Icon4]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Moxa5d
MeasureName=Day2IconChild
ToolTipText=[Day2ConditionsChild]

[Temp4]
Meter=STRING
MeterStyle=StyleWeather#Variant#Text5d
MeasureName=Day2LowChild
MeasureName2=Day2HighChild
Text=%1° | %2°
UpdateDivider=-1

[Date4]
Meter=STRING
MeasureName=Day2NameChild
MeterStyle=StyleWeather#Variant#Label5d

;-----------------------
; DAY 5

[Day5Separator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border5

[Icon5]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Moxa5d
MeasureName=Day3IconChild
ToolTipText=[Day3ConditionsChild]

[Temp5]
Meter=STRING
MeterStyle=StyleWeather#Variant#Text5d
MeasureName=Day3LowChild
MeasureName2=Day3HighChild
Text=%1° | %2°
UpdateDivider=-1

[Date5]
Meter=STRING
MeasureName=Day3NameChild
MeterStyle=StyleWeather#Variant#Label5d

;-----------------------
; DAY 6

[Day6Separator]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border6

[Icon6]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Moxa5d
MeasureName=Day4IconChild
ToolTipText=[Day4ConditionsChild]

[Temp6]
Meter=STRING
MeterStyle=StyleWeather#Variant#Text5d
MeasureName=Day4LowChild
MeasureName2=Day4HighChild
Text=%1° | %2°
UpdateDivider=-1

[Date6]
Meter=STRING
MeasureName=Day4NameChild
MeterStyle=StyleWeather#Variant#Label5d

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

[BorderBottom]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border7`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants