Announcement

Collapse
No announcement yet.

New Weather Plugin Beta

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • New Weather Plugin Beta

    UPDATE: Feb 14th, 2012 - Added RRConfig Plugin

    UPDATE: Feb 31th, 2012 - Fix for date issues (regional)

    UPDATE: Feb 11th, 2012 - Fix for proper XML file write (search exposed the issue)

    UPDATED: Dec, 4th 2011 - Fix for systems that use comma as decimal point.

    UPDATED: Nov, 11th 2011 - Fixed issue with sunset/sunrise times on different regional settings.

    THIS IS NOW INCLUDED WITH THE FULL RIDERUNNER INSTALLER




    LEGAL: These are terms of usage for the weather data:
    http://www.wunderground.com/weather/api/d/terms.html
    You also should display the wunderground logo in your skin to comply with the above terms.

    Here's what needs to be done to try it:


    1-Go to http://www.wunderground.com/weather/api and create a free account
    2-After creating the account you'll receive a key - by email or you may login on their site to view it
    3-RRCONFIG (plugins) and set: weatherundergroundkey=xxxxxxxxxxxxxxxx (where xxxxxxxxxxxxx is your key)
    4-I highly suggest cleaning up your weatherpresetidxx= settings in rr.ini (since the IDs are different)
    5-Fire it up and try it

    Please note there are limits to the free account: 10 queries per minute, and 500 queries per day.
    IMPORTANT: Each Weather reading takes 2 queries!! (One to obtain City info and another to obtain the weather for the city) - so you can check 5 locations in 1 minute, then wait another minute and check another 5 (up to 250 readings in 1 day).

    This is a bit slower than the weather.com (mostly because we have to parse a large amount of data), but it is free.
    I recommend setting your city name settings like this:
    USA: <CITY>, <STATE> such as: Chicago, IL
    Rest of the world: <CITY>, <COUNTRY> such as: Toronto, Canada

    Let us know your results,
    RR Dev Team
    Last edited by Enforcer; 05-19-2012, 09:04 AM.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  • #2
    Works good so far, but there is a littel "bug" in the current temperature: Today we've 3.3C, but the plugin generates in the myweather.xml a data of 33C (without comma/point)...
    Intel D945GCLF2, 2GB RAM, 160GB SATA, DVD-ROM SATA, WiFi Belkin USB, Navibe-GPS-Mouse, TFT 7" Lilliput, Win XP SP3, Silabs-radio, bluetooth by bluesoleil, RR last versions

    Comment


    • #3
      That's why it's beta.. I'll try to find the reasoning behind it - probably some regional setting like . meaning , or the other way around.
      Ride Runner RR's Myspace

      "Being happy is not about having what you want, it's about wanting what you have."
      "The best things in life are always free - but that doesn't mean money can't buy you good things."

      Comment


      • #4
        When I register the dll, I got his error:

        The Module "C:\ProgramFiles\RideRunner\Plugins|Weather\Weathe r.dll" was loaded but the call to DllRegisterServer failed with error code 0x80004005.

        I guarantee you that I did something wrong (knowing my "skills" at this ) any idea what I did? I googled the error but that really didn;t provide me with anything that woudl help.

        Thank you in advance.
        My 2007 Ford F350 Work Log located HERE

        Comment


        • #5
          just an idea.... be able to put radar and sat images in there too... we could use that to get an idea where the rain etc is going
          Blessed are the "cracked" for it is they who let in the light.

          Comment


          • #6
            maybe use google... more hazzle free as no account is needed

            http://www.google.com/ig/api?weather=Odense

            the xml return is very easy to handle... price: 0.00$
            Blessed are the "cracked" for it is they who let in the light.

            Comment


            • #7
              Google's weather is very limited. Only 2 days past today, and it will not return other cities... meaning, if you search for Miami, it will ONLY return the weather for Miami, Florida. It will not show Miami, AZ, Miami New Mexico ect ect... That, and just a lot of information is not there to retrieve. It is very basic.
              Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

              My Fiero Build Thread

              Comment


              • #8
                well... who needs more than today and maybe tomorrow in a car? and you could just do more than one search for each city....

                and reg for weather info? thats a bit far out... for me at least...
                Blessed are the "cracked" for it is they who let in the light.

                Comment


                • #9
                  btw... its not 2 days past today....

                  it's 5 days in total... and yes basic info on the 4 of them.... but not todays weather


                  i guess you tried the link?

                  Click image for larger version

Name:	googleweather.png
Views:	1
Size:	50.3 KB
ID:	2281353
                  Last edited by boelle; 11-26-2011, 10:00 PM.
                  Blessed are the "cracked" for it is they who let in the light.

                  Comment


                  • #10
                    as i remember RR weather did not display more than high/low temp for any given day....

                    This gives us the same for the 4 days... plus a description...

                    on todays weather even more data than RR weather used to display....

                    and you call it basic?

                    btw... google gets it data from where.....?? weather.com
                    Last edited by boelle; 11-26-2011, 10:17 PM.
                    Blessed are the "cracked" for it is they who let in the light.

                    Comment


                    • #11
                      You can add the state or country to the town/city.

                      For Wembley I had to do wembley+uk otherwise it sent me info on Wembley, WA (That's about as far as you can get from my wembley.)

                      So for Miami,AZ I would assume Miami+AZ would get you the correct data.

                      Comment


                      • #12
                        Google Weather could be used for a basic weather plugin, the current plugin shows a lot more information (humidity, pressure, chance of precipitation - most for day and night times).

                        @PhilG: Never seen this - if you install RR using the installer you should be able to just overwrite the dll with this one and it should work. The path you posted had a "|" in it which doesn't seem right ( C:\ProgramFiles\RideRunner\Plugins|Weather\ Weather.dll )
                        Ride Runner RR's Myspace

                        "Being happy is not about having what you want, it's about wanting what you have."
                        "The best things in life are always free - but that doesn't mean money can't buy you good things."

                        Comment


                        • #13
                          Originally posted by guino View Post
                          Google Weather could be used for a basic weather plugin, the current plugin shows a lot more information (humidity, pressure, chance of precipitation - most for day and night times).
                          So does google for today....
                          Blessed are the "cracked" for it is they who let in the light.

                          Comment


                          • #14
                            I guess the question, would there be any advantage of using Google weather (as far as data), that has less information, compared to the new dll that is already working, with far more information available? As for the setup for the new one, go to the site, sign up for a key, and put it in your rr.ini. Takes 2 minutes, and has to only be done once.
                            Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                            My Fiero Build Thread

                            Comment


                            • #15
                              Well a pluigin for google could always be done.

                              No harm in having more than one plugin for weather, then if one falls over you have a backup.

                              Or code both sites into the plugin and have a switch that lets the user decide which source to use.

                              Comment

                              Working...
                              X