NOTE: parts of this page describe the Python version of the bot. The Python version is no longer being worked on, and is replaced by the Prosody module.
Use Jabber to get local weather conditions and forecasts. Currently, it supports fetching weather data from:
- Yahoo! Weather,
- The Weather Network,
- Weather Underground, and
- the University of Waterloo Weather Station.
It should be easy to write your own fetchers to use other weather sources.
Requires xmpppy and feedparser.
spooldir in the configuration file.
spooldir must be a directory writable by the bot. In the configuration file, add a section for each JID and resource that you want. The section should be named
<name> is the part of the JID before the
Let me know if you are running this bot.
|Edmonton, AB, CAemail@example.com||The Weather Network|
|Hamilton, ON, CAfirstname.lastname@example.org||The Weather Network|
|Vancouver, BC, CAemail@example.com||The Weather Network|
|Waterloo, ON, CAfirstname.lastname@example.org||Weather Underground, Yahoo! Weather, The Weather Network, University of Waterloo|
You can obtain the source code via git:
git clone http://vcs.uhoreg.ca/git/jabberbots.git
or browse the git repository.
Or you con download weatherbot.py, and a sample configuration file.
weatherbot is distributed under the terms of the GNU GPL version 2 or later.