Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
October 21, 2011
File Size
10.6 KB
Link
Thumb
Embed

Stats

Views
69,852 (47 today)
Favourites
307 (who?)
Comments
120
Downloads
23,902 (13 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×
Do I Need a Jacket? by FlyingHyrax Do I Need a Jacket? by FlyingHyrax

"Do I Need a Jacket?"

Yet another Rainmeter weather skin

"A simple, straightforward interpretation of the weather - It's like having your mom on your desktop!"

All credit for the idea goes to: [link]
However, the skin does not actually use that website. The skin parses current weather info from Yahoo! Weather and does the math in the skin. The only downside to this - Y! Weather does not provide wind gusts data, which is important for a skin like this.

On mouseover, the skin shows three buttons for the Settings.txt file, Refresh, and the Readme file. Please refer to the readme ("info.rtf") for explanations of all the variables in Settings.txt and instructions on how to find your Yahoo! weather location code.

UPDATE to the README
Looks like Yahoo! made some changes to their weather page, and removed the RSS button. The feed still works, but you can't go from the forecast page to the RSS feed to wind your Yahoo/Weather.com WOEID. In the US, instead of using your WOEID, you should just be able to use your ZIP code. For those outside the US, try this:
- Go to Weather.com (the Weather Channel) and search for your location, preferably using a city and country.
- On the page for your location, look at the URL bar. It should be something like this: htt.p://www.weather.com/weather/right-now/SFXX0023:1
- The sequence of eight letters and numbers near the end of the URL, between the last "/" and the ":", are that location's WOEID. For instance, Johannesburg, South Africa (the link above) is SFXX0023. Use the WOEID to set your location for the skin as indicated in the README file.
Add a Comment:
 
:iconpiam111:
Mine doesnt seem to change from " you need a jacket, its chilly out but not windy"

My location newcastle upon tyne, UK

"[Variables]
loc=UKXX0098
unit=f

hotTemp=35
coldTemp=2
freezeTemp=1

windLow=15
windHigh=30
windExtreme=77

color=20,20,20,200
font1=Segoe UI Light
font2=Helvetica
size1=28
size2=14
"

Any ideas?
Reply
:iconflyinghyrax:
Hi piam111,
Interesting problem, but unfortunately I cannot seem to replicate it on my system using the settings you gave... so I'm not sure what might be causing the hang-up.
Reply
:iconlblake:
The feed doesn't update for me. It only updates when I hit the refresh button. Any help appreciated.
Reply
:iconflyinghyrax:
Several other people have reported this - unfortunately the short answer is that I have no idea why it happens. It's something with the way I'm using WebParser in Rainmeter I guess, but I don't know what. :(
Reply
:iconbee-dee:
I fixed this by using UpdateRate along with UpdateDivider. I haven't seen it change from jacket to no jacket yet, but the debug logs show it hitting Yahoo! at the prescribed rate now, so it should when conditions change enough.

Here are the relevant settings-- go into Edit Skin and look for these sections:

[Rainmeter]
Update=1000
<snip>

[mWeatherData]
<snip>
UpdateDivider=1
UpdateRate=1800
<snip>

With this configuration, you set the poll rate (in seconds) with UpdateRate if you'd like to change it. I haven't quite figured out how often Yahoo! updates their weather data, but a half hour was good enough for me. If you start changing the other options, the rate at which the rss is downloaded is Update x UpdateDivider x UpdateRate (in milliseconds).
Reply
:iconaltheablue:
Very nice. Thank you!
Reply
:iconsirlord-rayn:
Is there any way to change the vertical distance between the first and second lines? Thanks in advance.
Reply
:iconflyinghyrax:
Yes indeed - in the skin's .ini file, change the Y value in the [Elaboration] section. That number is the distance (in pixels, I think) between the bottom line of text and the top of the skin, so altering that should change the spacing between the two lines of text. You can also play around with making the value relative: "Y=5R" will position the string 5 px below the string above it. [link]
Reply
:iconstarchbl:
Can you let me know how I can change the time zone for this? When it's 10:30 pm, it shows the time as 8:51 pm. Thanks in advance
Reply
:iconflyinghyrax:
Hi starchbl, The timestamp displayed in the tooltip is the time the weather data was last updated. So in this case, the skin was parsing data from two hours ago.
Reply
Add a Comment: