modkavartini / catppuccin

soothing pastel suite for rainmeter
https://github.com/catppuccin/catppuccin
269 stars 7 forks source link

Weather app #22

Closed chaz1104 closed 6 months ago

chaz1104 commented 6 months ago

I love this Catppuccin Bar and use it daily. My issue is the weather app stopped working today 5\15. I don't know if it's the app or the weather source. I would appreciate any help or suggestions. TIA

0xSolanaceae commented 6 months ago

Same issue here 👍

angiioh commented 6 months ago

Happening for me as well.

chaz1104 commented 6 months ago

I love this Catppuccin Bar and use it daily. My issue is the weather app stopped working today 5\15. I don't know if it's the app or the weather source. I would appreciate any help or suggestions. TIA

I got it! API Key was bad. Works now! :-)

0xSolanaceae commented 6 months ago

Where is the API key stored?

chaz1104 commented 6 months ago

Where is the API key stored?

In the C:\Users\your user name\Documents\Rainmeter\Skins\catppuccin\@resources\inc\weathercomjayson.inc

0xSolanaceae commented 6 months ago

Where is the API key stored?

In the C:\Users\your user name\Documents\Rainmeter\Skins\catppuccin@resources\inc\weathercomjayson.inc

Hm. It looks like when I replace the default API key with my own, the final api call looks like this:

https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point?format=json&geocode=[myLat],[myLong]&units=e&language=en&apiKey=[myKey]

Which it does not like and returns me this:

You don't have permission to access "http://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point?" on this server.

I may be doing the api call incorrectly, will check again

chaz1104 commented 6 months ago

Where is the API key stored?

In the C:\Users\your user name\Documents\Rainmeter\Skins\catppuccin@resources\inc\weathercomjayson.inc

Hm. It looks like when I replace the default API key with my own, the final api call looks like this:

https://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point?format=json&geocode=[myLat],[myLong]&units=e&language=en&apiKey=[myKey]

Which it does not like and returns me this:

You don't have permission to access "http://api.weather.com/v3/aggcommon/v3-wx-observations-current;v3-wx-forecast-daily-15day;v3alertsHeadlines;v3-location-point?" on this server.

I may be doing the api call incorrectly, will check again

This is the key I got from rainmeter forum-APIKey=21d8a80b3d6b444998a80b3d6b1449d3

chaz1104 commented 6 months ago

Just replace the key itself-APIKey=21d8a80b3d6b444998a80b3d6b1449d3 Not the whole string. :-)

0xSolanaceae commented 6 months ago

Just replace the key itself-APIKey=21d8a80b3d6b444998a80b3d6b1449d3 Not the whole string. :-)

I tried it -- Didn't seem to fix it? I restarted rainmeter and it didn't seem to do anything, next I'll try uninstalling and reinstalling. Thank you for all of your help!

chaz1104 commented 6 months ago

Just replace the key itself-APIKey=21d8a80b3d6b444998a80b3d6b1449d3 Not the whole string. :-)

I tried it -- Didn't seem to fix it? I restarted rainmeter and it didn't seem to do anything, next I'll try uninstalling and reinstalling. Thank you for all of your help!

NP-It could be your location, I'm in the US.

0xSolanaceae commented 6 months ago

Just replace the key itself-APIKey=21d8a80b3d6b444998a80b3d6b1449d3 Not the whole string. :-)

I tried it -- Didn't seem to fix it? I restarted rainmeter and it didn't seem to do anything, next I'll try uninstalling and reinstalling. Thank you for all of your help!

NP-It could be your location, I'm in the US.

Same here, I'm in the eastern US

chaz1104 commented 6 months ago

Hope this helps.Just replace the key itself-APIKey=21d8a80b3d6b444998a80b3d6b1449d3 Not the whole string.

modkavartini commented 6 months ago

interesting... i hadn't noticed this but mine also had stopped working. also, the api key which you claim fixes the issue is already the one in my .inc file???

modkavartini commented 6 months ago

welp, the solution has already been posted on the rainmeter discord server:

Yes, we know that most Weather skins have stopped working again.

The problem originates from Weather.com, which is the services used by most/all (new) weather skins. The problem is not related to the service not working anymore, the API key expired, which prompted every single thing that used it to stop functioning. Those skins used jsmorley's Weather.com skin as a skeleton (which included the old key too).

The new API key is 71f92ea9dd2f4790b92ea9dd2f779061.

To fix the error(s) in your skin(s), generally the location should be My Documents\Rainmeter\Skins\<Your Skin>\@Resources and inside a/the file WeatherComJSONVariables.inc change the APIKey value/line to APIKey=71f92ea9dd2f4790b92ea9dd2f779061

0xSolanaceae commented 6 months ago

welp, the solution has already been posted on the rainmeter discord server:

Yes, we know that most Weather skins have stopped working again.

The problem originates from Weather.com, which is the services used by most/all (new) weather skins. The problem is not related to the service not working anymore, the API key expired, which prompted every single thing that used it to stop functioning. Those skins used jsmorley's Weather.com skin as a skeleton (which included the old key too).

The new API key is 71f92ea9dd2f4790b92ea9dd2f779061.

To fix the error(s) in your skin(s), generally the location should be My Documents\Rainmeter\Skins\<Your Skin>\@Resources and inside a/the file WeatherComJSONVariables.inc change the APIKey value/line to APIKey=71f92ea9dd2f4790b92ea9dd2f779061

yay, that fixed it! Thank you!

chaz1104 commented 6 months ago

interesting... i hadn't noticed this but mine also had stopped working. also, the api key which you claim fixes the issue is already the one in my .inc file???

All I know is it fixed mine....