Sonder icon indicating copy to clipboard operation
Sonder copied to clipboard

[regression] the weather api is no longer functional

Open jump opened this issue 1 year ago • 17 comments

perhaps the API key expired or was revoked? getting weather data no longer works though this skin.

jump avatar May 19 '24 11:05 jump

weather Data will be displayed when you refresh the API Key via Settings > Wheater Page. But after a few hours you have to do it again..

Crow11111 avatar May 21 '24 17:05 Crow11111

refreshing the API key doesn't seem to help any suggestions? the location detection is also broken at the moment.

craigmain avatar May 24 '24 06:05 craigmain

Inputting the location manually w/ lat,long fixed it for me.

timgrote avatar May 30 '24 18:05 timgrote

Yes, that seems to have worked ok.

craigmain avatar May 31 '24 06:05 craigmain

same. it looks like what really broke was location detection, not necessarily the API key piece of it.

jump avatar Jun 04 '24 22:06 jump

I can confirm it doesnt work. I have city manually, I have also entered latitude and I have refreshed API. None of these worked. I have tried them together, separately, refreshed API many times and it won't work. Neither does Auto Detection. Screenshot 2024-06-17 094503

ellsaphira avatar Jun 17 '24 08:06 ellsaphira

I can confirm it doesnt work. I have city manually, I have also entered latitude and I have refreshed API. None of these worked. I have tried them together, separately, refreshed API many times and it won't work. Neither does Auto Detection. Screenshot 2024-06-17 094503

Same here...

davebeep avatar Jun 19 '24 20:06 davebeep

Agreed. previously adding the lat/long helped, but now everything is broken.

QuietLittleLeaf avatar Jun 21 '24 15:06 QuietLittleLeaf

weathersettings

I was able to get the weather using this format for my weather settings (XX.XX,XXX.XX)

I was able to find it by going to https://weather.com/weather/today and then copying the lat/long given in the URL. Hope this helps.

Mgonzales94 avatar Jun 21 '24 21:06 Mgonzales94

@Mgonzales94 Thank you so much. I kept trying to get it to work, and it just wasn't. The space that I was putting between the lat and long coordinates was messing it up.

Ryanthelion09 avatar Jun 24 '24 23:06 Ryanthelion09

Found a fix! Open WeatherComJSONVariables.inc in the @Resources\Weather folder, scroll down to the bottom and change APIKey to 71f92ea9dd2f4790b92ea9dd2f779061 then reload the widget

Remember to resave your themes (especially if you use the Theme Changer!) or they'll revert the value when you apply them. I actually found this fix weeks ago, but thought it didn't work because every time my theme changed the widget broke again

KittyNone avatar Jun 26 '24 09:06 KittyNone

None of those fixes work for myself :((

@kittyNone wdym resave your themes??

RazzyAurealis avatar Jun 27 '24 19:06 RazzyAurealis

weathersettings

I was able to get the weather using this format for my weather settings (XX.XX,XXX.XX)

I was able to find it by going to https://weather.com/weather/today and then copying the lat/long given in the URL. Hope this helps.

This does not work for me.

RazzyAurealis avatar Jun 27 '24 19:06 RazzyAurealis

I think it's officially dead until someone smarter than me can figure it out. API key is broken?

damianshrinivas avatar Jun 30 '24 23:06 damianshrinivas

Ok I got it working again. I was inputting the coordinates inside the wrong field. Also I've changed the API key inside WeatherComJSONVariables.inc in the @Resources\Weather folder to recent one that I've obtained from the weather.com site "5c241d89f91274015a577e3e17d43370". Screenshot 2024-07-04 153431

damianshrinivas avatar Jul 04 '24 13:07 damianshrinivas

  • Go to your Documents/Rainmeter/Skins/Sonder/@ Resources
    
  • Open the Variables.inc file with Editor
    
  • Scroll down to the Weather section
    
  • Change AutoDetectLocation and AutoLatLong to the value 0 (i also deleted whatever entry was behind AutoDetectCity but not sure if needed)
    
  • Get your coordinates from mapcoordinates.net and enter them into the text file at Latitude and Longitude (the section right below the stuff we just changed)
    
  • Make sure to enter them as xx.xx
    
  • Make the Variables.inc file read-only
    

Credit: MomoVonRech

ChavezGa avatar Sep 21 '24 00:09 ChavezGa

Ok I got it working again. I was inputting the coordinates inside the wrong field. Also I've changed the API key inside WeatherComJSONVariables.inc in the @Resources\Weather folder to recent one that I've obtained from the weather.com site "5c241d89f91274015a577e3e17d43370". Screenshot 2024-07-04 153431

Setting them manually as shown here worked for me.

Cannot say if changes will stay since I just tried it and it worked.

albertuti1910 avatar Nov 02 '24 11:11 albertuti1910