Results 1 to 7 of 7

Thread: Automated Weather Forecast

  1. #1
    Automated Home Lurker
    Join Date
    Feb 2004
    Posts
    8

    Default 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)

  2. #2
    Automated Home Jr Member Stubbs's Avatar
    Join Date
    Jan 2004
    Posts
    47

    Default 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]

  3. #3
    Automated Home Jr Member
    Join Date
    Jan 2004
    Location
    Suffolk, UK
    Posts
    13

    Default 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

  4. #4
    Automated Home Sr Member jon00's Avatar
    Join Date
    Jan 2004
    Location
    Bromley, UK
    Posts
    64

    Default 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

  5. #5

    Default 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.

  6. #6
    Automated Home Lurker
    Join Date
    Feb 2004
    Posts
    8

    Default 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

  7. #7
    Automated Home Jr Member
    Join Date
    May 2004
    Location
    Wimborne, UK
    Posts
    12

    Default 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:
    http://weather.noaa.gov/pub/data/obs...coded/EGHH.TXT
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •