Kodi Community Forum
[RELEASE] Weather Plus Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Weather Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=155)
+---- Thread: [RELEASE] Weather Plus Addon (/showthread.php?tid=95329)



- choclate - 2011-12-09

XBMC newbi, setup a lot of plugins and now trying to make them work (mostly ok) but the weather plus is not working, when ever i try to refresh the weather i briefly see a message "busy" and no info. is downloaded for any of the three cities in there. So i dont have current or future weather on the screen just a simple *F without any temp. before *F


- Mudislander - 2011-12-09

choclate Wrote:XBMC newbi, setup a lot of plugins and now trying to make them work (mostly ok) but the weather plus is not working, when ever i try to refresh the weather i briefly see a message "busy" and no info. is downloaded for any of the three cities in there. So i dont have current or future weather on the screen just a simple *F without any temp. before *F

What skin are you using & which service provider for what locations ?


- brightsr - 2011-12-10

[UPDATE] v.3.0.0 Beta 1210 (only eden-pre! dhrama version will be released as a stable version)

v.3.0.0 (v.2.8.0)
- Added : [Weather Provider] Wunderground.com
- Added : [Wunderground.com] US & Europe severe weather alert
- Added : Multi-threading supported
- Added : [Video] Bulgaria - Meteotv.bg
- Added : [Video] Poland - TVN
- Added : [Video] Ireland - TV3
- Added : [Video] Germany - ZDF.de
- Added : [Video] Spain - tve
- Added : [Video] Belgium - RTL.be, Deredactie.be
- Added : [Video] Netherlands - Weer.nl
- Added : [Video] Romania - Antenna 1
- Added : [Video] Hungary - RTL Klub
- Added : [Translator] Google Translation
- Added : [Accuweather.com] "Auto" language option
- Added : [Accuweather.com] Hourly forcast - Wind direction translation (by Google)
- Added : [Accuweather.com] 10 day forcast - Wind speed & direction with Translation (by Google)
- Added : [Accuweather.com] Weekend forecast - Wind, UVindex, Sunrise & Sunset time
- Added : [NOAA.gov] Hourly forecast - Feels Like, Condition Icon, Outlook (generated by script)
- Added : [NOAA.gov] US Severe weather alert
- Added : [NOAA.gov] Weekend forecast
- Added : [Dharma] Window(Weather).Property(Update) - Last updated time
- Fixed : [NOAA.gov] Extended forecast - Gust speed issue
- Fixed : [Weather.com] Current.FanartCode
- Fixed : [Weather.com] Duplicated alerts, Alert color issue
- Fixed : [Video] ABC 4 (Hawaii)
- Fixed : Local maps of South America, Australia, New Zealand
- Fixed : Location name was not refreshed
- Fixed : Minor bugs

* It's Beta version, which means it may cause a lot of errors or issues. You should know that you have to uninstall this beta version when a stable version is released.

* Accuweather.com Langauge option overrides general translation option.

* Skins Supporting Multiple video : Aeon Nox(svn), Confluence, Convergence, T!(svn) supports as of now.

* Download link : http://xbmc-addons.googlecode.com/files/weather.weatherplus_v.3.0.0.Beta.1210.zip

* If no issue, it'll be a last beta of 3.0.0.


- olympia - 2011-12-10

Many thanks for the updates. I am still experiencing the followings:

- wunderground still doesn't OK for me for Budapest (it is ok for Brussels).
- weather.com doesn't show current temp from time to time (both for Budapest and Brussels), at the moment it is OK
- Video is opening in the background (not sure if this can be changed)


- bossanova808 - 2011-12-10

brightsr Wrote:I'm always interested in adding a provider if it is really needed.
I know the best provider would be a national provider which can cover whole locations of a country and give more accurate or significant weather information.
If you want to make an weather addon cover current weather and simple 4 day forecast which is the standard of XBMC, it's the best to develop your own addon. But you really want to cover more information like Weather+ does, I can help you code to fetch and parse the provider's website, and I'll be willing to merge your code into Weather+.
Anyway, it seems that you have a trouble with getting location ID or something like that. I'll investigate and give you some idea.
Cheers!

P.S I'm really not a expert, too. Sad

Ok cool - I might start with using that site you found & their postcode service to do a basic xbmc add on for a start, and then maybe we can expand from there.

One thing every Aussie wants is the local rain Radar - we all have weather apps on our phones that have three basic sections - current, 7 day forecast, and the radar.

So maybe I will work on getting the basic data and once I get past that we can talk about integration and maybe pulling the radar images??

I might use that new 'ParseDom' common add on thingy - makes it look reasonably easy to scrape data...I guess I just need to build something where they enter postcode, submit that to their picker, scrape results, present the list to user, they choose one, then build their weather URL for scraping from there.

Sounds do-able. Slowly!

Thanks!


- brightsr - 2011-12-10

olympia Wrote:- wunderground still doesn't OK for me for Budapest (it is ok for Brussels).
- weather.com doesn't show current temp from time to time (both for Budapest and Brussels), at the moment it is OK

try this and post your log, please : http://xbmc-addons.googlecode.com/files/weather.weatherplus_v.3.0.0.Beta.1210.Debugger.zip

Quote:- Video is opening in the background (not sure if this can be changed)

What skin do you use? I don't think that's addon's problem. Addon only hand a video's url to a skin.


- m4x1m - 2011-12-10

Code:
14:05:00 T:2680150896  NOTICE: [PLUGIN] 'Weather Plus: Version - 3.0.0 - Beta' initialized!
14:05:00 T:2680150896  NOTICE: [Weather Plus] Location Index : ITXX0374
14:05:00 T:2680150896    INFO: -->Python script returned the following error<--
14:05:00 T:2680150896   ERROR: Error Type: <type 'exceptions.ValueError'>
14:05:00 T:2680150896   ERROR: Error Contents: invalid literal for int() with base 10: ''
14:05:00 T:2680150896   ERROR: Traceback (most recent call last):  
                                              File "/home/m4x1m/.xbmc/addons/weather.weatherplus/default.py", line 23, in <module>
                                                Main()
                                              File "/home/m4x1m/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 44, in __init__
                                                self._get_client()
                                              File "/home/m4x1m/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 298, in _get_client
                                                self.areacode = self.Settings.getSetting("code%s_%d" % ( self.locationindex, int(self.provider)+1 ))
                                            ValueError: invalid literal for int() with base 10: ''
14:05:00 T:2680150896    INFO: -->End of Python script error report<--
14:05:00 T:2680150896    INFO: Python script stopped

Sad


- brightsr - 2011-12-10

m4x1m Wrote:
Code:
14:05:00 T:2680150896  NOTICE: [PLUGIN] 'Weather Plus: Version - 3.0.0 - Beta' initialized!
14:05:00 T:2680150896  NOTICE: [Weather Plus] Location Index : ITXX0374
14:05:00 T:2680150896    INFO: -->Python script returned the following error<--
14:05:00 T:2680150896   ERROR: Error Type: <type 'exceptions.ValueError'>
14:05:00 T:2680150896   ERROR: Error Contents: invalid literal for int() with base 10: ''
14:05:00 T:2680150896   ERROR: Traceback (most recent call last):  
                                              File "/home/m4x1m/.xbmc/addons/weather.weatherplus/default.py", line 23, in <module>
                                                Main()
                                              File "/home/m4x1m/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 44, in __init__
                                                self._get_client()
                                              File "/home/m4x1m/.xbmc/addons/weather.weatherplus/xbmcplugin_weather.py", line 298, in _get_client
                                                self.areacode = self.Settings.getSetting("code%s_%d" % ( self.locationindex, int(self.provider)+1 ))
                                            ValueError: invalid literal for int() with base 10: ''
14:05:00 T:2680150896    INFO: -->End of Python script error report<--
14:05:00 T:2680150896    INFO: Python script stopped

Sad

You're using Dharma or pre-eden build compiled before weather change, right?
Weather+ will be not supporting old nightly build to prepare Eden official release coming up soon.
in case of Dharma, please wait for stable version for Dharma.


- m4x1m - 2011-12-10

brightsr Wrote:You're using Dharma or pre-eden build compiled before weather change, right?
Weather+ will be not supporting old nightly build to prepare Eden official release coming up soon.
in case of Dharma, please wait for stable version for Dharma.

Latest Pre-eden PVR but there isn't update from november 12 and the previous weather+ build (v.3.0.0 Beta 1207) worked (except for the temperature in home but I knew)


- brightsr - 2011-12-10

m4x1m Wrote:Latest Pre-eden PVR but there isn't update from november 12 and the previous weather+ build (v.3.0.0 Beta 1207) worked (except for the temperature in home but I knew)

Pre-eden builds before november 15 are old build when it comes to weather change. In case of that, dharma version must work. please wait for next dharma version release.


- olympia - 2011-12-10

brightsr Wrote:try this and post your log, please : http://xbmc-addons.googlecode.com/files/weather.weatherplus_v.3.0.0.Beta.1210.Debugger.zip

here we go:
http://pastebin.com/pZCxxPNj

brightsr Wrote:What skin do you use? I don't think that's addon's problem. Addon only hand a video's url to a skin.

Hmmm... now it's opening in the front. Strange.


- brightsr - 2011-12-11

@ Olympia: Found a key. Try this : http://xbmc-addons.googlecode.com/files/weather.weatherplus_v.3.0.0.Beta.1210.zip


- olympia - 2011-12-11

It works now! Great, thank you!


- Wanilton - 2011-12-12

Brightsr, here for me 1207 work great, all info, in 1210 broke info four days, seven days, no more info, return to 1207, work ok again, using aeon skinmq 3, latest version.


- brightsr - 2011-12-12

Wanilton Wrote:Brightsr, here for me 1207 work great, all info, in 1210 broke info four days, seven days, no more info, return to 1207, work ok again, using aeon skinmq 3, latest version.

please post your log.