It is currently April 20th, 2024, 11:04 am
Get help with creating, editing & fixing problems with skins
DoobyDoobs
Posts: 7 Joined: October 31st, 2022, 11:24 am
Post
by DoobyDoobs » February 1st, 2023, 2:30 am
Hello peoples, can anyone help with getting the real feel from yahoo into lumiero? The code im using is shown above but ill put it here anyway, idk how it works, but if you need any info from my side then I can provide
Code: Select all
[Rainmeter]
Update=1000
Author=Connect-R
BackgroundMode=2
SolidColor=0,0,0,1
DynamicWindowSize=1
AccurateText=1
MouseScrollUpAction=[!SetVariable Scale "(#Scale#+#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#+#ScrollMouseIncrement#)"][!Refresh]
MouseScrollDownAction=[!SetVariable Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!Refresh]
ContextTitle=> Fahrenheit
ContextAction=[!WritekeyValue MeterTemp MeasureName MeasureTempFahrenheit][!WritekeyValue MeterFeelsLike MeasureName MeasureFeelLikeFahrenheit][!WritekeyValue MeterNightTemperature MeasureName MeasureMinTemperatureNightFahrenheit][!WritekeyValue MeterDayTemperature MeasureName MeasureMaxTemperatureDayFahrenheit][!WritekeyValue Variables TempSymbol F][!Refresh]
ContextTitle2=> Celsius
ContextAction2=[!WritekeyValue MeterTemp MeasureName MeasureTempCelsius][!WritekeyValue MeterFeelsLike MeasureName MeasureFeelLikeCelsius][!WritekeyValue MeterNightTemperature MeasureName MeasureMinTempCelsius][!WritekeyValue MeterDayTemperature MeasureName MeasureMaxTempCelsius][!WritekeyValue Variables TempSymbol C][!Refresh]
ContextTitle3=> Location > [MeasureLocation] <
ContextAction3=["https://www.yahoo.com/news/weather"]
ContextTitle4=> Font Color
ContextAction4=["#@#Addons\RainRGB4.exe" "VarName=Color1" "FileName=#@#Variables.inc"]
ContextTitle5=> 24hTime
ContextAction5=[!WriteKeyValue Variables Format "H" "#@#Variables.inc"][!WriteKeyValue Variables Hidden2 "1" "#@#Variables.inc"][!WriteKeyValue Variables Hidden "0" "#@#Variables.inc"][!Refresh *]
ContextTitle6=> 12hTime
ContextAction6=[!WriteKeyValue Variables Format "#I" "#@#Variables.inc"][!WriteKeyValue Variables Hidden2 "0" "#@#Variables.inc"][!WriteKeyValue Variables Hidden "1" "#@#Variables.inc"][!Refresh *]
ContextTitle7=> Translate
ContextAction7=["#ROOTCONFIGPATH#@Resources\Language\Language.inc"]
ContextTitle8=> MediaMonkey
ContextAction8=[!WriteKeyValue Variables Player MediaMonkey "#@#Variables.inc"][!Refresh *]
ContextTitle9=> iTunes
ContextAction9=[!WriteKeyValue Variables Player iTunes "#@#Variables.inc"][!Refresh *]
ContextTitle10=> Windows Media Player
ContextAction10=[!WriteKeyValue Variables Player WMP "#@#Variables.inc"][!Refresh *]
ContextTitle11=> Winamp
ContextAction11=[!WriteKeyValue Variables Player Winamp "#@#Variables.inc"][!Refresh *]
ContextTitle12=> Foobar2000
ContextAction12=[!WriteKeyValue Variables Player CAD "#@#Variables.inc"][!Refresh *]
ContextTitle13=> AIMP
ContextAction13=[!WriteKeyValue Variables Player AIMP "#@#Variables.inc"][!Refresh *]
ContextTitle14=> MusicBee
ContextAction14=[!WriteKeyValue Variables Player CAD "#@#Variables.inc"][!Refresh *]
ContextTitle15=> J.River Media
ContextAction15=[!WriteKeyValue Variables Player CAD "#@#Variables.inc"][!Refresh *]
ContextTitle16=> Spotify (Desktop v.)
ContextAction16=[!WriteKeyValue Variables Player Spotify "#@#Variables.inc"][!Refresh *]
[Variables]
@include=#@#Variables.inc
@include2=#@#Language\Language.inc
Scale=2.9
TempSymbol=C
;-----------------------------------------------------------—
;-----------------------------------------------------------—
[MeasureWeather]
Measure=Plugin
Plugin=WebParser
URL=https://www.yahoo.com/news/weather
RegExp=<h1 class="Fz\(3rem\)\-\-miw1250 Fz\(2.65rem\)\-\-miw1024 Fz\(1.62rem\) Fw\(n\) Lh\(1\) Trsdu\(.3s\) Wob\(ba\)">([^<]+).*<span class="Va\(t\) D\(b\) fahrenheit celsius_D\(n\)">([^<]+).*<img class=wafer-img data-wf-src=.*60x60\/([^\@]+).*
UpdateRate=900
[MeasureWeather_Additional]
Measure=Plugin
Plugin=WebParser
URL=https://www.yahoo.com/news/weather
RegExp=<span class="Va\(m\) Px\(6px\) D\(b\) celsius_D\(n\)">([^°]+).*<span class="Va\(m\) Px\(6px\) D\(b\) celsius_D\(n\)">([^°]+).*
UpdateRate=900
;-----------------------------------------------------------—
;-----------------------------------------------------------—
[MeasureLocation]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=1
[MeasureIcon]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=3
DynamicVariables=1
Substitute="rain_day_night":"rain","scattered_showers_day_night":"rain","windy_day_night":"wind","mostly_cloudy_day_night":"cloudy","cloudy_day_night":"cloudy","snow_rain_mix_day_night":"sleet","fair_day":"clear_day","fair_night":"clear_night","flurries_day_night":"snow","snow_day_night":"snow","thundershowers_day_night":"thunder","fog_day_night":"fog"
[MeasureDescription]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=1
Substitute=#Conditions#
[MeasureMaxTemperatureDayFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather_Additional]
StringIndex=2
[MeasureMinTemperatureNightFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather_Additional]
StringIndex=1
[MeasureTempFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=2
[MeasureFeelLikeFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=2
[MeasureMaxTempCelsius]
Measure=Calc
Formula=Round((MeasureMaxTemperatureDayFahrenheit-32)*5/9)
DynamicVariables=1
[MeasureMinTempCelsius]
Measure=Calc
Formula=Round((MeasureMinTemperatureNightFahrenheit-32)*5/9)
DynamicVariables=1
[MeasureFeelLikeCelsius]
Measure=Calc
Formula=Round((MeasureFeelLikeFahrenheit-32)*5/9)
DynamicVariables=1
[MeasureTempCelsius]
Measure=Calc
Formula=Round((MeasureTempFahrenheit-32)*5/9)
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterIcon]
Meter=Image
MeasureName=MeasureIcon
Path=#@#WeatherIcons
X=(0*#Scale#)
Y=(0*#Scale#)
W=(30*#Scale#)
AntiAlias=1
ImageTint=#Color1#
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterLocation]
Meter=String
MeasureName=MeasureLocation
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(5*#Scale#)
Y=(35*#Scale#)
Text=%1
AntiAlias=1
[MeterTemp]
Meter=String
MeasureName=MeasureTempCelsius
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(20*#Scale#)
X=(40*#Scale#)
Y=(0*#Scale#)
Text=%1˚
AntiAlias=1
[MeterDescription]
Meter=String
MeasureName=MeasureDescription
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(4*#Scale#)
X=(5*#Scale#)
Y=(42*#Scale#)
Text=%1
AntiAlias=1
[MeterFeelsLike]
Meter=String
MeasureName=MeasureFeelLikeCelsius
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(5*#Scale#)
Y=(0*#Scale#)R
Text=#Feels like# %1° #TempSymbol#
AntiAlias=1
[MeterNightTemperatureText]
Meter=String
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(5*#Scale#)
Y=(10*#Scale#)R
Text=Max temp.
AntiAlias=1
UpdateDivider=-1
[MeterDayTemperatureText]
Meter=String
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(50*#Scale#)
Y=(0*#Scale#)r
Text=Min temp.
AntiAlias=1
UpdateDivider=-1
[MeterNightTemperature]
Meter=String
MeasureName=MeasureMinTempCelsius
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(4*#Scale#)
X=(5*#Scale#)
Y=(1*#Scale#)R
Text=%1°#TempSymbol#
AntiAlias=1
[MeterDayTemperature]
Meter=String
MeasureName=MeasureMaxTempCelsius
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(4*#Scale#)
X=(50*#Scale#)
Y=(1*#Scale#)r
Text=%1°#TempSymbol#
AntiAlias=1
Thanks
Yincognito
Rainmeter Sage
Posts: 7128 Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita
Post
by Yincognito » February 14th, 2023, 12:31 pm
DoobyDoobs wrote: ↑ February 1st, 2023, 2:30 am
Hello peoples, can anyone help with getting the real feel from yahoo into lumiero? The code im using is shown above but ill put it here anyway, idk how it works, but if you need any info from my side then I can provide
See
here for similar issues. It all boils down to adjusting the regex part in the skin, and then setting the string index options in the related measures appropriately. I know you only needed a couple of data from the site, but I inteneded to make it complete, thus didn't finished it yet due to lack of time.
schroef
Posts: 2 Joined: April 16th, 2023, 1:12 am
Post
by schroef » April 16th, 2023, 1:15 am
@Aselockd & @DoobyDoobs
Man it was broken for months, tried tof fix it couple times without luck. Today tried it again and luckily i found this thread
It looks awesome again. My weather was broken.
rainmeter-fixed.png
Im getting errors again sadly. Im getting missing icon erron errors for "fair_night" which is is replaced by "clear_night". Yet in the log i see missing icon 82
You do not have the required permissions to view the files attached to this post.
Last edited by schroef on May 3rd, 2023, 3:09 am, edited 2 times in total.
RikudoRay
Posts: 1 Joined: April 26th, 2023, 4:15 am
Post
by RikudoRay » April 26th, 2023, 4:19 am
Hi, I was wondering if we have a latest fix. Mine is not working again. Thanks!
Code: Select all
[Rainmeter]
Update=1000
Author=Connect-R
BackgroundMode=2
SolidColor=0,0,0,1
DynamicWindowSize=1
AccurateText=1
MouseScrollUpAction=[!SetVariable Scale "(#Scale#+#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#+#ScrollMouseIncrement#)"][!Refresh]
MouseScrollDownAction=[!SetVariable Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!WriteKeyValue Variables Scale "(#Scale#-#ScrollMouseIncrement# < 0.2 ? 0.2 : #Scale#-#ScrollMouseIncrement#)"][!Refresh]
ContextTitle=> Fahrenheit
ContextAction=[!WritekeyValue MeterTemp MeasureName MeasureTempFahrenheit][!WritekeyValue MeterFeelsLike MeasureName MeasureFeelLikeFahrenheit][!WritekeyValue MeterNightTemperature MeasureName MeasureMinTemperatureNightFahrenheit][!WritekeyValue MeterDayTemperature MeasureName MeasureMaxTemperatureDayFahrenheit][!WritekeyValue Variables TempSymbol F][!Refresh]
ContextTitle2=> Celsius
ContextAction2=[!WritekeyValue MeterTemp MeasureName MeasureTempCelsius][!WritekeyValue MeterFeelsLike MeasureName MeasureFeelLikeCelsius][!WritekeyValue MeterNightTemperature MeasureName MeasureMinTempCelsius][!WritekeyValue MeterDayTemperature MeasureName MeasureMaxTempCelsius][!WritekeyValue Variables TempSymbol C][!Refresh]
ContextTitle3=> Location > [MeasureLocation] <
ContextAction3=["https://www.yahoo.com/news/weather"]
ContextTitle4=> Font Color
ContextAction4=["#@#Addons\RainRGB4.exe" "VarName=Color1" "FileName=#@#Variables.inc"]
ContextTitle5=> 24hTime
ContextAction5=[!WriteKeyValue Variables Format "H" "#@#Variables.inc"][!WriteKeyValue Variables Hidden2 "1" "#@#Variables.inc"][!WriteKeyValue Variables Hidden "0" "#@#Variables.inc"][!Refresh *]
ContextTitle6=> 12hTime
ContextAction6=[!WriteKeyValue Variables Format "#I" "#@#Variables.inc"][!WriteKeyValue Variables Hidden2 "0" "#@#Variables.inc"][!WriteKeyValue Variables Hidden "1" "#@#Variables.inc"][!Refresh *]
ContextTitle7=> Translate
ContextAction7=["#ROOTCONFIGPATH#@Resources\Language\Language.inc"]
ContextTitle8=> MediaMonkey
ContextAction8=[!WriteKeyValue Variables Player MediaMonkey "#@#Variables.inc"][!Refresh *]
ContextTitle9=> iTunes
ContextAction9=[!WriteKeyValue Variables Player iTunes "#@#Variables.inc"][!Refresh *]
ContextTitle10=> Windows Media Player
ContextAction10=[!WriteKeyValue Variables Player WMP "#@#Variables.inc"][!Refresh *]
ContextTitle11=> Winamp
ContextAction11=[!WriteKeyValue Variables Player Winamp "#@#Variables.inc"][!Refresh *]
ContextTitle12=> Foobar2000
ContextAction12=[!WriteKeyValue Variables Player CAD "#@#Variables.inc"][!Refresh *]
ContextTitle13=> AIMP
ContextAction13=[!WriteKeyValue Variables Player AIMP "#@#Variables.inc"][!Refresh *]
ContextTitle14=> MusicBee
ContextAction14=[!WriteKeyValue Variables Player CAD "#@#Variables.inc"][!Refresh *]
ContextTitle15=> J.River Media
ContextAction15=[!WriteKeyValue Variables Player CAD "#@#Variables.inc"][!Refresh *]
ContextTitle16=> Spotify (Desktop v.)
ContextAction16=[!WriteKeyValue Variables Player Spotify "#@#Variables.inc"][!Refresh *]
[Variables]
@include=#@#Variables.inc
@include2=#@#Language\Language.inc
Scale=2.9
TempSymbol=C
;-----------------------------------------------------------—
;-----------------------------------------------------------—
[MeasureWeather]
Measure=Plugin
Plugin=WebParser
URL=https://www.yahoo.com/news/weather
RegExp=<h1 class="Fz\(3rem\)\-\-miw1250 Fz\(2.65rem\)\-\-miw1024 Fz\(1.62rem\) Fw\(n\) Lh\(1\) Trsdu\(.3s\) Wob\(ba\)">([^<]+).*<span class="Va\(t\) D\(b\) fahrenheit celsius_D\(n\)">([^<]+).*<img class=wafer-img data-wf-src=.*60x60\/([^\@]+).*
UpdateRate=900
URL=https://www.yahoo.com/news/weather/japan/shizuoka-prefecture/shizuoka-shi-1118217
[MeasureWeather_Additional]
Measure=Plugin
Plugin=WebParser
URL=https://www.yahoo.com/news/weather
RegExp=<span class="Va\(m\) Px\(6px\) D\(b\) celsius_D\(n\)">([^°]+).*<span class="Va\(m\) Px\(6px\) D\(b\) celsius_D\(n\)">([^°]+).*
UpdateRate=900
;-----------------------------------------------------------—
;-----------------------------------------------------------—
[MeasureLocation]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=1
[MeasureIcon]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=3
DynamicVariables=1
Substitute="rain_day_night":"rain","scattered_showers_day_night":"rain","windy_day_night":"wind","mostly_cloudy_day_night":"cloudy","cloudy_day_night":"cloudy","snow_rain_mix_day_night":"sleet","fair_day":"clear_day","fair_night":"clear_night","flurries_day_night":"snow","snow_day_night":"snow","thundershowers_day_night":"thunder","fog_day_night":"fog"
[MeasureDescription]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=1
Substitute=#Conditions#
[MeasureMaxTemperatureDayFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather_Additional]
StringIndex=2
[MeasureMinTemperatureNightFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather_Additional]
StringIndex=1
[MeasureTempFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=2
[MeasureFeelLikeFahrenheit]
Measure=Plugin
Plugin=WebParser
URL=[MeasureWeather]
StringIndex=2
[MeasureMaxTempCelsius]
Measure=Calc
Formula=Round((MeasureMaxTemperatureDayFahrenheit-32)*5/9)
DynamicVariables=1
[MeasureMinTempCelsius]
Measure=Calc
Formula=Round((MeasureMinTemperatureNightFahrenheit-32)*5/9)
DynamicVariables=1
[MeasureFeelLikeCelsius]
Measure=Calc
Formula=Round((MeasureFeelLikeFahrenheit-32)*5/9)
DynamicVariables=1
[MeasureTempCelsius]
Measure=Calc
Formula=Round((MeasureTempFahrenheit-32)*5/9)
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterIcon]
Meter=Image
MeasureName=MeasureIcon
Path=#@#WeatherIcons
X=(0*#Scale#)
Y=(0*#Scale#)
W=(30*#Scale#)
AntiAlias=1
ImageTint=#Color1#
DynamicVariables=1
;-------------------------------------------------------------
;-------------------------------------------------------------
[MeterLocation]
Meter=String
MeasureName=MeasureLocation
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(5*#Scale#)
Y=(35*#Scale#)
Text=%1
AntiAlias=1
[MeterTemp]
Meter=String
MeasureName=MeasureTempCelsius
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(20*#Scale#)
X=(40*#Scale#)
Y=(0*#Scale#)
Text=%1˚
AntiAlias=1
[MeterDescription]
Meter=String
MeasureName=MeasureDescription
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(4*#Scale#)
X=(5*#Scale#)
Y=(42*#Scale#)
Text=%1
AntiAlias=1
[MeterFeelsLike]
Meter=String
MeasureName=MeasureFeelLikeCelsius
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(5*#Scale#)
Y=(0*#Scale#)R
Text=#Feels like# %1° #TempSymbol#
AntiAlias=1
[MeterNightTemperatureText]
Meter=String
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(5*#Scale#)
Y=(10*#Scale#)R
Text=#Night temp#.
AntiAlias=1
UpdateDivider=-1
[MeterDayTemperatureText]
Meter=String
StringAlign=Left
FontColor=#Color1#,100
FontFace=Comfortaa
FontSize=(3.5*#Scale#)
X=(50*#Scale#)
Y=(0*#Scale#)r
Text=#Day temp#.
AntiAlias=1
UpdateDivider=-1
[MeterNightTemperature]
Meter=String
MeasureName=MeasureMinTempCelsius
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(4*#Scale#)
X=(5*#Scale#)
Y=(1*#Scale#)R
Text=%1°#TempSymbol#
AntiAlias=1
[MeterDayTemperature]
Meter=String
MeasureName=MeasureMaxTempCelsius
StringAlign=Left
FontColor=#Color1#
FontFace=Comfortaa
FontSize=(4*#Scale#)
X=(50*#Scale#)
Y=(1*#Scale#)r
Text=%1°#TempSymbol#
AntiAlias=1
SilverAzide
Rainmeter Sage
Posts: 2604 Joined: March 23rd, 2015, 5:26 pm
Post
by SilverAzide » April 26th, 2023, 12:05 pm
RikudoRay wrote: ↑ April 26th, 2023, 4:19 am
Hi, I was wondering if we have a latest fix. Mine is not working again. Thanks!
I don't know if this is the problem, but your
[MeasureWeather] measure has
two URL options. Delete one or the other, but you can't have both (one will be ignored).
balala
Rainmeter Sage
Posts: 16148 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » April 26th, 2023, 3:28 pm
SilverAzide wrote: ↑ April 26th, 2023, 12:05 pm
(one will be ignored).
Just to be precise:
the second will be ignored.
schroef
Posts: 2 Joined: April 16th, 2023, 1:12 am
Post
by schroef » May 3rd, 2023, 3:10 am
@Aselockd & @DoobyDoobs
Man it was broken for months, tried tof fix it couple times without luck. Today tried it again and luckily i found this thread
It looks awesome again. My weather was broken.
rainmeter-fixed.png
Im getting errors again sadly. Im getting missing icon erron errors for "fair_night" which is is replaced by "clear_night". Yet in the log i see missing icon 82
EDIT
ow seems it went back to the old file somehow. I had made a backup and stored it in the same directory