It is currently September 19th, 2024, 8:20 pm
Weather Skins Not Working
-
- Rainmeter Sage
- Posts: 8187
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
-
- Posts: 2
- Joined: January 11th, 2022, 12:49 pm
Re: Weather Skins Not Working
I have this Webparser but unfortunately i don't get it where i should put these line characters and seriously i am no programmer who gets it as easy like a baby his milk...
so my humble request is for all who use JDWS-03 is to get some help here
so my humble request is for all who use JDWS-03 is to get some help here
-
- Rainmeter Sage
- Posts: 2738
- Joined: March 23rd, 2015, 5:26 pm
Re: Weather Skins Not Working
Unfortunately, that skin does not appear to use the "standard" weather.com template code (as found here). You might want to post a note to the author to let them know the skin is broken.
If you want to fix it yourself, in the code you posted above, find the following section:
Code: Select all
[mCurrentParent]
Group=Parent
Measure=WebParser
URL=https://api.weather.com/v3/wx/observations/current?geocode=[&mLocationLat],[&mLocationLon]&units=#WeatherUnits[#WeatherUnits]]&language=#Language#&format=json&apiKey=d522aa97197fd864d36b418f39ebb323
-
- Posts: 30
- Joined: January 11th, 2012, 12:22 pm
Re: Weather Skins Not Working
Noticed that my moon phase widget skin, TenLuna, wasn't working anymore, and wondered if Weather.com changed or broke their data feed again. Came in here looking for a potential solution and found your post above there with the new API key, which I fed into my skin's code, and everything's working fine again. Released an emergency update on my deviantART for this; if anyone prefers to manually fix this issue instead, go to the Rainmeter skin's folder, then navigate to TenLuna\@Resources\ > open LunaSource.inc > under the Variables section, change the APIKey variable to the one in the above post.
-
- Posts: 207
- Joined: October 4th, 2019, 2:46 pm
Re: Weather Skins Not Working
Many Thanks for the solutionSilverAzide wrote: ↑January 11th, 2022, 1:22 pm See that stuff at the end, apiKey=d522aa97197fd864d36b418f39ebb323? Change it to apiKey=21d8a80b3d6b444998a80b3d6b1449d3. Save the file and refresh the skin.
-
- Moderator
- Posts: 1315
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Weather Skins Not Working
Somehow this throws me the "(Fetch error) An error occurred in the secure channel support (ErrorCode=12157) (#Test\Atest.ini - [APIKeyValue])". I tried using my browser's UserAgent but no luck.Yincognito wrote: ↑January 10th, 2022, 11:22 pm A little skin that changes the key for you on left click:Code: Select all
[Variables] APIKeyLabel=SUN_V3_API_KEY_CLIENT SkinName=Weather.com [Rainmeter] Update=1000 DynamicWindowSize=1 AccurateText=1 BackgroundMode=2 SolidColor=47,47,47,255 ---Measures--- [APIKeyValue] Measure=WebParser URL=https://weather.com RegExp=(?siU)"#APIKeyLabel#":"(.*)" StringIndex=1 UpdateRate=-1 ---Meters--- [APIKey] Meter=String FontFace=Consolas FontColor=255,255,255,255 SolidColor=47,47,47,255 Padding=5,5,5,5 FontSize=16 AntiAlias=1 MeasureName=APIKeyValue Text="API Key: %1" LeftMouseUpAction=[!WriteKeyValue Variables APIKey "[APIKeyValue]" "#SKINSPATH##SkinName#\@Resources\WeatherComJSONVariables.inc"] DynamicVariables=1
The weather skins that parse weather.com are working normally.
Any idea what can be wrong?
-
- Posts: 2
- Joined: October 7th, 2021, 7:14 pm
Re: Weather Skins Not Working
In Sonders\weather, the key is in the "Styles-weather.inc" location and updated the key will resolve the issue.
The key is also written in the "WeatherComJSONVariables.inc" file but updating the key here did -not- resolve it.
The key is also written in the "WeatherComJSONVariables.inc" file but updating the key here did -not- resolve it.
-
- Posts: 19
- Joined: May 16th, 2021, 10:47 am
Re: Weather Skins Not Working
I changed APIKey in SONDER and in SketchyWeather, but the weather still doesn't show up in either of them. Something else needs to be changed or set up. Well thank you
-
- Rainmeter Sage
- Posts: 16564
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Weather Skins Not Working
Have you refreshed the skin(s)? Because nothing else has to be changed.
-
- Rainmeter Sage
- Posts: 8187
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Weather Skins Not Working
This doesn't happen on my side, everything works perfectly: Unfortunately, I can't figure out what is wrong on your side, since I can't experience your error in the first place. I thought about having UserAgent options and whatnot in the measure, but I found out a super simple WebParser measure worked anyway, at least in my case. I have no idea what could be wrong in your setup - it should work without issues.Active Colors wrote: ↑January 12th, 2022, 10:21 am Somehow this throws me the "(Fetch error) An error occurred in the secure channel support (ErrorCode=12157) (#Test\Atest.ini - [APIKeyValue])". I tried using my browser's UserAgent but no luck.
The weather skins that parse weather.com are working normally.
Any idea what can be wrong?
P.S. The way the error is phrased seems to indicate that maybe the https protocol is somehow involved? Just speculating, but I don't have enough data to state this as a fact, obviously.
EDIT: You said that that skins parsing weather.com work normally. Maybe using the options the WebParser measures in those skins use could solve the issue? If those are indeed parsing the weather.com webpage and not the JSON, that is (not sure if there's a difference between the two when it comes to the web request though)...
EDIT2: Anyway, keep me posted if you discover what the issue is, because I might implement a weather.com "APIKey detection" system in my skins' Settings area based on this little skin, on their next update.
You do not have the required permissions to view the files attached to this post.