Mokometeo
From Openmoko
Contents |
Mokometeo 0.1
Presentation
Mokometeo is a small python/GTK application fetching the weather forecast from Yahoo weather pages
Installation
Dependencies
You need python-pygtk and glade to make it work.
OM and SHR
So to install it, you can do :
opkg install glade http://www.opkg.org/packages/mokometeo_0.1_arm.ipk
Using Mokometeo
You will see a window appearing, with a 4 days forecast : Today, tomorrow (J+1), the day after (J+2) , etc.
You can use the Next and Previous buttons to change the displayed city.
Enjoy !
Configuring Mokometeo
- By default, 2 cities are configured. You can change the cities and add more in the file
~/.mokometeo/mokometeo.conf
This file must contains at minimum 2 lines. The first line is
city,url
The second and next lines is the name of the city, and the url (tested with french yahoo weather urls), for example:
Paris,http://fr.weather.yahoo.com/FRXX/FRXX0076/index_c.html
Changelog
2009-03-12 - v0.1
initial version
Future improvements / To do list
- need to test first if there is some network connection. Now it crashes if the freerunner is not connected
- record the last fetched information, and diplay it (with is date+time) if in deconnected mode
- test with different languages / locations
- improve the quality of the uggly python code (I am a beginner, advice waited :D )