WorldWeather plugin v1.10.0 for MediaPortal 1.3.0 and higher (1 Viewer)

StarWup

Portal Pro
April 7, 2011
113
5
Germany Germany
I today registered with Weather Underground (wunderground.com) for their free API key. I entered the API key in the WorldWeather configuration and the only thing I get when I start MP is a small popup with "Error loading data from Weather Underground". The charts in the weather section are all empty. No data at all. As soon as I set the configuration in WorldWeather plugin to any other provider it fills up with data quickly. Any ideas?

[edit: After one hour of trying around I got an email from wunderground.com:

Hello,
your wunderground API key (xxxxxxxxxxxxxxxx) exceeded its allotted usage today by making 16 calls within a minute but the limit is 10.
We used one of your raindrops instead of disabling the key for the remainder of the day. You now have 2 remaining raindrops.
We check usage for 24-hour periods based on U.S. Eastern Time.
The plan you are registered for is Cumulus - Developer, granting you 500 calls per day with 10 calls per minute limit. To upgrade your plan go to:
-url deleted-

Details: exceededrate: maxrate: 16 (of 10)
Time: Tue, Jan 08, 2013 11:00 EST

Thank you,
wunderground.com API Team
So I assume the connection and login is working fine! But no data can be retrieved!
 
Last edited:

AlfredENeuma

Portal Pro
October 10, 2008
433
156
Germany Germany
Just an update.

I managed to get it working, i couldn't find the Sydney settings for Mediaportals World Weather Plugin online
Hi,
just to help you if you are looking for the code for another location:
City Code: Go to (for example) weather.yahoo.com, enter your city (in the weather region, not in the "top" search"); when your city is displayed, you will find the city code in the address line of your browser.
Longitude/Latitude: You will find it (for example) on http://www.travelmath.com/cities/
Cheers
Alfred
 

Micropolis

Portal Pro
July 22, 2009
1,586
1,789
Bavaria
Germany Germany
Country flag
Hi DiG1T, StarWup,

@DiG1T:
... I managed to get it working, i couldn't find the Sydney settings for Mediaportals World Weather Plugin online ...
In addition to the information from Alfred you can find a lot of troubleshooting tips and useful URL's in the configuration dialog itself. Open the settings tab and select "Provider troubleshooting...".

@StarWup:
... and the only thing I get when I start MP is a small popup with "Error loading data from Weather Underground"...
Without any information about your WorldWeather settings and location specific configuration I can't give you a valid answer. The glance in the crystal ball says nothing...

... The charts in the weather section are all empty...
Could you specifiy, which chart do you mean? Is it the history chart, the hourly or forecast chart?

... After one hour of trying around I got an email from wunderground.com ...
How often you had start MediaPortal? Do you use history settings? Is Wether Underground your current and forecast provider?

Cheers, Micropolis
 

michael_t

Portal Pro
November 30, 2008
1,258
813
Germany Germany
I want to use my own weather icons, but I have no idea how the mapping from descriptions like "teils bewölkt" to the icon file is working. I copied 48 icon files (0.png ... 47.png) into the standard weather folders (128x128 and 64x64) and they are used. But I want to optimize the mapping and don't know how.

Michael
 
Last edited:

fischy667

Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    956
    278
    38
    Rostock
    Germany Germany
    Country flag
    In C:\ProgramData\Team MediaPortal\Mediaportal is a file "WorldWeatherIconMapping.xml". There you can change the mapping. Every weather source has its own mapping.
     

    michael_t

    Portal Pro
    November 30, 2008
    1,258
    813
    Germany Germany
    In C:\ProgramData\Team MediaPortal\Mediaportal is a file "WorldWeatherIconMapping.xml". There you can change the mapping. Every weather source has its own mapping.
    What is the exact syntax? I only found an old mapping file for Google, that does not help very much.

    Michael
     
    Last edited:

    Micropolis

    Portal Pro
    July 22, 2009
    1,586
    1,789
    Bavaria
    Germany Germany
    Country flag
    Hi Michael,
    ... What is the exact syntax? I only found an old mapping file for Google, that does not help very much...
    I'm on the road, because of this it's only a very quick answer.
    The mapping file WorldWeatherIconMapping.xml contains the mapping of each provider (and separated by day and night) against the condition and the weather icon image number. The icon image number type you can find at the beginning of this configuration file.

    A small example: You want to change the daily icon for WorldWeatherOnline, when it is clear and sunny
    • open the xml file
    • search for the profile of WorldWeatherOnline Day (see line 185)
    • search the condition "clear_sunny" (see line 186)
    • the default icon number is 32, take a look into the table at the top of this document and enter any other value you want
    • save the mapping file and test the output
    Cheers, Micropolis
     

    Attachments

    Last edited:

    powermarcel10

    Retired Team Member
  • Premium Supporter
  • November 30, 2010
    2,839
    898
    32
    Groningen
    Netherlands Netherlands
    Hi guys,

    as we are all waiting for the official skinfiles of Titan for this awesome plugin, I'm starting to make some temporary skinfiles myself before the official skinfiles from team Titan will be released. Here are some screenshots of what I have done so far.. A lot of work need to been done, but I think I will release a first version of the skinfiles next week..

    Please let me know what you think about the lay-out!

    Have a nice weekend!
     

    Attachments

    Micropolis

    Portal Pro
    July 22, 2009
    1,586
    1,789
    Bavaria
    Germany Germany
    Country flag
    Dear community,
    as announced before, this plugin has entered the code freeze phase this weekend. The latest nightly build v1.0.4 can be found at the well known place.
    The next stable release is being prepared in the next few days, most parts of my automated tests has been successfully completed yet. If no errors are found, the following changes are included:
    • add weather provider support for "PreviMeteo"
    • fix for zodiac calculation routines
    • change provider order to synchronize lite/full version (Foreca is default provider now)
    • enhancements regarding IP and city location detection
    • add "Manually add weather location wizard" to context menu
    • fix invalid Foreca condition code, fix for next daylight calculation, fix for sunshine calculation bug
    • increase maximum refresh delay

    @Dadeo: the bugfix for sunshine calculation should fix your problem related to Weather Underground and "Goderich/Canada".

    It would be helpful if the community supported me during the test, and I get notified of test results.

    Cheers, Micropolis
     
    Last edited:

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,105
    3,689
    Lehmden
    Germany Germany
    Country flag
    Hi Micropolis.
    I know you're busy with WWL atm but I'm not afraid to make an improvement suggestion...
    What about supporting Hyperlink Parameter? This feature is introduced with 1.2 Beta, so it's really a long time available. Also it's so useful only a few plugins make use of it. With hyperlink parameter we can start the plugin with different locations or to different pages right from basic home menu...
    This can apply to both, WW and WWL.
    Many thanks in advance..
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 5
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    Similar threads

























    Top Bottom