It is currently March 28th, 2024, 8:36 am

Weather SKIN REQUEST

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

sometimes the DATE isnt updated IDK the imagery too . anyone help?
test.png
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy
Contact:

Re: Weather SKIN REQUEST

Post by fonpaolo »

If your skin usually is working fine, since you're downloading sources from a site, maybe the site itself isn't updated... it's neither the first time it happens (in general) and surely nor the last.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Everytime i refresh myskin it download the images dating of december 02 and december 03 :( Help please

I've added the code that balala said

Code: Select all

  DownloadFile=Images\Img0.jpg - DownloadFile=Images\Img9.jpg
Is there a code that will automatically load the images ? coz everytime i refresh my skin the NOSIGNAL(back) image appears :(
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

vHAPpY wrote:Everytime i refresh myskin it download the images dating of december 02 and december 03 :( Help please
Weird. I just refreshed the skin and attached you'll find what I got. See the date: december 05, so today. I can't imagine what's happening, why in your case it downloads such old images. Are you sure?
vHAPpY wrote:I've added the code that balala said

Code: Select all

  DownloadFile=Images\Img0.jpg - DownloadFile=Images\Img9.jpg
Is there a code that will automatically load the images ? coz everytime i refresh my skin the NOSIGNAL(back) image appears :(
It takes while to the appropriate images to be downloaded, in the meantime you'll see the static image, used as background (the Nosignal image, as you named it).
When the WebParser measures finish to download the images, the appropriate image meter (in this case [MeterImages]) uses the downloaded images, through the MeasureName=MeasureImage[MeasureTimer] option, which tell this meter to get the images downloaded by the MeasureImage0 - MeasureImage9 measures. Make sure that the DynamicVariables=1 option is set on this image meter (although in the package you've posted, it is, but be sure it wasn't accidentally removed).
Anyway, just in case, here is my working code:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
Background=#@#images\webcam\back.png

[Metadata]
Name=Himawari-8AniWeatherMap
Author=vHAPpY;Thanks to:fonpaolo;FreeRaider;balala; mak_kawa for helping me
Information=Imagery by JMA/MSC: Himawari Real-Time Image via CIRA/RAMMB, NOAA NESDIS and CIRA
License=Creative Commons BY-NC-SA 3.0
Version=1

[Variables]
Item=(?(?=.*<tr>).*<td>(.*)</td>.*<td><input type="radio" name="starting_image" value=".*"  /></td>.*<td><a href="(.*)" target="_blank" .*</td>.*</tr>)

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
RegExp=(?siU)#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#
FinishAction=[!EnableMeasureGroup "Images"][!CommandMeasure "MeasureImage0" "Update"][!CommandMeasure "MeasureImage1" "Update"][!CommandMeasure "MeasureImage2" "Update"][!CommandMeasure "MeasureImage3" "Update"][!CommandMeasure "MeasureImage4" "Update"][!CommandMeasure "MeasureImage5" "Update"][!CommandMeasure "MeasureImage6" "Update"][!CommandMeasure "MeasureImage7" "Update"][!CommandMeasure "MeasureImage8" "Update"][!CommandMeasure "MeasureImage9" "Update"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"]

[MeasureDate0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=1

[MeasureImageURL0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=2
IfMatch=^$
IfMatchAction=[!SetVariable Img0 "0"]
IfNotMatchAction=[!SetVariable Img0 "1"]

[MeasureDate1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=3

[MeasureImageURL1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=4
IfMatch=^$
IfMatchAction=[!SetVariable Img1 "0"]
IfNotMatchAction=[!SetVariable Img1 "1"]

[MeasureDate2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=5

[MeasureImageURL2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=6
IfMatch=^$
IfMatchAction=[!SetVariable Img2 "0"]
IfNotMatchAction=[!SetVariable Img2 "1"]

[MeasureDate3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=7

[MeasureImageURL3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=8
IfMatch=^$
IfMatchAction=[!SetVariable Img3 "0"]
IfNotMatchAction=[!SetVariable Img3 "1"]

[MeasureDate4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=9

[MeasureImageURL4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=10
IfMatch=^$
IfMatchAction=[!SetVariable Img4 "0"]
IfNotMatchAction=[!SetVariable Img4 "1"]

[MeasureDate5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=11

[MeasureImageURL5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=12
IfMatch=^$
IfMatchAction=[!SetVariable Img5 "0"]
IfNotMatchAction=[!SetVariable Img5 "1"]

[MeasureDate6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=13

[MeasureImageURL6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=14
IfMatch=^$
IfMatchAction=[!SetVariable Img6 "0"]
IfNotMatchAction=[!SetVariable Img6 "1"]

[MeasureDate7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=15

[MeasureImageURL7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=16
IfMatch=^$
IfMatchAction=[!SetVariable Img7 "0"]
IfNotMatchAction=[!SetVariable Img7 "1"]

[MeasureDate8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=17

[MeasureImageURL8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=18
IfMatch=^$
IfMatchAction=[!SetVariable Img8 "0"]
IfNotMatchAction=[!SetVariable Img8 "1"]

[MeasureDate9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=19

[MeasureImageURL9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=20
IfMatch=^$
IfMatchAction=[!SetVariable Img9 "0"]
IfNotMatchAction=[!SetVariable Img9 "1"]

[MeasureImage0]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL0]
Download=1
DownloadFile=Images\Img0.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage1]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL1]
Download=1
DownloadFile=Images\Img1.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage2]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL2]
Download=1
DownloadFile=Images\Img2.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage3]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL3]
Download=1
DownloadFile=Images\Img3.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage4]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL4]
Download=1
DownloadFile=Images\Img4.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage5]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL5]
Download=1
DownloadFile=Images\Img5.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage6]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL6]
Download=1
DownloadFile=Images\Img6.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage7]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL7]
Download=1
DownloadFile=Images\Img7.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage8]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL8]
Download=1
DownloadFile=Images\Img8.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage9]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL9]
Download=1
DownloadFile=Images\Img9.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureTimer]
Measure=Calc
Formula=(( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# ) - ( COUNT % ( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# )) - 1 )
DynamicVariables=1
Disabled=1

[MeterImages]
Meter=Image
MeasureName=MeasureImage[MeasureTimer]
X=0
Y=0
Hidden=1
DynamicVariables=1
Group=ImgDat

[MaterDates]
Meter=STRING
MeasureName=MeasureDate[MeasureTimer]
X=([MeterImages:W]/2)
Y=-3R
Padding=15,5,15,5
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTERBOTTOM
AntiAlias=1
Text=%1
DynamicVariables=1
Hidden=1
Group=ImgDat

[MeterTop]
Meter=Image
ImageName="#@#images\webcam\top.png"
X=0
Y=0
UpdateDivider=-1
Note that in this code I replaced the [MeterBack] meter with the Background=#@#images\webcam\back.png option, added to the [Rainmeter] section.
Attachments
Sat.gif
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Thanks Hope it will not download such old img
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

vHAPpY wrote:Thanks Hope it will not download such old img
Anyone help with my skin please? Sometimes its okay but sometimes it's not. Look as of now Date and Imagery shown is yesterday
5.png
Hoping someone have a fix for this
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

vHAPpY wrote:Anyone help with my skin please? Sometimes its okay but sometimes it's not. Look as of now Date and Imagery shown is yesterday
I don't know what weird thing is happening there, because I haven't met this error. Up to now, I refreshed the skin a few times and always got the current date. Sorry, but it seems I can't help more.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

the images are downloaded everyday at 5:48PM PH Time displaying the day before yesterday

Something wrong my Regexp and variables?
test2.png
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

vHAPpY wrote:the images are downloaded everyday at 5:48PM PH Time displaying the day before yesterday

Something wrong my Regexp and variables?
No, I don't think, because in my case the skin downloads the images every time the WebParser measures are updated. If I remove the images and leave the skin loaded, on next update, they are re-downloaded. Try this and check if they reappear after 10 minutes (the WebParser measures use the default 10 minutes, or 600 seconds UdateRate).
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

balala wrote:No, I don't think, because in my case the skin downloads the images every time the WebParser measures are updated. If I remove the images and leave the skin loaded, on next update, they are re-downloaded. Try this and check if they reappear after 10 minutes (the WebParser measures use the default 10 minutes, or 600 seconds UdateRate).
test.png
The Date that are being download was December 3, and 10

Is there a code on the webparser that instantly update the images? I mean not that 10 mins time to wait
Post Reply