Mokometeo

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (OM and SHR)
m (add some improvement / bugg fixes ideas)
Line 40: Line 40:
  
 
== Future improvements / To do list ==
 
== 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
 
* test with different languages / locations
 
* improve the quality of the uggly python code (I am a beginner, advice waited :D  )
 
* improve the quality of the uggly python code (I am a beginner, advice waited :D  )

Revision as of 19:58, 12 March 2009

Contents

Mokometeo 0.1

Capture-MokoMeteo.png

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

  • Just click on the desktop icon Mokometeo.png 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 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 )
Personal tools

Mokometeo 0.1

Capture-MokoMeteo.png

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

  • Just click on the desktop icon Mokometeo.png 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 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

  • test with different languages / locations
  • improve the quality of the uggly python code (I am a beginner, advice waited :D )