tjmarkham / win10widgets

Widgets for Windows 10 http://win10widgets.com
170 stars 46 forks source link

Weather not working - Yahoo api retired on 1/3/18 #120

Open patzip opened 5 years ago

patzip commented 5 years ago

Important EOL Notice: As of Thursday, Jan. 3, 2019, the YQL service at query.yahooapis.com will be retired. This will impact users of datatables.org as well as developers who creates features using this YQL service. To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss as your new API endpoint. Contact yahoo-weather-ydn-api@oath.com for credentials to onboard to this free Yahoo Weather API service. Other YQL based services that use query.yahooapis.com will no longer operate.

Baca01 commented 5 years ago

Hi,

following for instructiuons how to update the weather widget. Thanks in advance :)

jacobwhite commented 5 years ago

Hi,

following for instructiuons how to update the weather widget. Thanks in advance :)

Theres a subscribe button on the right if you just want notifications on when this issue is updated.

Beguiled commented 5 years ago

Topic should state Yahoo api retired on 1/3/19

SoriceConsulting commented 5 years ago

Not working for me either. Bummer - love the skin. Hope it gets fixed soon.

eclectic-tech commented 5 years ago

All weather skins in this package use free Yahoo weather data for the source...

FREE YAHOO WEATHER DATA NO LONGER EXISTS

So ALL weather 'widget' or 'skin' from anyone WILL NO LONGER WORK unless converted to a free different source. Getting OAUTH credentials will NOT fix the problem.

TJ Markham needs to completely rewrite all of these skins using a reliable free source (weather.com?)

Dutchglory commented 5 years ago

good alternatives to implement:

Recources: https://blog.rapidapi.com/access-global-weather-data-with-these-weather-apis/ see more at bottom of page..

Damien0505 commented 5 years ago

I'd probably skip Weather Underground (www.wunderground.com) as they are said to be discontinuing their free API this year too.

I'd love to pull weather data direct from WeeWX. 🙂

advarp03 commented 5 years ago

Can we edit the skin ourselves to change the address?

MirceaMx commented 5 years ago

Would also like to know that ( how to edit the skin ourselves ) since the developer is apparently not helping / responding

advarp03 commented 5 years ago

I had a look at the code - you can edit from within rainmeter itself odr go to user/ docs/rainmeter/skins/Win10widgets but its not just one call, there are many. THis is from extra-large: ... WOEIDurlPart1="https://query.yahooapis.com/v1/public/yql?q=select%20woeid%20from%20geo.places(1)%20where%20text%3D%22" WOEIDurlPart2="%22" WOEIDurl="" WeatherURLpart1Zip="https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22" WeatherURLpart2Zip="%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=" WeatherURLpart1WOEID="https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20%3D%20" WeatherURLpart2WOEID="&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback=" WeatherURL=https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20%3D%2022721516&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys&callback= AutoLocation=0 How can we change those yahooapis things? My programming is rusty to say the least lol but I can do simple hacking. EDIT the author may have abandoned it, last posts appear to be from 2016...

AyyMD commented 5 years ago

im not good with this language either, but i think that those urls would return short responses. we would have to find a new website and piece together the api to make it work

advarp03 commented 5 years ago

I did a search, it seems there are a million other weather widgets for Rainmeter out there (I thought Win10 was THE set lol, not fiddled much with win10) so I understand why there is little interest in this one.

MirceaMx commented 5 years ago

@advarp03 Can you name 1 (one) that is fixed/working ?

SoriceConsulting commented 5 years ago

I ended up using the weather widget from Glasses by vCloud and Win10Wdigets for Time, CPU, etc. The glasses Weather is very nice and uses weather.com

Pottypotsworth commented 5 years ago

Unfortunately Glass by vCloud doesn't really match up well with the Windows 10 style. FWIW here's another +1 hope that the author can swing by and fix.

advarp03 commented 5 years ago

Realistic Weather Forecast 5. https://visualskins.com/skin/realistic-weather-forecast-5 Not the best by any means but has the time at least. I stopped using the battery and clock date from Win10 also, after all I have them in the tray... Still looking when i have time. Yes a fix would be nice but really I have no time to hack into it now. One coudl just copy paste the code from one of the working widgets, such as this Realistic blah blah

advarp03 commented 5 years ago

Take your pick... https://visualskins.com/tag/weather/

Crsmsg commented 5 years ago

There are nice styles but not matching with Win10Wdigets.

I wait for a FIX. If someone fixit 🤞

Pottypotsworth commented 5 years ago

The issue with all the recommended weather replacements are that even if you can get one that looks similar to Win 10 Widgets, it is almost impossible to get one that is the same width. A lot of the icons don't scale either so even if you edit the width in the code, you end up just cropping bits off :(

m4578r commented 5 years ago

image

🙂

richardsim7 commented 5 years ago

Care to explain?

Pottypotsworth commented 5 years ago

How about you share the code for others to use, @m4578r? :)

tmt003-ho commented 5 years ago

@m4578r Or better yet, make a pull request to https://github.com/minhthiendx/win10widgets since this repository is not maintained but that fork is active.

MirceaMx commented 5 years ago

@tmt003-ho The Weather still uses the same Yahoo API so it's not working...

tmt003-ho commented 5 years ago

@MirceaMx I know, I just need some help from @m4578r

Crsmsg commented 5 years ago

Say Thanks to Eclectic-Tech (John Moran)

win10_weather_by_eclectic_tech-dcwj6p5

patzip commented 5 years ago

@MirceaMx I know, I just need some help from @m4578r

Click on the link for "Say Thanks to Eclectic-Tech(john Moran)" and download the new file .... all is working with new data source!!!

m4578r commented 5 years ago

This is my version.

Weather-ExtraLarge.zip

richardsim7 commented 5 years ago

Well maybe you should have posted that earlier 😋

m4578r commented 5 years ago

Not all was done :)

SoriceConsulting commented 5 years ago

Thanks John Moran (Eclectic-Tech)! Works great for me!

patzip commented 5 years ago

Thank you John Moran (Eclectric-Tech)!!! Working great!!

SoriceConsulting commented 5 years ago

Only thing I can't figure out is how to set weather to my zip code. Anyone know where to put a specific zip? Win10 with location on doesn't help.

m4578r commented 5 years ago

Use my version with location code ;)

eclectic-tech commented 5 years ago

Only thing I can't figure out is how to set weather to my zip code. Anyone know where to put a specific zip? Win10 with location on doesn't help.

Right-click the skin, select "Custom skin actions", "Set location"... type your zip code in and press ENTER to set.

SoriceConsulting commented 5 years ago

Gee. Sorry I missed something so obvious! This skin stuff is new to me... :^)

SoriceConsulting commented 5 years ago

Hmmm. No help. I enter zipcode (or City,State), press enter and it doesn't change. Stays at the same location.

eclectic-tech commented 5 years ago

Hmmm. No help. I enter zipcode (or City,State), press enter and it doesn't change. Stays at the same location.

What City, Region?

I tested with as many as I could and never had an issue.

It may be that the location it picks is the only weather reporting station in that area, so changing by zip code may select the same one.

SoriceConsulting commented 5 years ago

Summit,NJ Mine is stuck on Morristown,NJ Close (about 12 miles away) but wrong.

eclectic-tech commented 5 years ago

Summit,NJ Mine is stuck on Morristown,NJ Close (about 12 miles away) but wrong.

Morristown is the only weather.com reporting site for zip codes 07901 or 07902.

So whether you use auto-locate, or enter your zip code, or enter Summit, NJ... the reporting station is still going to be Morristown.

I sometimes will choose a city to my west, since that is where the weather usually occurs first. Just a thought. You should be able to have fairly accurate weather from a city only 12 miles away.

SoriceConsulting commented 5 years ago

I can live with the Morristown weather... Thanks for the help!

m4578r commented 5 years ago

image image

@eclectic-tech, something wrong with your version

eclectic-tech commented 5 years ago

Sorry, but it works...

Try 'Kaunas' only, or 'Kaunas, Lithuania'

Either of those will work. When I type what you have, I get the Error message and am asked to try again. The skin will default to New York City/Central Park if the location is blank.

SoriceConsulting commented 5 years ago

m4578r, yours does not work for me either. Yours stays stuck on Kaunas... Morristown is a bit closer :^)

eclectic-tech commented 5 years ago

kaunas Too cold for me in Kaunas!

Pottypotsworth commented 5 years ago

Well done, @eclectic-tech - I had to change the location manually because auto resulted in an error, but working great now :)

eclectic-tech commented 5 years ago

Well done, @eclectic-tech - I had to change the location manually because auto resulted in an error, but working great now :)

Glad to hear. The Auto-location is based on being able to get your IP address, which is not always close to your location (mine is 60 miles away!). If that fails, try 'Set location' and enter your city, region OR zip code; this will search weather.com database and try to locate the nearest site. Again, this may not be your actual location. Like predicting weather, getting a precise location is not always accurate (close, but as unpredicatable as the weather itself!) :)

EDIT: As you probably did, you can change the WEATHERURL variable to anything you want, and if it works "great". Don't use 'Set location' or your change will be overwritten.

Baca01 commented 5 years ago

This is my version.

Weather-ExtraLarge.zip

Location code version is working better for me, the "city, country" format shows a location about 20 miles away.

Thanks to everyone who has put time into repairing this though!

m4578r commented 5 years ago

Weather-ExtraLarge_1.1.0.zip

I found some bugs, this is updated version.

JeffGillman commented 5 years ago

Thanks to everyone who has helped with this issue. Eclectic-Tech: your version worked perfectly at home, but not at work, presumably because of some non-standard port that our firewalls blocks (I could switch to my phone hotspot and it would start working). m4578r: your works everywhere, thank you much!