Weather service API?

1,175 views
Skip to first unread message

Ciemon Dunville

unread,
Feb 8, 2012, 2:39:00 PM2/8/12
to mq...@googlegroups.com
I have a project in my head to get my weather station back on the air,
using mqtt in the process of course.

Part of the project has me looking at weather service APIs so that I
can see what's already available for getting current weather (not
interested in the forecast). Are there any services available that
don't require you to sign up for a key, I'd rather just get hold of
freely available data.

Thanks

Ciemon

Andy Piper

unread,
Feb 8, 2012, 3:13:47 PM2/8/12
to mq...@googlegroups.com
I've used MQTT with my home weather station in the past, but it isn't currently online.

I used the pywws application to grab data from the weather station, and hacked some simple stuff together using the mosquitto Python library which enabled me to (locally) publish basic info like wind speed and temperature to my home broker.

WeatherUnderground is the usual service worth having a look at in this context.

Ciemon Dunville

unread,
Feb 8, 2012, 3:21:43 PM2/8/12
to mq...@googlegroups.com
Thanks Andy,

I've looked at WeatherUnderground, but again you have to sign up to
the service, and I suspect that there's some clause in there about not
sharing the data.

Guess I'll just have to sign up and see.

> --
> To learn more about MQTT please visit http://mqtt.org
>
> To post to this group, send email to mq...@googlegroups.com
> To unsubscribe from this group, send email to
> mqtt+uns...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/mqtt

Andrew Elwell

unread,
Feb 8, 2012, 3:46:31 PM2/8/12
to mq...@googlegroups.com
I've been also looking at this

Since I live close to Geneva Airport I had a python script (that used
pymetar) to parse the METAR information for LSGG once an hour

It parsed the raw info
(fromhttp://weather.noaa.gov/pub/data/observations/metar/stations/LSGG.TXT
of say

LSGG 082020Z 36005KT 300V040 7000 FEW021 SCT026 M07/M12 Q1030 NOSIG

(cumulative stats visible at
http://weather.noaa.gov/weather/current/LSGG.html )

into the current (brr!) -7 degrees and stuck it into a logfile


sadly it looks like I didn't throw it on github, and lost it in the
great HDD tidyup :-/
but it was only about 10 lines of code anyway

Plan B is to pull in other peoples APRS information for the weather
stations nearby, but the one down the road in Thoiry seems to be
offline.

Andrew Elwell

unread,
Feb 8, 2012, 3:48:08 PM2/8/12
to mq...@googlegroups.com
> Google has an undocumented (and free) weather API.

There's also Yahoo!
http://developer.yahoo.com/weather/

Keith P Hassen

unread,
Feb 8, 2012, 3:45:41 PM2/8/12
to mq...@googlegroups.com
Google has an undocumented (and free) weather API.


programmableweb.com has a fairly comprehensive listing of other weather APIs.

K

Nicholas Humfrey

unread,
Feb 9, 2012, 4:20:02 AM2/9/12
to mq...@googlegroups.com
As a lot of MQTT users are in the UK, it is worth mentioning the Met Office's Weather Observation Website:

http://wow.metoffice.gov.uk/

It supports quick and detailed manual submissions as well as automated (also using METAR?).

Keep meaning to do something with it myself...

Sent from my phone

Ciemon Dunville

unread,
Feb 9, 2012, 6:04:00 AM2/9/12
to mq...@googlegroups.com
Nick,

Agreed the met office site is good, although I'm after a site that I
can pull data from at the moment. I'd love to be able to pull it from
there with mqtt.

Ciemon

Reply all
Reply to author
Forward
0 new messages