It is currently March 29th, 2024, 1:32 am

Weather Graph

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

Weather Graph

Post by balala »

Image
Starting from a previous thread (http://rainmeter.net/forum/viewtopic.php?f=4&t=19626&hilit=+weather+graph), here's my Weather Graph skin, which can show the evolution of the minimum and maximum temperature for today and next four days. This code is a bit diferent from the other, but nothing important.
Don't forget to set up your weather code and the temperature unit (c or f).
You do not have the required permissions to view the files attached to this post.
Last edited by balala on August 25th, 2016, 4:10 pm, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Graph

Post by balala »

Due Yahoo is changing the API query language, to require OAuth authentication (as it's described here), the old code is not working any more. To can use it, replace the URL option of the [MeasureWeatherRSS] measure with: URL=http://xml.weather.yahoo.com/forecastrss?p=#Location#&u=#Unit#.
Many thanks to jsmorley, for the help on how to fix this issue.
User avatar
exper1mental
Posts: 269
Joined: January 9th, 2013, 7:52 pm
Location: Clemson University

Re: Weather Graph

Post by exper1mental »

Cool idea :thumbup: 8-)
Image
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Graph

Post by balala »

Image
Because the Yahoo Weather is not working any more, I had to fix the previous skin. Here is the working one.
You do not have the required permissions to view the files attached to this post.
WhiteKing
Posts: 1
Joined: June 3rd, 2016, 1:00 pm

Re: Weather Graph

Post by WhiteKing »

Thanks for the update, you're one of the best :welcome:
types140
Posts: 2
Joined: June 11th, 2016, 10:03 pm

Re: Weather Graph

Post by types140 »

[update] 2.2.3 added language support for german
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Graph

Post by balala »

[update] 2.2.4 added language support for Hungarian and Romanian
Also note the followings:
  • The previous version (2.2.3), posted by types140, had a small bug: the [Measure1DayMaxTemp], [Measure2DayMinTemp] and [MeasureFifthDay] was disabled. All this caused that the temperatures wasn't properly distributed over the vertical axis. Fixed.
  • I updated the [MeasureUpperCaseTempUnit] measure: the standard letters seems to be not m and f, but m and i (imperial). m must be converted to c, i to f.
  • Updated all Plugin=Plugins\WebParser.dll options to the standard Plugin=WebParser.
  • I changed the [MeterLocation], to show both, the city name and the moment of last update and moved it to a new (the old) place. Where it was, it overlapped the chart.
  • Removed the DynamicVariables=1 options from a few Calc measures, which didn't need it.
  • I rewrote and commented out a few lines of the CheckAlerts.lua, because there was a few errors in the log, caused by this script. But because I'm not the author of this script, I don't really understand what is it for. Anyway, the first operation made by the script was to try to get the value of the [WeatherParent] measure. But a such measure don't exists in the WeatherGraph.ini. Right now it's still not clear for me what's the reason of this script and maybe its author will clarify and fix the errors. I also moved the CheckAlerts.lua file into the @Resources folder.
  • In the context menu, I moved the English language to the first place.
  • Some other minor improvements.
When installing, the skin don't has set the location and unit. First the Settings tool will open, to can set the location. To can use the skin, you'll have to first use it.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Graph

Post by balala »

dvo wrote:2.2.4 doesn't do the things that my last version does why back to zero? :o
now missing the auto update on change ....
I'm not sure I understood what's the problem. What you mean by "back to zero" and what by "missing the auto update on change"?
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm

Re: Weather Graph

Post by SilverAzide »

Hey Balala,
Just FYI... the CheckAlerts.lua script was written by jsmorley. The purpose of the script is to parse out weather alerts, IF PRESENT, from the wxdata feed from weather.com. Since there can be zero or more alerts, the script works better than a regex would (i.e., it won't throw errors into the log if there are no alerts). Perhaps the latest RM 4.0 features can work around this issue and alleviate the need for the script.
Gadgets Wiki GitHub More Gadgets...