-
3rd February 2004, 12:14 AM
#1
Automated Home Lurker
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)
-
3rd February 2004, 12:59 AM
#2
-
3rd February 2004, 01:29 AM
#3
Automated Home Jr Member
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
-
3rd February 2004, 08:16 AM
#4
Automated Home Sr Member
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
-
3rd February 2004, 03:09 PM
#5
Founder
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.
-
4th February 2004, 10:26 PM
#6
Automated Home Lurker
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
-
7th May 2004, 02:23 AM
#7
Automated Home Jr Member
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
-
Forum Rules