It is currently August 10th, 2020, 4:24 pm

Weather Skins Not Working

Help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 21235
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by jsmorley »

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

Please get the .rmskin at: https://forum.rainmeter.net/viewtopic.php?f=118&t=34628#p171501

Alternatively, if you have a skin that YOU wrote that was based on the @Include .inc files that come with this skin, you can simply get this:

@Includes.zip


And copy all the .inc files from that .zip into the @Resources folder of your skin.

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
Yincognito
Posts: 2223
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by Yincognito »

jsmorley wrote: July 31st, 2020, 5:49 pm Ok, I think I have fully addressed the new issues with the weather.com site.

Please get the .rmskin at: https://forum.rainmeter.net/viewtopic.php?f=118&t=34628#p171501
Nice work! :thumbup:
You didn't have to add me to the credits though, as I didn't make an actual contribution to the code itself, other than sharing one of the URLs I use to get the weather data myself, along with what I noticed to happen during my attempts at it. I don't mind, but feel a bit embarassed now... :oops:
User avatar
jsmorley
Developer
Posts: 21235
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by jsmorley »

Yincognito wrote: July 31st, 2020, 6:41 pm Nice work! :thumbup:
You didn't have to add me to the credits though, as I didn't make an actual contribution to the code itself, other than sharing one of the URLs I use to get the weather data myself, along with what I noticed to happen during my attempts at it. I don't mind, but feel a bit embarassed now... :oops:
You were a lot of help with this. You deserve credit...
stevietv
Posts: 1
Joined: July 31st, 2020, 6:46 pm

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by stevietv »

perfect, thanks. I was able to drop it into a skin I customised after your last includes and it seamlessly worked.
User avatar
Yincognito
Posts: 2223
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by Yincognito »

jsmorley wrote: July 31st, 2020, 6:42 pm You were a lot of help with this. You deserve credit...
If you say so... :)
pbutler6
Posts: 6
Joined: April 27th, 2020, 8:10 pm

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by pbutler6 »

Nice work. Thanks for all your special effort.

My skin is now working, but I am getting an error in the log:

Weather & Sky\Weather & Sky.ini - [WEATHER.COMSuperParent] -- (Fetch error) The URL does not use a recognized protocol (ErrorCode=12006)

(I'm using WeatherComJSONMeasures5Day.inc)

Never mind -- I see the problem. I have included an inc file from xxenium, and his code still tries to use the old URL.
User avatar
nbtc971
Posts: 13
Joined: May 22nd, 2020, 6:10 am

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by nbtc971 »

eclectic-tech, will you be updating your skin? :o
User avatar
nbtc971
Posts: 13
Joined: May 22nd, 2020, 6:10 am

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by nbtc971 »

nbtc971 wrote: July 31st, 2020, 10:09 pm eclectic-tech, will you be updating your skin? :o
Nm, saw your notice on Deviant Art. Thanks. (Didn't mean to quote myself, meant to edit. Sorry)
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4072
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by eclectic-tech »

nbtc971 wrote: July 31st, 2020, 10:13 pm Nm, saw your notice on Deviant Art. Thanks. (Didn't mean to quote myself, meant to edit. Sorry)
I will be posting an update to most of my weather skins sometime over this weekend, if time permits.
User avatar
jsmorley
Developer
Posts: 21235
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Weather Skins Not Working - This is the only allowed thread about this

Post by jsmorley »

eclectic-tech wrote: August 1st, 2020, 12:28 am I will be posting an update to most of my weather skins sometime over this weekend, if time permits.
I'm beginning to question your priorities... 😜