It is currently January 22nd, 2022, 6:05 am

ModernGadgets 1.8.1

A package of skins with a "theme" or by a single author
spiff72
Posts: 9
Joined: February 4th, 2021, 4:16 pm

Re: ModernGadgets 1.8.1

Post by spiff72 »

Did something break in the weather meter gadget recently? I get N/A and updated at 12:00 AM all the time now - even after a refresh.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4581
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: ModernGadgets 1.8.1

Post by eclectic-tech »

spiff72
Posts: 9
Joined: February 4th, 2021, 4:16 pm

Re: ModernGadgets 1.8.1

Post by spiff72 »

Weird - I don't have a place to add the API key? I thought maybe I was outdated (and I was), so downloaded the latest 1.8.1 and still no field for the API key (in the weather gadget settings). Am I looking in the wrong place?
spiff72
Posts: 9
Joined: February 4th, 2021, 4:16 pm

Re: ModernGadgets 1.8.1

Post by spiff72 »

Oops - I read a bit further in that linked thread and I see i have to find and edit a JSON file. I will try that!
User avatar
SilverAzide
Rainmeter Sage
Posts: 1739
Joined: March 23rd, 2015, 5:26 pm

Re: ModernGadgets 1.8.1

Post by SilverAzide »

spiff72 wrote: January 14th, 2022, 5:23 pm Oops - I read a bit further in that linked thread and I see i have to find and edit a JSON file. I will try that!
It's not a JSON file... Try this: https://github.com/raiguard/ModernGadgets/issues/274
Gadgets Wiki GitHub More Gadgets...
spiff72
Posts: 9
Joined: February 4th, 2021, 4:16 pm

Re: ModernGadgets 1.8.1

Post by spiff72 »

SilverAzide wrote: January 14th, 2022, 5:41 pm It's not a JSON file... Try this: https://github.com/raiguard/ModernGadgets/issues/274
Sorry - I misspoke there on the file type. it is WeatherComJSONVariables.inc

However, this file doesn't exist in the ModernGadgets skin folders. I tried to create one (with the right key) based on that other thread linked, but still no luck.

Maybe ModernGadgets doesn't implement the key in the same way?
spiff72
Posts: 9
Joined: February 4th, 2021, 4:16 pm

Re: ModernGadgets 1.8.1

Post by spiff72 »

Update - I found the apikey referenced in two files (both in the ModernGadgets\WeatherMeter\Includes folder):
AstroMeasures.inc
WeatherComJSONMeasures.inc

Changed it in both of those and back to normal!

Thanks!