• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 40
  • Next 
 
Thread Rating:
  • 2 Vote(s) - 5 Average
Release - OpenWeatherMap Extended
#1
OpenWeatherMap Extended

The new OpenWeatherMap weather addon provides extensive weather information.

The addon is avialable through the addon repo.


Personal API Key
To use this addon, it is required to get your own api key and enter it in the addon settings.
You can get your api key at: http://openweathermap.org/appid


If you have issues with this addon, please please (with sugar on top) post a Debug Log!

1 enable debug logging in kodi
2 enable logging in the openweathermap addon settings
3 restart kodi
4 go to the weather window
5 wait a few minutes
6 post the entire kodi.log file on http://paste.ubuntu.com/





Here are some screenshots to give you an idea on what's available...

Current Forecast and daily forecast up to 14 days:
Image

36Hour (Today-Tonight-Tomorrow) forecast:
Image

Weekend forecast:
Image

3-Hourly forecast for the next 2 days:
Image
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#2
Get a script error when starting:

20:38:45 T:3176 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'thread_street' referenced before assignment
Traceback (most recent call last):
File "C:\Users\mike\AppData\Roaming\XBMC\addons\weather.openweathermap.extended\default.py", line 960, in <module>
forecast(location, locationid, locationdeg)
File "C:\Users\mike\AppData\Roaming\XBMC\addons\weather.openweathermap.extended\default.py", line 306, in forecast
thread_street.join()
UnboundLocalError: local variable 'thread_street' referenced before assignment
-->End of Python script error report<--
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Reply
#3
just test on my Helix Alpha 4, Win 7 System.
Works perfect! Maps looking good..
Thanks for the graet job....
Board: B85M-ITX
CPU: i3 4330
GPU: Geforce GTX 750ti
Reply
#4
Hi ronie,

do you have stats how many users used wunderground?
i ask because free usage of open weathermap is limited to 3000 hits per hour or 4 000 000 hits per day.

http://openweathermap.org/price
Reply
#5
Liking it, seems to be working well - as a drop-in replacement even - on XBMC 13.2 and Aeon Nox 5.1.5.

Thank you!
* D-Link DIR-860L rev B1, LEDE 17.01.4+ :: HP Procurve V1410-8G switch
* LibreELEC:  HTPC Gigabyte Brix GB-BXA8-5545 with CEC adapter, Sony KDL52-NX800 :: Desktop AMD Ryzen 7 1800X / AMD HD6950 / 23" Dell Full HD
* Debian Stretch x86_64: Celeron G1610, NFS/MariaDB/ZFS server
* Blog
Reply
#6
(2014-10-24, 13:28)Bitboy Wrote: Hi ronie,

do you have stats how many users used wunderground?
i ask because free usage of open weathermap is limited to 3000 hits per hour or 4 000 000 hits per day.

http://openweathermap.org/price

you mean 3000 per minute ;-)

with wunderground, we were close to 2 million calls a day at one point.
we manged to lower it to 1.5 million by disabling the addon by default and
making sure it didn't run on older xbmc installs anymore.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
(2014-10-24, 01:26)Dilligaf Wrote: Get a script error when starting:

20:38:45 T:3176 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'thread_street' referenced before assignment
Traceback (most recent call last):
File "C:\Users\mike\AppData\Roaming\XBMC\addons\weather.openweathermap.extended\default.py", line 960, in <module>
forecast(location, locationid, locationdeg)
File "C:\Users\mike\AppData\Roaming\XBMC\addons\weather.openweathermap.extended\default.py", line 306, in forecast
thread_street.join()
UnboundLocalError: local variable 'thread_street' referenced before assignment
-->End of Python script error report<--

cool, exactly the kind of bug i'm interested in.

fixed in: weather.openweathermap.extended-0.0.2.zip
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
(2014-10-25, 01:48)ronie Wrote: cool, exactly the kind of bug i'm interested in.

fixed in: weather.openweathermap.extended-0.0.2.zip

Seems to be working now, thanks.
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Reply
#9
Bug when changing location ??

Not sure if this is a general Kodi bug or an OpenWeatherMap bug, but it's with the weather addon I can replicate it so......

Helix 14 Alpha 5 built from git source today. OpenWeatherMap v 0.0.2, Confluence 2.5.4, OS - Ubuntu 14.04

Kodi is installed to a local directory, not system-wide and is running in portable mode.

Expected behaviour - When using the left blade to change locations (I have two), clicking on the up icon when showing the second location would wrap-around to the first location.

Actual behaviour - Kodi segfaults with a "AccessInit: hash collision: 3 for both 1 and 1" message in the terminal window.

Crashlog - http://pastebin.com/Gr0L5Scu

Debug log - http://pastebin.com/XA5iMeXD

@Ronie, if its a general Kodi bug, I'll report it as such, but figured I would start here as I can reproduce it each time with this addon.
Learning Linux the hard way !!
Reply
#10
(2014-10-25, 21:31)black_eagle Wrote: Debug log - http://pastebin.com/XA5iMeXD

you're not using OpenWeatherMap Extended, but this addon: http://forum.xbmc.org/showthread.php?tid=180878
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#11
Ahh, OK. Having corrected that, issue still applies.

Quote:[email protected]:~/kodi$ ./bin/kodi -p
AccessInit: hash collision: 3 for both 1 and 1
Segmentation fault (core dumped)
Crash report available at /home/xbmc/kodi_crashlog-20141025_211756.log

debug log - http://pastebin.com/AZ6N16jb

Assuming if this is cross-addon that it's actually a bug in Kodi, as opposed to an addon.
Learning Linux the hard way !!
Reply
#12
Hi ronie.

This is amazing news!

Thanks a bunch for working so fast Smile

I will test this out with Rapier as soon as possible!

Cheers
Reply
#13
(2014-10-25, 22:32)black_eagle Wrote: Assuming if this is cross-addon that it's actually a bug in Kodi, as opposed to an addon.

yeah, most likely.
i can't reproduce it though, running todays built on linux.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#14
I have the add-on installed and running on 13.2 Gotham, an dinstalled the confluence skin update on Windows 7. I can't for the life of me, figure out how to switch the right pane views between forcasts, maps, etc. I don't see an option to change the view in the settings fly-out.

What am I missing?


*** UPDATE ***
Never mind! a quick exit and XBMC reload fixed everything. Looks good and seems to be working properly now.

L-Dub
Reply
#15
Maybe it is related to the clocks going back but I now get the following error:

10:50:16 T:140050796885760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/storage/.xbmc/addons/weather.openweathermap.extended/default.py", line 963, in <module>
forecast(location, locationid, locationdeg)
File "/storage/.xbmc/addons/weather.openweathermap.extended/default.py", line 307, in forecast
hourly_props(hourly_weather, daynum)
File "/storage/.xbmc/addons/weather.openweathermap.extended/default.py", line 796, in hourly_props
if int(day_time) > 2:
ValueError: invalid literal for int() with base 10: ''
-->End of Python script error report<--
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 40
  • Next 
 
Thread Rating:
  • 2 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
OpenWeatherMap Extended52