Work in Progress - Weather Unlocked

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
MetalChris Offline
Fan
Posts: 658
Joined: Jan 2014
Reputation: 34
Location: U.S.A.
Post: #1
[Image: banner.png?raw=true]

My first attempt at a weather add-on for Kodi. This is basically just a hack of an older version of @ronie's Yahoo! weather add-on (thanks for laying the groundwork @ronie!). I'm still trying to get a better understanding of some of the code behind this, but what I have now seems to be working smoothly on all my systems, so I figured maybe some other people might find this useful, and perhaps provide some feedback.

Please download from the link below:

Weather Unlocked - v 0.0.7

This is also available in my repo.

The add-on requires a free API key and APP ID from WeatherUnlocked, and will provide current conditions and 5 day forecast info.

Users can enter their location in a variety of formats:

City (Rome)
City and 2 digit state (Rome NY)
City and country (Rome Italy)

It also seems to work with US, UK, and Canadian postal codes, though the above mentioned methods seem to work best.

Tested on Linux (Ubuntu 12.04 & Lubuntu 14.04), Mac OS (Lion), and Android (Lollipop), running Gotham, Isengard and Jarvis.

*** As the thread title indicates, this is a work in progress! ***

If you have any issues with the add-on, please post a debug log (wiki) to pastebin.com or similar site.

XBMC Gotham (13.2) on ThinkPad T400 Ubuntu 12.04.5 | Kodi Jarvis (16.1) on HTPC Lubuntu 14.04 | My Add-ons | My Repo
(This post was last modified: 2017-03-11 01:58 by MetalChris.)
find quote
MetalChris Offline
Fan
Posts: 658
Joined: Jan 2014
Reputation: 34
Location: U.S.A.
Post: #2
I've pushed out a minor update since I had apparently missed a couple of weather conditions (partcloudrainthunderday and partcloudrainthundernight) in the utilities.py file. Also tinkered with the code as I found it can actually provide 6 days of forecast info instead of just 5.

Download from the first post, or if you have my repo installed and auto updates enabled you should probably already have the version 0.0.7 update.

XBMC Gotham (13.2) on ThinkPad T400 Ubuntu 12.04.5 | Kodi Jarvis (16.1) on HTPC Lubuntu 14.04 | My Add-ons | My Repo
find quote