Mokometeo
From Openmoko
(→OM and SHR) |
(New version 0.2) |
||
Line 12: | Line 12: | ||
So to install it, you can do : | So to install it, you can do : | ||
− | opkg install glade http://www.opkg.org/packages/ | + | opkg install python-pygtk python-netclient python-html glade http://www.opkg.org/packages/0_mokometeo_0.2_arm.ipk |
Also need dependancies (on SHR testing) : | Also need dependancies (on SHR testing) : | ||
Line 18: | Line 18: | ||
== Using Mokometeo == | == Using Mokometeo == | ||
− | + | ||
* Just click on the desktop icon [[Image:Mokometeo.png|30px]] called "Mokometeo" to load the software. | * Just click on the desktop icon [[Image:Mokometeo.png|30px]] called "Mokometeo" to load the software. | ||
− | You will see a window appearing, with a 4 days forecast : Today, tomorrow (J+1), the day after (J+2) , etc. | + | * 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. | + | * You can use the Next and Previous buttons to change the displayed city. |
+ | |||
+ | * If you have no internet connection, you will have to wait a little bit, and then the window will show "question marks" and "-" as min and max temperatures | ||
+ | |||
+ | * Next time you starup Mokometeo, the last fetched data will be displayed. | ||
Enjoy ! | Enjoy ! | ||
Line 38: | Line 42: | ||
== Changelog == | == Changelog == | ||
+ | |||
+ | === 2009-03-13 - v0.2 === | ||
+ | * added some "print" in the code | ||
+ | * debug the .mokometeo folder ; put the config folder in /home/root/.mokometeo/ instead of /.mokometeo/ | ||
+ | * test if the connection to internet is ok. If not, display question marks | ||
+ | * backup the data each time data is downloaded and displayed. This data is used on the next Mokometeo startup | ||
+ | * added the date and time when the data has been downloaded | ||
=== 2009-03-12 - v0.1 === | === 2009-03-12 - v0.1 === | ||
Line 44: | Line 55: | ||
== Future improvements / To do list == | == Future improvements / To do list == | ||
− | + | * improve the way the connection to Yahoo is handled | |
− | + | ||
− | * improve the way the connection to Yahoo is handled | + | |
* test with different languages / locations | * test with different languages / locations | ||
− | + | ||
[[Category:Utility]] | [[Category:Utility]] | ||
[[Category:Applications]] | [[Category:Applications]] |
Revision as of 17:26, 13 March 2009
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 python-pygtk python-netclient python-html glade http://www.opkg.org/packages/0_mokometeo_0.2_arm.ipk
Also need dependancies (on SHR testing) :
opkg install python-netclient
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.
- If you have no internet connection, you will have to wait a little bit, and then the window will show "question marks" and "-" as min and max temperatures
- Next time you starup Mokometeo, the last fetched data will be displayed.
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-13 - v0.2
- added some "print" in the code
- debug the .mokometeo folder ; put the config folder in /home/root/.mokometeo/ instead of /.mokometeo/
- test if the connection to internet is ok. If not, display question marks
- backup the data each time data is downloaded and displayed. This data is used on the next Mokometeo startup
- added the date and time when the data has been downloaded
2009-03-12 - v0.1
initial version
Future improvements / To do list
- improve the way the connection to Yahoo is handled
- test with different languages / locations