It is currently April 19th, 2024, 12:09 am

VClouds Weather 2 codes broken

Get help with creating, editing & fixing problems with skins
Traxan
Posts: 20
Joined: June 13th, 2014, 5:18 pm

VClouds Weather 2 codes broken

Post by Traxan »

I had to reinstall Rainmeter from scratch due to a hard drive failure. The problem is when I go to Weather.com to get the weather code, they changed the links and what they give me for a code no longer works. Anyone know how to get a working code? Thanks.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: VClouds Weather 2 codes broken

Post by eclectic-tech »

Traxan wrote:I had to reinstall Rainmeter from scratch due to a hard drive failure. The problem is when I go to Weather.com to get the weather code, they changed the links and what they give me for a code no longer works. Anyone know how to get a working code? Thanks.
I just checked the site and when I enter my city in the search box, the page refreshes and shows the correct code in the address bar...



What city do you live in? What code did you try?
Traxan
Posts: 20
Joined: June 13th, 2014, 5:18 pm

Re: VClouds Weather 2 codes broken

Post by Traxan »

eclectic-tech wrote: What city do you live in? What code did you try?
Yorba Linda, CA, 92887. I get this:

.http://www.weather.com/weather/today/l/92887:4:US
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: VClouds Weather 2 codes broken

Post by eclectic-tech »

Traxan wrote: Yorba Linda, CA, 92887. I get this:

.http://www.weather.com/weather/today/l/92887:4:US
I got:

http://www.weather.com/weather/today/l/USCA1267:1:US

So if you set the 'location' variable to USCA1267 in Weather2 settings, you should get it working
Traxan
Posts: 20
Joined: June 13th, 2014, 5:18 pm

Re: VClouds Weather 2 codes broken

Post by Traxan »

Thanks. I had a vague recollection of the code and knew it as soon as I saw your post.

I don't know for the life of me why it would not give me that code. But thank you.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: VClouds Weather 2 codes broken

Post by eclectic-tech »

Traxan wrote:Thanks. I had a vague recollection of the code and knew it as soon as I saw your post.

I don't know for the life of me why it would not give me that code. But thank you.
It appears that if you include the zipcode in your search, weather.com will use that number as the reference.

Searching for just your city name returns the code you need.

Glad you asked. I am sure others will have a similar experience, and this may help them.
MarkTiarra
Posts: 1
Joined: March 4th, 2017, 6:16 pm

Re: VClouds Weather 2 codes broken

Post by MarkTiarra »

You can get a complete list of US codes here:
https://weather.codes/united-states-of-america/