marcopixel / SysDash

A simple and clean system monitoring skin for Rainmeter.
MIT License
169 stars 32 forks source link

Weather Fix #46

Open Drgabi18 opened 5 years ago

Drgabi18 commented 5 years ago

pls dad

Drgabi18 commented 5 years ago

image Location might be a bit... borked since I wasn't able to find more parameters for the link to give shorter stuff, and the equally worse Example if you wanna see the json http://wxdata.weather.com/wxdata/weather/local/USVA0944?cc=*&unit=f&dayf=6&locale=en_US

Drgabi18 commented 5 years ago

I just realized the current WeatherLocation variable will always return error because you need to specify a Location Code and not your city name, will get to fix it once I'm not bored

Revadike commented 5 years ago

Honestly, I'd just guide the user to find their weather code themselves. Otherwise you'd have to search for it every time Rainmeter starts.

Drgabi18 commented 5 years ago

Rainmeter stops halfway downloading the weather data and to fix that and also make it automatic like the original I added the abundance of updates and enablemeasures I think I detalied in earlier edits that you can find the other locations by just going to wxdata's link and replace the last part with their city and blah blah. I guess I'll just make them find the exact name of the city, not the LocId cause that's boring for me. Good thing I haven't done anything with ip geolocations hehe

BoscoDomingo commented 5 years ago

This has worked wonderfully for me. Literally changed a couple lines by hand in the way @Drgabi18 did and it is fully functioning. It fixes the Yahoo Weather problem!

xiankai commented 2 years ago

Sadly, the weather API used here is not working anymore.

The API returns "This service is deprecated as of 01/15/2020" when you try to access it directly.