It is currently September 14th, 2024, 9:45 pm

Weather Skins Not Working

Get help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 16539
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather Skins Not Working

Post by balala »

Yincognito wrote: August 29th, 2024, 11:42 am If that bothers you,
Something like this should always bother anyone using a skin. Just saying...
User avatar
Yincognito
Rainmeter Sage
Posts: 8127
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working

Post by Yincognito »

balala wrote: August 29th, 2024, 1:57 pm Something like this should always bother anyone using a skin. Just saying...
For sure... if they are aware of it in the first place. Not something quickly noticed if one is new to Rainmeter, I suppose - which is why I linked the log tab earlier. :thumbup:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
NismoZ
Posts: 38
Joined: May 1st, 2020, 3:04 pm

Re: Weather Skins Not Working

Post by NismoZ »

Yincognito wrote: August 28th, 2024, 2:34 pm The answer is yes for both of your questions.

The fix:
- use the current API key for weather.com, like here (that's for the HWiNFO version of Rainformer, so adapt the advice for your AIDA64 one)
- change the value of the UsrAgent variable in your [SkinsFolder]\RainformerAIDA64\@Resources\Variables.inc file to:

Code: Select all

UsrAgnt="#ROOTCONFIG#/3.2.0 (powered by Rainmeter)"
like mentioned by SilverAzide here

EDIT: On the second point, it's actually best to directly change the UserAgent=#UsrAgnt# option in the [MeasureLocations] measure from the [SkinsFolder]\RainformerAIDA64\Weather\LocationFinder\LocationFinder.ini file to:

Code: Select all

UserAgent="#ROOTCONFIG#/3.2.0 (powered by Rainmeter)"
since the above UsrAgnt variable is also used for the weather.com request in the suite's Weather skin, and that weather.com request works best with an user agent replicating a browser request. So, forget about changing the Variables.inc variable, do the equivalent change directly in the LocationFinder.ini file.

The hardcode:
- google your location and find its (decimal) geocode on Wikipedia, by clicking on that location's Coordinates on the right panel from the page, then change the value of the Latitude and Longitude variables from the same Variables.inc file above to your own

The preview after the fix, on my system, proving that it should work:
Rainformer Location Finder.jpg

Other than that, this should have probably been asked on the Rainformer 3.2 AIDA64 Edition's thread, so that others using that skin and potentially having the same problem could benefit from the above, but I guess it's fine in this thread too, given that all kinds of weather skin issues are mentioned here anyway. ;-)
Thank you, this worked to fix the LocationFinder.
User avatar
Yincognito
Rainmeter Sage
Posts: 8127
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Weather Skins Not Working

Post by Yincognito »

NismoZ wrote: September 3rd, 2024, 3:07 pm Thank you, this worked to fix the LocationFinder.
Glad to help, you're welcome! :great:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth