Simple Weather Forecast Service XMPP Bot
May 8 - 2009I did a "Simple Weather Bot" that can tell you the weather forecast of the location you want.
For example if I want to know the current weather and the forecast for Paris, France, I would send XMPP Message with payload "Paris, France" to weather@xmpp.lobstermonster.org. Reply would be something similar to:
Conditions for Paris, FR at 1:30 am CEST: Fair, temperature: 15 C Wind speed: '11.27 kph', direction: '280' Humidity: '94', visibility: '9.99 km' Sunrise: '6:20 am', sunset: '9:15 pm' And the most important, the forecast: 8 May 2009: Partly Cloudy, low 8 C, high 22C 9 May 2009: Partly Cloudy, low 9 C, high 21
If you will try this with gTalk, you need to add weather@xmpp.lobstermonster.org to your contact list first.
Update! 2009-05-8
Due a request I had, it's now possible to receive the forecast in Fahrenheit and miles too. For results in Fahrenheit and miles, use extension " in f" in your query.
For example if one would like to know the weather in New York in Fahrenheit, one would send a message "New York, NY in f".
In any questions or problems, don't hesitate to contact me.
List of all post on LobsterMonster.org
- 2010-02-20: XMPP, XFS, buddyloud, FOSDEM
- 2009-10-20: Devox 2009
- 2009-10-20: Strophe + F5
- 2009-10-07: RSS feeds to PubSub nodes
- 2009-08-28: Breaking News -service
- 2009-08-02: Geode-Xmpp-GoogleMap example
- 2009-07-19: Lobstermonster's Buddycloud tweeds
- 2009-07-15: Buddycloud Weather Service
- 2009-06-15: Read and comment BBC Breaking news real time in Lobstermonster Lounge
- 2009-05-17: Geolocation using Firefox's Geode
- 2009-05-17: Geolocation using buddycloud
- 2009-05-08: Simple Weather Forecast Bot
- 2009-05-03: Possibility to ping anonymous web users using my IM client
- 2009-05-01: Online status notified in both ways between Tuomas and the Guest
- 2009-04-30: Contact pages updated
- 2009-04-29: Receive BBC World news as XMPP Message (using the great PubSub feature)!
- 2009-04-19: Example how to send IQ commands to external XMPP server using XEP-0244: IO Data
- 2009-04-19: So how is most of the stuff done on Lobstermonster.org
- 2009-04-18: My mood now on my contact pages.
- 2009-04-15: The incredible XMPP - BOSH - Strophe - Multi-User Chat! :-D
- 2009-04-15: Contact pages ready - and implemented of course with XMPP
- 2009-04-14: Baby got more memory
- 2009-04-13: What have I done and why?