Like many of you, I saw Yahoo Weather get marked as broken and cease functioning recently. Since many of us will be using 18.9 for a while and the new weather addon will not be backported to Leia, a kind user on the Kodi forums posted a quick fix.
You just need to replace the ‘default.py’ file in ~/.kodi/osmc/addons/weather.yahoo with this one, disable auto-update, and re-enable the addon. It’ll be working again after a reload (switching the default weather addon back and forth should suffice).
UPDATE: Was much easier than I expected to turn this into an installable zip file. I upped the version to 5.1.0.1, removed the “broken” tag, and put the author as “skirge dba zambu” to give full credit to the original author. Use whichever method you prefer.
You just saved me a good amount of time searching for a solution. Thanks for your post! I changed DNS a couple of days ago and already suspected that for being the culprit of the addon not working properly anymore.
For anyone else something important from the Kodi thread: Disable the Yahoo weather addon’s Auto-update option, then set it from broken to enable. Might require a restart, dunno, you can select it again when choosing which weather addon should be active.
Glad I could help! Thanks for pointing out the auto-update piece. I’ll edit the original post. I forgot about it because I also edited my addon.xml file and increased the version to 5.1.0.1.
Great stuff! Just got the addon running again on my systems yesterday…
Maybe you could even fork the git repo and open a PR for this addon to be usable from the official repo for the foreseeable future? The maintainer posted on the Kodi forum that he wouldn’t update the addon himself anymore
Since I didn’t actually make the programming changes to the default.py file, I don’t feel comfortable submitting it. I’m not sure what the proper etiquette would be in this situation. I don’t even want to post the zip file on the Kodi forums for that very reason, to be honest. If anyone knows what the correct procedure would be and wants to take the reigns, please go right ahead.
The original maintainer, ronie, made a reasonable point about that:
there will not be any updates (at least not from me) for yahoo weather.
i have no plans to keep this addon, or any of my other python 2 / Kodi 18 addons alive.
python 2 is dead, therefor Kodi 18 is dead and it should no longer be used.
I also think it’s best to use it as a temporary solution for 18.x but leave it at that.
I just read up on the original maintainer’s new weather addon for Kodi 19 and Python 3: Multi Weather. It has Yahoo! Weather, weatherbit.io and openweathermap built in. I now understand why he won’t support the old addon anymore even better.
Did it only just stop working? I’m pretty sure it should’ve stopped working around May of last year, since Yahoo said they were closing down the API then. At least, according to this post over on the Kodi forums. If you click the link to the Yahoo weather API docs in that post, it even comes up empty, so you’re out of luck for Yahoo weather.
If you’re still on 18.9, you may be even worse off because I’m not sure there IS a working weather addon for 18.9. As of Kodi 19, all addons needed to upgrade to Python 3 and most developers, understandably, didn’t see value in further updating their Python 2 addons and focused on Python 3 for Kodi 19. Many didn’t backport their Python 3 addons to work with 18.9. If you want weather, I think your only option is upgrading to Kodi 19.