Automated Weather Forecast

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • crozzo
    Automated Home Lurker
    • Feb 2004
    • 8

    Automated Weather Forecast

    Does anybody know how to get an automated weather forecast from the web in the UK?

    I have Homeseer, which has a default 'get weather' script which works in the US by sending the zip code to www.accuweather.com. What I need ideally is an equivalent UK based website which can give forecasts based on postcode or area. The output from the website should be a text string or XML which I can then read in a script and use within Homeseer.

    Any suggestions / tips would be most helpfull.

    Ta

    Crozzo 8)
  • Stubbs
    Automated Home Jr Member
    • Jan 2004
    • 47

    #2
    Re: Automated Weather Forecast

    Well, the application you need to get the BBC weather is http://www.mi4.biz/modules.php?name=...le=xAP_Weather but quite how you get that into homeseer is another matter...

    The app above will download the weather from the BBC and transmit it as a xAP message, you just need something to listen for the xAP message and push that into Homeseer. Perhaps an email to the ukha_d mailing list would get better result as this forum is still young and most of the knowledge is still contained on the list.[/url]
    -S

    Comment

    • Deano
      Automated Home Jr Member
      • Jan 2004
      • 13

      #3
      Re: Automated Weather Forecast

      Jon00 has a good HomeSeer script which scrapes the BBC Weather site and populates a series of devices with the forecast. Its tailored to your local area by setting the correct URL in the script.

      Have a look at Jon's site.....

      He also has excellent BBC News scripts and an AA travel script.

      If you find an XML source for UK weather its easily parsed into HomeSeer devices (e.g. see my RSS news feed script) - if you do find one, please let us all know

      Deano
      http://www.eatworms.org.uk

      Comment

      • jon00
        Automated Home Sr Member
        • Jan 2004
        • 64

        #4
        Re: Automated Weather Forecast

        hmmm...interesting.

        Crozzo visited my Homeseer server early this morning and did not appear to get past the home page. This seems to be happening to a few others as well.

        Perhaps you can tell me what the problem was so I can sort this out.

        Thanks,

        Jon
        Jon

        www.jon00.me.uk

        Comment

        • Otto-Mate
          Founder
          • Jan 2004
          • 882

          #5
          Re: Automated Weather Forecast

          I would like to start a HomeSeer scripts part to the downloads section of the site. If you have any relevant UK scriots can you email them to me please.

          Thanks

          M.
          Editor AutomatedHome.co.uk


          www.facebook.com/AutomatedHomeUK
          www.twitter.com/ottomate
          www.instagram.com/automatedhome/

          Comment

          • crozzo
            Automated Home Lurker
            • Feb 2004
            • 8

            #6
            Re: Automated Weather Forecast

            Jon :

            Re access to your site - I couldn't seem to get past your logon page - I logged on as guest / guest, but couldn't seem to get any further.

            However, I did manage to retrieve your weather script via the Homeseer forum. Thanks a million mate, its a good bit of work. I had to modify the parsing of the wind directions slightly, but it works a treat now. My Homeseer genie has found a new vocation as my own personal Michael Fish!

            Otto_mate :

            A downloads section would be good, particularly if the scripts etc are geared towards how we do things on this side of the pond i.e. UK based hardware modules, URLs etc.

            Cheers

            Crozzo

            Comment

            • Richard_L_James
              Automated Home Jr Member
              • May 2004
              • 12

              #7
              Re: Automated Weather Forecast

              Hi,

              Personally I use the very easy way of downloading the appropriate city weather feeds on http://weather.noaa.gov/ who in turn obtain it directly from the weather stations. My understanding is that many of the US sites and I guess many UK sites use noaa as the feed in the first place!

              Weather information is available from noaa in 2 forms: decoded and non-decoded - please see the noaa website for an explanation (too long for here!). E.g for Bournemouth, UK the decoded noaa file looks like this:
              • Bournemouth Airport, United Kingdom (EGHH) 50-47N 001-50W 0M
                May 06, 2004 - 06:50 PM EDT / 2004.05.06 2250 UTC
                Wind: from the NNW (330 degrees) at 5 MPH (4 KT):0
                Visibility: greater than 7 mile(s):0
                Temperature: 42 F (6 C)
                Dew Point: 41 F (5 C)
                Relative Humidity: 93%
                Pressure (altimeter): 29.56 in. Hg (1001 hPa)
                ob: EGHH 062250Z 33004KT CAVOK 06/05 Q1001
                cycle: 23


              For my website/HA purposes I use both of the Bournemouth's decoded and undecoded feeds, example links to both of these appear below:

              ftp://weather.noaa.gov/data/observat...tions/EGHH.TXT

              If you live in Bournemouth (or Budapest!) then I can give you the above as an XML feed. I have no plans to automatically convert any additional weather feeds - however if you live locally to me I might consider it.

              Regards Richard
              http://www.wimborne.org/richard/

              Comment

              Working...
              X