Yahoo Weather Broken (fix)

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).

Source: Yahoo! Weather

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.

Installable zip file: Dropbox - weather.yahoo-5.1.0.1.zip - Simplify your life

8 Likes

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.

2 Likes

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.

FYI… I’m seeing if I can package this up into a new installable zip file to make it even easier.

UPDATE: Was much easier than I expected. Original post updated with link.

1 Like

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 :slightly_smiling_face:

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.

1 Like

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.

please use the Multi Weather addon with Kodi 19 instead.

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.

2 Likes

Thank you! I don’t plan on upgrading until 19.1 or 19.2 because right now it appears just too much with Kodi 19 is broken or a PITA to make work.

1 Like

Yahooo! i got the addon to work again!
Thanks a lot! :slight_smile:

1 Like

It stopped working again for me on 18.9 … anyone has a fix? @Skirge01 can you have a look? Thanks!

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.

It stopped working around February 7. Anyway, thanks for looking into it. I’ll stay on 18.9 as long as possible :sweat_smile:

FYI, I’ve switched to Gismeteo for weather which is available for v18 in the official repo… works fine.

1 Like

Worked for me also, same issue. Did the original fix a year ago and then broke finally a few weeks back.