Oh nice!
I guess you can teach an old dog new tricks...
Thanks for this!
It is currently September 19th, 2024, 12:43 pm
Weather Skins Not Working
-
- Posts: 79
- Joined: September 25th, 2016, 3:35 pm
- Location: At a desk
Re: Weather Skins Not Working
---
Once up a time there was a now playing signature here. Now it is no more. Maybe someone can make a now playing sig gen for Last.fm?
Once up a time there was a now playing signature here. Now it is no more. Maybe someone can make a now playing sig gen for Last.fm?
-
- Posts: 4
- Joined: January 15th, 2022, 4:04 am
Re: Weather Skins Not Working
Not wanting to sound lazy but there's 43 pages off stuff about fixing this issue. I run modern gadgets as it does everything I want. I'll have to have a think about where I got modern gadgets from to contact the developer.
If someone can point me to a one click solution though, I'd be most appreciative of that.
If someone can point me to a one click solution though, I'd be most appreciative of that.
-
- Rainmeter Sage
- Posts: 5527
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Weather Skins Not Working
patoriku66 wrote: ↑January 15th, 2022, 4:08 am Not wanting to sound lazy but there's 43 pages off stuff about fixing this issue. I run modern gadgets as it does everything I want. I'll have to have a think about where I got modern gadgets from to contact the developer.
If someone can point me to a one click solution though, I'd be most appreciative of that.
The files you need to edit are located in Skins\ModernGadgets\WeatherMeter\Includes.
The file names are:
AstroMeasures.inc
WeatherComJSONMeasures.inc
Open the files in a text editor, replace the APIKey value in those files to
apiKey=21d8a80b3d6b444998a80b3d6b1449d3
Save the files and refresh the weather skin.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Rainmeter Sage
- Posts: 8176
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Weather Skins Not Working
Just so you know, the 43 pages are an aggregate of various issues with getting weather stuff in skins over time, with this particular issue only the latest of those. The answer to your question is literally mentioned on the 42nd page.patoriku66 wrote: ↑January 15th, 2022, 4:08 amNot wanting to sound lazy but there's 43 pages off stuff about fixing this issue.
-
- Posts: 2
- Joined: January 15th, 2022, 1:56 pm
- Location: Sri Lanka
-
- Posts: 4
- Joined: January 15th, 2022, 4:04 am
Re: Weather Skins Not Working
Hooray!!!! It's seems to have been fixed. Mine works now
-
- Posts: 100
- Joined: April 27th, 2020, 8:10 pm
Re: Weather Skins Not Working
Here is a small WebParser Measure that sets the APIKey variable dynamically.
Perhaps this might prevent problems if the APiKey is changed in the future.
Code: Select all
[@APIKey]
Measure=WebParser
Url=https://weather.com/
RegExp=(?siU)V3_API_KEY.*:"(.*)"
StringIndex=1
FinishAction=[!SetVariable "APIKey" [@APIKey]][!EnableMeasureGroup Parents][!UpdateMeasure "@EntireSiteSuperParent"]
-
- Rainmeter Sage
- Posts: 8176
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Weather Skins Not Working
I take it that you adapted this a bit to specifically suit jsmorley's .inc files, didn't you? if so, good idea, it didn't cross my mind, unfortunately.pbutler6 wrote: ↑February 4th, 2022, 10:41 pm Here is a small WebParser Measure that sets the APIKey variable dynamically.
Perhaps this might prevent problems if the APiKey is changed in the future.Code: Select all
[@APIKey] Measure=WebParser Url=https://weather.com/ RegExp=(?siU)V3_API_KEY.*:"(.*)" StringIndex=1 FinishAction=[!SetVariable "APIKey" [@APIKey]][!EnableMeasureGroup Parents][!UpdateMeasure "@EntireSiteSuperParent"]
Re: Weather Skins Not Working
Hello, guys. Does anyone have the same problem? https://prnt.sc/26smu78
-
- Rainmeter Sage
- Posts: 8176
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Weather Skins Not Working
I do have the same problem, when trying to get the weather info from the JSON embedded in the weather.com's page source instead of the separate JSON file. It appears one has to try various flags and such to get a proper response (one that can be parsed) on the weather.com webpage source...Skafiend wrote: ↑February 10th, 2022, 8:31 am Hello, guys. Does anyone have the same problem? https://prnt.sc/26smu78
EDIT: The weather.com's webpage source appears fine in the browser (Chrome here) though, and the embedded JSON is still there, so it's not a matter of weather.com changing the page source format, but rather of page source accessibility.