Use Jabber to get local weather conditions and forecasts. Currently, it supports fetching weather data from:
It should be easy to write your own fetchers to use other weather sources.
Requires xmpppy and feedparser.
Set jid, server, port, password, and 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>/<resource>, where <name> is the part of the JID before the @ sign.
[to come]
Let me know if you are running this bot.
| city | JID | weather source(s) |
|---|---|---|
| Edmonton, AB, CA | edmonton@weather.uhoreg.ca | The Weather Network |
| Hamilton, ON, CA | hamilton@weather.uhoreg.ca | The Weather Network |
| Vancouver, BC, CA | vancouver@weather.uhoreg.ca | The Weather Network |
| Waterloo, ON, CA | waterloo@weather.uhoreg.ca | Weather Underground, The Weather Network |
You can obtain the source code via git:
git clone http://vcs.uhoreg.ca/git/jabberbots.git/
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.
This page was made from only the finest electrons.
Last updated 2010-02-25.
© Hubert Chathi <><