It is currently November 30th, 2020, 11:19 pm

⭐ Weather.com

Post your work-in-progress and completed skins to share and discuss.
dgmele
Posts: 8
Joined: June 11th, 2020, 5:17 pm

Re: ⭐ Weather.com

Post by dgmele »

Any chance of a measures file for hourly weather?
ississi
Posts: 2
Joined: July 2nd, 2020, 9:15 am

Re: ⭐ Weather.com

Post by ississi »

jsmorley wrote: July 2nd, 2020, 1:34 pm There is no way to do this that is just a click or two. You are going to have to edit the skin.

You can scroll down in the meters and find [MeterTomorrowIcon], then copy from there down to the bottom and paste a copy at the bottom of the skin. Then go through all those copied meters, and change the section names from like [MeterTomorrowIcon] to [MeterDay3Icon], doing that for all meters. Then change the MeasureName values from like MeasureName=@ForecastDay2DayIcon to MeasureName=@ForecastDay3DayIcon, doing that for all meters.

Repeat this again for Day 4 and Day 5, following the same approach.

Once you are done, you will need to increase the height of the background shape:

Code: Select all

[MeterAllBackground]
Meter=Shape
Shape=Rectangle 0.5,0.5,169,322,12 | Fill Color #BackgroundColor# | StrokeWidth 1.5 | Stroke Color #FrameColor#
X=0
W=170
H=323
Changing the height of 322 in the Shape, and the height of the meter in H.

Then refresh...

While this is not a trivial amount of work, it's a BUNCH easier due to the @Include file approach that eliminates having to do all this for all the "measures" as well as the "meters". It's a lot of copy/paste/change to get the new meters you need, but really pretty straightforward.

Thank you! :-) :-)
Nekayah
Posts: 5
Joined: February 18th, 2020, 11:45 am

Re: ⭐ Weather.com

Post by Nekayah »

gfgzh.png
The skin has stopped working for me, and I've been getting this error in the log. It's actively updating with this error, only while the skin is loaded.

I've tried reloading skin, reloading Rainmeter, clearing Internet Explorer cache and cookies.
You do not have the required permissions to view the files attached to this post.
Last edited by Nekayah on July 31st, 2020, 4:16 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 21561
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Weather.com

Post by jsmorley »

Nekayah wrote: July 31st, 2020, 4:15 pm gfgzh.png

The addon has stopped working for me, and I've been getting this error in the log. It's actively updating with this error, only while the addon is loaded.
https://forum.rainmeter.net/viewtopic.php?f=5&t=35770#p180632
Nekayah
Posts: 5
Joined: February 18th, 2020, 11:45 am

Re: ⭐ Weather.com

Post by Nekayah »

Oh my god, again! Thank you for replying and working on it. Sorry to spam with this, I didn't realize.
User avatar
jsmorley
Developer
Posts: 21561
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Weather.com

Post by jsmorley »

Ok, I think I have fully addressed the new issues with the weather.com site.

Please get the .rmskin in the first post of this thread.

ONE IMPORTANT NOTE!

The new approach of using the API for the weather.com JSON requires a change to how you access a particular location.

All of the location "codes", like USVA0944 or bbd510e73cb5870f973cea9253bb1f9bfe239a129dfc2b89589cbb6d2d46b4bc or 22308 and such are NO LONGER SUPPORTED.

The new approach requires that you provide a Latitude and Longitude in the WeatherComJSONVariables.inc file. See that file for details on how you can get that for your location.

Please read WeatherCOMJSONVariables.inc carefully, it HAS changed.
User avatar
jsmorley
Developer
Posts: 21561
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Weather.com

Post by jsmorley »

I have added .inc files for up to 15 days of "Pollen forecasts"

WeatherComJSONPollen.inc
WeatherComJSONPollen10Day.inc
WeatherComJSONPollen7Day.inc
WeatherComJSONPollen5Day.inc
WeatherComJSONPollen3Day.inc

This forecasts values for Grass / Tree / Ragweed pollen levels.

I also corrected an issue with WeatherComJSONAlerts.inc that would produce an error in the log if there were no current alerts on the site.

Get the new .rmskin in the first post of this tread.
User avatar
pul53dr1v3r
Posts: 406
Joined: July 30th, 2014, 10:30 am

Re: ⭐ Weather.com

Post by pul53dr1v3r »

jsmorley wrote: August 2nd, 2020, 5:18 pm
You've made a small mistake in your WeatherComCodes.ini skin starting from [MeasureLatitude6] on, where the StringIndex values of [MeasureLatitudeN] are assigned to [MeasureLongitudeN] and vice versa.
User avatar
jsmorley
Developer
Posts: 21561
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Weather.com

Post by jsmorley »

pul53dr1v3r wrote: August 5th, 2020, 9:58 pm You've made a small mistake in your WeatherComCodes.ini skin starting from [MeasureLatitude6] on, where the StringIndex values of [MeasureLatitudeN] are assigned to [MeasureLongitudeN] and vice versa.
Thanks. That will be fixed the next time I release the .rmskin.
User avatar
VClouds
Posts: 82
Joined: April 7th, 2010, 2:34 pm

Re: ⭐ Weather.com

Post by VClouds »

I'm getting these errors with the Pollen JSON files.
Tried the Current and 7Part files.
PollenErrors.jpg
You do not have the required permissions to view the files attached to this post.