It is currently April 19th, 2024, 3:59 am

Using two weather skins and only one loads at start up

Get help with creating, editing & fixing problems with skins
adewsetoo
Posts: 6
Joined: December 10th, 2020, 6:17 pm

Using two weather skins and only one loads at start up

Post by adewsetoo »

Title. In the first skin I set the UpdateRate to 60 and it boots no problem. I have a second skin running to provide the weekly forecast next to it and sometimes it loads at start up, sometimes it does not.

I tried entering in "UpdateRate=60" under the [Rainmeter] section in the base .ini file, and tried the same in the skin's settings file. Haven't figured out the problem but, in fairness, I'm incredibly green to Rainmeter.

Any help?

Code: Select all


[IncludeBase]
@Include=#@#Base.inc

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

[Variables]
AlignmentLeft=0
AlignmentCenter=1
AlignmentRight=2

DetailsContainerScrollPlusOrMinus=-

[Rainmeter]
SkinWidth=(#Scale#*#SkinWidth#)
UpdateRate=60

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


[mDate]
Measure=Time
Format=%A %#d %B
FormatLocale=#Language#

DynamicVariables=1

OnChangeAction=[!UpdateMeter *] [!UpdateMeter *] [!Redraw]

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

[Date]
Meter=String

Text=[mDate]

FontFace=#Font#
FontSize=(#Scale#*#DateSize#*0.75)
FontColor=#Color#
FontWeight=500
AntiAlias=1

StringAlign=#Alignment#
ClipString=2
ClipStringW=(#Scale#*#SkinWidth#)

X=((#Scale#*#SkinWidth#)*([#Alignment[#Alignment]]/2))

DynamicVariables=1
UpdateDivider=-1

[CurrentTemperature]
Meter=String

Text=[mCurrentTemperature]

FontFace=#Font#
FontSize=(#Scale#*#TemperatureSize#*0.75)
FontColor=#Color#
FontWeight=200
AntiAlias=1

StringAlign=#Alignment#
ClipString=2
ClipStringW=(#Scale#*#SkinWidth#)

X=r
Y=R

DynamicVariables=1
UpdateDivider=-1

[CurrentPhrase]
Meter=String

Text=[mCurrentPhrase]

FontFace=#Font#
FontSize=(#Scale#*#PhraseSize#*0.75)
FontColor=#Color#
FontWeight=500
AntiAlias=1

StringAlign=#Alignment#
ClipString=2
ClipStringW=(#Scale#*#SkinWidth#)

X=r
Y=(#Scale#*8)R

DynamicVariables=1
UpdateDivider=-1

[Day0Narrative]
Meter=String

Text=[mDay0Narrative]

FontFace=#Font#
FontSize=(#Scale#*#NarrativeSize#*0.75)
FontColor=#Color#, (255*0.5)
AntiAlias=1

StringAlign=#Alignment#
ClipString=2
ClipStringW=(#Scale#*#SkinWidth#)

X=r
Y=R

DynamicVariables=1
UpdateDivider=-1

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

[mDetailsContainerScroll]
Measure=Calc

Formula=Clamp(mDetailsContainerScroll#DetailsContainerScrollPlusOrMinus#(Max(#Scale#*#DetailsIconSize#, [CurrentHumidity:H])+#Scale#*#DetailsIconSize#*0.5)/((1000/10)*0.1), 0, Max(#Scale#*#DetailsIconSize#, [CurrentHumidity:H])+#Scale#*#DetailsIconSize#*0.5)

DynamicVariables=1
UpdateDivider=-1

[mContainerScrollActionTimer]
Measure=Plugin
Plugin=ActionTimer

ActionList1=Repeat Scroll, 10, 10
Scroll=[!UpdateMeasure mDetailsContainerScroll] [!UpdateMeterGroup Details] [!Redraw]

[DetailsContainer]
Meter=Image

W=(#Scale#*#SkinWidth#)
H=(Max(#Scale#*#DetailsIconSize#, [CurrentHumidity:H]))
SolidColor=FFFFFF

Y=(#Scale#*6)R

DynamicVariables=1
UpdateDivider=-1

MouseOverAction=[!CommandMeasure mContainerScrollActionTimer "Stop 1"] [!SetVariable DetailsContainerScrollPlusOrMinus "+"] [!CommandMeasure mContainerScrollActionTimer "Execute 1"]
MouseLeaveAction=[!CommandMeasure mContainerScrollActionTimer "Stop 1"] [!SetVariable DetailsContainerScrollPlusOrMinus "-"] [!CommandMeasure mContainerScrollActionTimer "Execute 1"]

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

[CurrentHumidityIcon]
Group=Details
Meter=String

Text=jdwi-misc-humidity

FontFace=JDWI
FontSize=(#Scale#*#DetailsIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=((#Scale#*(#SkinWidth#-6.5*#DetailsIconSize#)-[CurrentHumidity:W]-[Day0Precipitation:W]-[CurrentWindSpeed:W])*([#Alignment[#Alignment]]/2)+([#[#DetailsFlip]]=0 ? 0 : [CurrentHumidity:W]+#Scale#*#DetailsIconSize#*0.5))
Y=(Max(([CurrentHumidity:H]-#Scale#*#DetailsIconSize#)/2, 0)-[mDetailsContainerScroll])

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[CurrentHumidity]
Group=Details
Meter=String

Text=[mCurrentHumidity]

FontFace=#Font#
FontSize=(#Scale#*#DetailsSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize#*0.5 : Neg(#Scale#*#DetailsIconSize#*1.5+[CurrentHumidity:W]))R
Y=((#Scale#*#DetailsIconSize#-[CurrentHumidity:H])/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0PrecipitationIcon]
Group=Details
Meter=String

Text=jdwi-misc-precipitation

FontFace=JDWI
FontSize=(#Scale#*#DetailsIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize# : #Scale#*#DetailsIconSize#*3+[Day0Precipitation:W])R
Y=(([CurrentHumidity:H]-#Scale#*#DetailsIconSize#)/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0Precipitation]
Group=Details
Meter=String

Text=[&mDay0[&mCheckDay0DayOrNight]Precipitation]

FontFace=#Font#
FontSize=(#Scale#*#DetailsSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize#*0.5 : Neg(#Scale#*#DetailsIconSize#*1.5+[Day0Precipitation:W]))R
Y=((#Scale#*#DetailsIconSize#-[Day0Precipitation:H])/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[CurrentWindDirectionIcon]
Group=Details
Meter=String

Text=[mCurrentWindDirectionIcon]

FontFace=JDWI
FontSize=(#Scale#*#DetailsIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize# : #Scale#*#DetailsIconSize#*3+[CurrentWindSpeed:W])R
Y=(([Day0Precipitation:H]-#Scale#*#DetailsIconSize#)/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[CurrentWindSpeed]
Group=Details
Meter=String

Text=[mCurrentWindSpeed] [mUnitsSpeed]

FontFace=#Font#
FontSize=(#Scale#*#DetailsSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize#*0.5 : Neg(#Scale#*#DetailsIconSize#*1.5+[CurrentWindSpeed:W]))R
Y=((#Scale#*#DetailsIconSize#-[CurrentWindSpeed:H])/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

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

[Day0SunriseIcon]
Group=Details
Meter=String

Text=jdwi-misc-sunrise

FontFace=JDWI
FontSize=(#Scale#*#DetailsIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=((#Scale#*(#SkinWidth#-6.5*#DetailsIconSize#)-[Day0Sunrise:W]-[Day0Sunset:W]-[Day0MoonPhase:W])*([#Alignment[#Alignment]]/2)+([#[#DetailsFlip]]=0 ? 0 : [Day0Sunrise:W]+#Scale#*#DetailsIconSize#*0.5))
Y=(Max((#Scale#*#DetailsIconSize#-[CurrentHumidity:H])/2, 0)+Max(([Day0Sunrise:H]-#Scale#*#DetailsIconSize#)/2, 0)+#Scale#*#DetailsIconSize#*0.5)R

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0Sunrise]
Group=Details
Meter=String

Text=[mDay0Sunrise]

FontFace=#Font#
FontSize=(#Scale#*#DetailsSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize#*0.5 : Neg(#Scale#*#DetailsIconSize#*1.5+[Day0Sunrise:W]))R
Y=((#Scale#*#DetailsIconSize#-[Day0Sunrise:H])/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0SunsetIcon]
Group=Details
Meter=String

Text=jdwi-misc-sunset

FontFace=JDWI
FontSize=(#Scale#*#DetailsIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize# : #Scale#*#DetailsIconSize#*3+[Day0Sunset:W])R
Y=(([Day0Sunrise:H]-#Scale#*#DetailsIconSize#)/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0Sunset]
Group=Details
Meter=String

Text=[mDay0Sunset]

FontFace=#Font#
FontSize=(#Scale#*#DetailsSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize#*0.5 : Neg(#Scale#*#DetailsIconSize#*1.5+[Day0Sunset:W]))R
Y=((#Scale#*#DetailsIconSize#-[Day0Sunset:H])/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0MoonPhaseIcon]
Group=Details
Meter=String

Text=[mDay0MoonPhaseIcon]

FontFace=JDWI
FontSize=(#Scale#*#DetailsIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize# : #Scale#*#DetailsIconSize#*3+[Day0MoonPhase:W])R
Y=(([Day0Sunrise:H]-#Scale#*#DetailsIconSize#)/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

[Day0MoonPhase]
Group=Details
Meter=String

Text=[mDay0MoonPhase]

FontFace=#Font#
FontSize=(#Scale#*#DetailsSize#*0.75)
FontColor=#Color#
AntiAlias=1

ClipString=2
ClipStringW=(#Scale#*(#SkinWidth#-6.5*#DetailsIconSize#)-[Day0Sunrise:W]-[Day0Sunset:W])
ClipStringH=[Day0Sunset:H]

X=([#[#DetailsFlip]]=0 ? #Scale#*#DetailsIconSize#*0.5 : Neg(#Scale#*#DetailsIconSize#*1.5+[Day0MoonPhase:W]))R
Y=((#Scale#*#DetailsIconSize#-[Day0MoonPhase:H])/2)r

DynamicVariables=1
UpdateDivider=-1
Container=DetailsContainer

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

[MeterStyleDayNWeekdayShort]
FontFace=#Font#
FontSize=(#Scale#*#ForecastWeekdaySize#*0.75)
FontColor=#Color#
FontWeight=500
AntiAlias=1

StringAlign=Center
ClipString=1
W=(#Scale#*#ForecastIconSize#)

X=(#Scale#*#ForecastIconSize#*2)r
Y=[Day0WeekdayShort:Y]

DynamicVariables=1
UpdateDivider=-1

[MeterStyleDayNIconColor]
ImagePath=#@#WeatherIcons

X=(Neg(#Scale#*#ForecastIconSize#*0.5))r
Y=(#Scale#*#ForecastIconSize#*0.125)R
W=(#Scale#*#ForecastIconSize#)
H=(#Scale#*#ForecastIconSize#)

DynamicVariables=1
UpdateDivider=-1

Hidden=([#IconStyle[#IconStyle]]=0 ? 1 : 0)

[MeterStyleDayNIconMono]
Text=[&mDay0[&mCheckDay0DayOrNight]Icon]

FontFace=JDWI
FontSize=(#Scale#*#ForecastIconSize#*0.75)
FontColor=#Color#
AntiAlias=1

X=r
Y=r

DynamicVariables=1
UpdateDivider=-1

Hidden=([#IconStyle[#IconStyle]]=1 ? 1 : 0)

[MeterStyleDayNTemperature]
FontFace=#Font#
FontSize=(#Scale#*#ForecastTempSize#*0.75)
FontColor=#Color#
AntiAlias=1

InlineSetting=Color | #Color#, (255*0.5)
InlinePattern=.+ (.+)

StringAlign=Center
ClipString=1
W=(#Scale#*#ForecastIconSize#)

X=(#Scale#*#ForecastIconSize#*0.5)r
Y=(#Scale#*(#ForecastIconSize#*1.125))r

DynamicVariables=1
UpdateDivider=-1

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

[Day0WeekdayShort]
Meter=String
MeterStyle=MeterStyleDayNWeekdayShort

Text=[mDay0WeekdayShort]

X=(#Scale#*#ForecastIconSize#*0.5+(#Scale#*(#SkinWidth#-#ForecastIconSize#*(4*2-1)))*([#Alignment[#Alignment]]/2))
Y=(#Scale#*6)R

[Day0IconColor]
Meter=Image
MeterStyle=MeterStyleDayNIconColor

ImageName=[&mDay0[&mCheckDay0DayOrNight]Icon].png

[Day0IconMono]
Meter=String
MeterStyle=MeterStyleDayNIconMono

Text=[&mDay0[&mCheckDay0DayOrNight]Icon]

[Day0Temperature]
Meter=String
MeterStyle=MeterStyleDayNTemperature

Text=[mDay0TemperatureMax] [mDay0TemperatureMin]

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

[Day1WeekdayShort]
Meter=String
MeterStyle=MeterStyleDayNWeekdayShort

Text=[mDay1WeekdayShort]

[Day1IconColor]
Meter=Image
MeterStyle=MeterStyleDayNIconColor

ImageName=[mDay1Icon].png

[Day1IconMono]
Meter=String
MeterStyle=MeterStyleDayNIconMono

Text=[mDay1Icon]

[Day1Temperature]
Meter=String
MeterStyle=MeterStyleDayNTemperature

Text=[mDay1TemperatureMax] [mDay1TemperatureMin]

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

[Day2WeekdayShort]
Meter=String
MeterStyle=MeterStyleDayNWeekdayShort

Text=[mDay2WeekdayShort]

[Day2IconColor]
Meter=Image
MeterStyle=MeterStyleDayNIconColor

ImageName=[mDay2Icon].png

[Day2IconMono]
Meter=String
MeterStyle=MeterStyleDayNIconMono

Text=[mDay2Icon]

[Day2Temperature]
Meter=String
MeterStyle=MeterStyleDayNTemperature

Text=[mDay2TemperatureMax] [mDay2TemperatureMin]

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

[Day3WeekdayShort]
Meter=String
MeterStyle=MeterStyleDayNWeekdayShort

Text=[mDay3WeekdayShort]

[Day3IconColor]
Meter=Image
MeterStyle=MeterStyleDayNIconColor

ImageName=[mDay3Icon].png

[Day3IconMono]
Meter=String
MeterStyle=MeterStyleDayNIconMono

Text=[mDay3Icon]

[Day3Temperature]
Meter=String
MeterStyle=MeterStyleDayNTemperature

Text=[mDay3TemperatureMax] [mDay3TemperatureMin]


User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Using two weather skins and only one loads at start up

Post by balala »

adewsetoo wrote: December 10th, 2020, 6:24 pm I tried entering in "UpdateRate=60" under the [Rainmeter] section in the base .ini file, and tried the same in the skin's settings file. Haven't figured out the problem but, in fairness, I'm incredibly green to Rainmeter.
UpdateRate is not a valid option into the [Rainmeter] section. It can be used into a WebParser measure or / and a Ping plugin measure, but not into the [Rainmeter] section (in fact it can be added to the [Rainmeter] section as well, but has no effect).
Which are the two skins you have problems with? Because usually you can use more weather skins, I have more and even if I'm using currently just one, if I load a second one, both are working with no problems. So which are the skins you are talking about?
adewsetoo
Posts: 6
Joined: December 10th, 2020, 6:17 pm

Re: Using two weather skins and only one loads at start up

Post by adewsetoo »

I botched up a version of Mini Weather under the "The Old Design" preset to just display the current weather and a green bar. Next to it is JDWS-02, the Annen preset, and I also changed the color of some of the top content to be invisible so it only shows the weekly forecast.

Sometimes at startup the skins look like this: https://imgur.com/gzsD7XK

Sometimes at startup (or if I just refresh the skin), it will also look like the set up is intended to: https://imgur.com/wdqqgCn
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Using two weather skins and only one loads at start up

Post by balala »

adewsetoo wrote: December 10th, 2020, 6:55 pm I botched up a version of Mini Weather under the "The Old Design" preset to just display the current weather and a green bar. Next to it is JDWS-02, the Annen preset, and I also changed the color of some of the top content to be invisible so it only shows the weekly forecast.

Sometimes at startup the skins look like this: https://imgur.com/gzsD7XK

Sometimes at startup (or if I just refresh the skin), it will also look like the set up is intended to: https://imgur.com/wdqqgCn
Please pack both configs you have problems with and upload the package here, to can see what's going on.
adewsetoo
Posts: 6
Joined: December 10th, 2020, 6:17 pm

Re: Using two weather skins and only one loads at start up

Post by adewsetoo »

This is, quite literally, the first time I've ever done this or ever even heard "pack the config" with respect to Rainmeter terms so I did a quick forum search and hope this is what you meant. Let me know if I need to resubmit. Between the two previously mentioned skins, it's just the attached one that is the issue.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Using two weather skins and only one loads at start up

Post by balala »

adewsetoo wrote: December 10th, 2020, 7:20 pm This is, quite literally, the first time I've ever done this or ever even heard "pack the config" with respect to Rainmeter terms so I did a quick forum search and hope this is what you meant. Let me know if I need to resubmit. Between the two previously mentioned skins, it's just the attached one that is the issue.
Yep, this is it, however even a simple .zip / .rar would have been fine. But this is good as well.
However there is another problem (or two in fact):
  • The package includes only one config, but you said there are two weather skins, which you can't load (or don't work) simultaneously. So I need one more (probably, right?).
  • The package includes more skins, which is the weather skin (because I can't identify it about the name - to be honest I can't even identify the language)?
adewsetoo
Posts: 6
Joined: December 10th, 2020, 6:17 pm

Re: Using two weather skins and only one loads at start up

Post by adewsetoo »

Here's the other skin I'm using. I didn't upload it because, like I said, this one is working just fine. It's everything to the left of the green bar that is a recurring 50/50 issue.

Regarding the first package I uploaded... yeah, I'm not sure what jibberish any of the folders means. Dutch, maybe? Anyways...

There are four subcategories to the problem skin:
"Annen"
"Eelde"
"Leek"
"Peize"

And there should be a "Settings.ini". The one that I'm using is called "Annen" and I made the top most portions invisible.

Does that help?
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Using two weather skins and only one loads at start up

Post by balala »

adewsetoo wrote: December 10th, 2020, 7:42 pm Does that help?
Does and doesn't, because for me all included skins are working, even the ones belonging to the first package:
JDWS.png
Tried more refreshes, reloads, but found no problems, the skins are always working.
So, not sure what to say. Does anyone else has the described problems?
You do not have the required permissions to view the files attached to this post.
adewsetoo
Posts: 6
Joined: December 10th, 2020, 6:17 pm

Re: Using two weather skins and only one loads at start up

Post by adewsetoo »

See that is so weird. For me it still wants to work about half the time. I just got home, booted up the rig, and the reports populated just fine but today's "high temperature" for Thu doesn't want to load regardless of how many times I refresh it.

https://imgur.com/AqLR94N

I know I'm totally new to this stuff but there's obviously something I'm missing...
User avatar
xenium
Posts: 865
Joined: January 4th, 2018, 9:52 pm

Re: Using two weather skins and only one loads at start up

Post by xenium »

adewsetoo wrote: December 11th, 2020, 12:32 am See that is so weird. For me it still wants to work about half the time. I just got home, booted up the rig, and the reports populated just fine but today's "high temperature" for Thu doesn't want to load regardless of how many times I refresh it.

https://imgur.com/AqLR94N

I know I'm totally new to this stuff but there's obviously something I'm missing...
Starting somewhere in the afternoon weather.com no longer displays the high temperature for today.
The high temperature will be displayed again, somewhere the next morning.
This is how the weather.com website works.
Other weather providers like Yahoo or Foreca display the high temperature for today throughout the day.
When you see that the high temperature for today is no longer displayed, access the weather.com website enter your location and you will see that the high temperature is not displayed.
So... the skin works well.