Kodi Community Forum
[RELEASE] World Weather Online Addon - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] World Weather Online Addon (/showthread.php?tid=114637)

Pages: 1 2 3 4 5 6


RE: [RELEASE] World Weather Online Addon - Omegatron - 2012-09-30 23:39

hi guys,

is it possible to get long term forecast for this addon? i would like to see 7 days instead of 4.

Though I noticed that long term forecast on worldweatheronline.com is 15 days instead of 7. Is this a reason why its not integrated?


RE: [RELEASE] World Weather Online Addon - argh! - 2013-09-13 16:41

I just reinstalled XBMC and when I search for cities to add in this Add-on, I get no resutls, no matter what I enter. It worked fine on my old install..

Addon version 1.0.8
Frodo 12.2
Windows x64

city - Fort McMurray, AB.

I am able to find it on the World Weather Online website, but full city name, or Postal Code. Neither of which gives results in XBMC.


RE: [RELEASE] World Weather Online Addon - Oxize - 2013-09-28 09:41

I get for a few months an error "script failed!:weather.worldweatheronline". reinstalling the plugins doesnt help. Neither Underground, World Weather, etc are working.

I get no readings. The temperature stays at 0c.

How can i fix this? I am using World weather version 1.0.8. on Frodo 12.2

When i removed the location, it doesnt find my city anymore. Neither if try other big cities like amsterdam. Whats happening?


Code:
09:57:42 T:4236   DEBUG: ### [World Weather Online] - clear_properties
09:57:42 T:4236   DEBUG: ### [World Weather Online] - refresh_locations
09:57:42 T:4236    INFO: Scriptresult: Success
09:57:42 T:4972   DEBUG: script.favourites: script stopped
09:57:42 T:4972    INFO: Scriptresult: Success
09:57:42 T:3108   DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0",  "id": 1, "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["title", "artist", "playcount", "year", "plot", "genre", "runtime", "fanart", "thumbnail", "file", "streamdetails", "resume"],  "limits": {"end": 20}, "sort": {"method": "random"}}}
09:57:42 T:3108   DEBUG: JSONRPC: Calling videolibrary.getmusicvideos
09:57:42 T:3108   DEBUG: CVideoDatabase::RunQuery took 0 ms for 4 items query: select * from musicvideoview
09:57:43 T:4236    INFO: Python script stopped
09:57:43 T:4236   DEBUG: Thread XBPyThread 4236 terminating
09:57:43 T:5000   DEBUG: waiting for python thread 14 (C:\Users\Oxize\AppData\Roaming\XBMC\addons\weather.worldweatheronline\default.p​y) to stop
09:57:43 T:5000   DEBUG: python thread 14 (C:\Users\Oxize\AppData\Roaming\XBMC\addons\weather.worldweatheronline\default.p​y) destructed
09:57:43 T:4972    INFO: Python script stopped
09:57:43 T:4972   DEBUG: Thread XBPyThread 4972 terminating
09:57:43 T:5000   DEBUG: waiting for python thread 11 (C:\Users\Oxize\AppData\Roaming\XBMC\addons\script.favourites\default.py) to stop
09:57:43 T:5000   DEBUG: python thread 11 (C:\Users\Oxize\AppData\Roaming\XBMC\addons\script.favourites\default.py) destructed
09:57:43 T:5116   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Oxize\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\l​anguage\English, fallback to strings.xml
09:57:43 T:5072   DEBUG: CZipManager::GetZipList - Processing zip://special%3a%2f%2fxbmc%2fmedia%2fweather.zip/



RE: [RELEASE] World Weather Online Addon - SirKhalid - 2013-09-29 00:48

(2013-09-28 09:41)Oxize Wrote:  I get for a few months an error "script failed!:weather.worldweatheronline". reinstalling the plugins doesnt help. Neither Underground, World Weather, etc are working.

I get no readings. The temperature stays at 0c.

How can i fix this? I am using World weather version 1.0.8. on Frodo 12.2

I am also getting this.


RE: [RELEASE] World Weather Online Addon - Cyrano2 - 2013-10-04 15:58

I have the same problem.Any idea to solve?


RE: [RELEASE] World Weather Online Addon - Martijn - 2013-10-04 15:58

You could try
https://github.com/amet/weather.worldweatheronline


RE: [RELEASE] World Weather Online Addon - HTPC Brasil - 2013-10-21 02:13

It seems that World Weather Online has changed its free API used by the XBMC addon. World Weather Online has also blocked the original account that was used to retrieve information. So, it is necessary to get another user key to retrieve data.

I have already got another key, which i used in the code below. You can use it, or, if you want, you can get you own key here:
http://developer.worldweatheronline.com/member/register

To fix the problem, do this (linux code):

1. change to the addon directory :
cd ~/.xbmc/addons/weather.worldweatheronline

2. Backup your original addon script:
cp default.py default.py.bak

3.Edit the addon script:
nano default.py

4. Find these lines:

DEVELOPER_KEY = "75b745967f114856110511"
NUMBER_OF_DAYS = 4
SEARCH_URL = "http://free.worldweatheronline.com/feed/search.ashx?key=%s&query=%s&format=xml"
LOCATION_URL = "http://free.worldweatheronline.com/feed/weather.ashx?q=%s&format=xml&num_of_days=%i&key=%s"

5. Replace by these:

DEVELOPER_KEY = "xqm663h7z67etx9bku8k8rbn"
NUMBER_OF_DAYS = 4
SEARCH_URL = "http://api.worldweatheronline.com/free/v1/search.ashx?key=%s&query=%s&format=xml"
LOCATION_URL = "http://api.worldweatheronline.com/free/v1/weather.ashx?q=%s&format=xml&num_of_days=%i&key=%s"

6. Save and Exit : ctrl+O ctrl+X

You are ready to go. Enjoy.

P.S. Note that I used my key ( "xqm663h7z67etx9bku8k8rbn" ) in the script. If you prefer you can replace by your own key.
P.S.2 If anything goes wrong, you can restore the original script you have backup.

It seems that World Weather Online has changed its free API used by the XBMC addon. World Weather Online has also blocked the original account that was used to retrieve information. So, it is necessary to get another user key to retrieve data.

I have already got another key, which i used in the code below. You can use it, or, if you want, you can get you own key here:
http://developer.worldweatheronline.com/member/register

To fix the problem, do this (linux code):

1. change to the addon directory :
cd ~/.xbmc/addons/weather.worldweatheronline

2. Backup your original addon script:
cp default.py default.py.bak

3.Edit the addon script:
nano default.py

4. Find these lines:

DEVELOPER_KEY = "75b745967f114856110511"
NUMBER_OF_DAYS = 4
SEARCH_URL = "http://free.worldweatheronline.com/feed/search.ashx?key=%s&query=%s&format=xml"
LOCATION_URL = "http://free.worldweatheronline.com/feed/weather.ashx?q=%s&format=xml&num_of_days=%i&key=%s"

5. Replace by these:

DEVELOPER_KEY = "xqm663h7z67etx9bku8k8rbn"
NUMBER_OF_DAYS = 4
SEARCH_URL = "http://api.worldweatheronline.com/free/v1/search.ashx?key=%s&query=%s&format=xml"
LOCATION_URL = "http://api.worldweatheronline.com/free/v1/weather.ashx?q=%s&format=xml&num_of_days=%i&key=%s"

6. Save and Exit : ctrl+O ctrl+X

You are ready to go. Enjoy.

P.S. Note that I used my key ( "xqm663h7z67etx9bku8k8rbn" ) in the script. If you prefer you can replace by your own key.
P.S.2 If anything goes wrong, you can restore the original script you have backup.


RE: [RELEASE] World Weather Online Addon - harbingerofdoom - 2013-10-29 18:20

thanks brasil, i have a slightly different problem now- its just sitting there with a screen that says fetching forecast info [my zip code] and never moves on past that.
any pointers on where to look for the problem?


RE: [RELEASE] World Weather Online Addon - Oxize - 2013-12-08 15:40

Same here.

Weather Underground can fetch forecast info perfectly, but World Weather Online keeps searching infinite. Would be nice if the forecast would work again.

The lines which HTPCBrasil uses dont work for me, i dont get any available information. I get script errors and "N/A" warnings for my location with those lines!

I am using atm these lines.

DEVELOPER_KEY = "Njh2dGpwYWJ1OXg5YW1yY21rbnZiaHBq"
NUMBER_OF_DAYS = 4
SEARCH_URL = "http://api.worldweatheronline.com/free/v1/search.ashx?key=%s&query=%s&format=xml"
LOCATION_URL = "http://api.worldweatheronline.com/free/v1/weather.ashx?q=%s&format=xml&num_of_days=%i&key=%s"

But these only give me standard info, and NO forecast.

How can i fix the forecast part? I tried with an own key, but then i get errors and N/A warnings again.