Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Sunday, January 29, 2012

[MeeGo Harmattan] lpsmagic : Add useful info to low power screen !

lpsmagic basically shows info on lp mode instead of the operator logo

On your standby screen, which was kind of empty until now, the following things will be shown below the clock:



- current date
- uptime of the device
- amount of used RAM
- system load (1, 5, 15 minutes)
- battery state
- amount of used space on user data partition

of course everything comes with a corresponding icon. The battery icon will change depending on charging state (not connected, usb connection, wall charger connection) and loading percentage.

You can download it from here:
http://dl.dropbox.com/u/5225087/ls-magic_1.1_armel.deb

To have it running:
Install deb
Reboot

Saturday, August 21, 2010

SMScon : Control your device with SMS !

Smscon is a n900 complete control utility by sending sms messages to it. This is handy in case you can't find your phone (it's lost or stolen).

Smscon is a two part Python script running in CLI; smscon & smscon_daemon. Smscon is the CLI control part and smscon_daemon is the "running in the background" part.

Smscon can:
  • autoload at boot;
    when device reboots it loads smscon_daemon in the background.
  • creates a log file (on the device)
  • detect SIM card change and sends new phonenumber and IMSI code (return SMS) to other known mobile number;
    if somebody has stolen your phone and put his/hers own SIM card in it.
  • send current GPS location coordinates (return SMS).
  • reboot the phone;
    only works if your SIM hasn't a lock code.
  • shutdown the phone.
  • open a reverse ssh connection to your own server (WLAN/GPRS connection);
    control the device at CLI level from you own home.
  • ftp a frontcam picture to your own server (WLAN/GPRS connection);
    to see where your phone is or who is using it.
  • send the current remaining battery charge (return SMS).
Future ideas:
- record audio (with phone mic) and ftp the file to your own server (WLAN/GPRS connection).

Smscon is triggered by an SMS message with a predefined known command and then will execute the task in the background.

If so it will send a reply SMS with the information.

More info over here !

Monday, April 26, 2010

Zhaan works on the N900! A UPnP Control Point based on GUPnP

Zhaan is a UPnP Control Point based on GUPnP bindings and GObject Introspection and PyGI

Features: +Browse MediaServers for Content +Play Content on a MediaRenderer with a Playlist +Change Volume on a Renderer +Pause/Play/Stop on a Renderer +Next/Previous on a Renderer +Show Renderer Status (Playing, paused etc.) +Show currently rendered media item information (artis, album, title etc.) +Seeking within media



Via : zachgoldberg

Sunday, March 28, 2010

Callnotify : Call, SMS and IM notifier !

Callnotify is a call and SMS notifier that will display a small status bar icon for missed Calls and SMS (and IM in the latest build).

It also displays the number of missed calls and SMS's (up to 5, above 5 it shows "+5").

If both SMS and missed call has been received, the icon blinks between the two kinds without showing the number.



The icon will disappear after closing the yellow notification or viewing the SMS.

Available at Extras-devel and Extras-testing repositories.

Saturday, March 27, 2010

Noor : a small Quran viewer with translator !

Noor is a small Quran viewer written in Python. It also shows the translation of each aya, if specified, right after it.





Available at Extras-devel repository.

Saturday, March 6, 2010

lfocus : Change focus and turn on/off the led while filming a video !

How about a python script using v4l2-ctl that will enable you to change focus and turn on/off the led while filming a video?

Well, m2cm2c over talk.maemo.org has maked the script works while filming video!

It does the following with the N900 keyboard :

q-w led on/off
e-r recording red light on/off
a-s change focus
z turn off the zoom and enable the focus through the zoom buttons
c turn on the zoom and disable the focus through the zoom buttons
d fixes the sudden focus that happens sometimes after pressing the camera button,so press d first then adjust the focus with a and s so you don't get a different focus than the one you got with the camera button.
x terminate script

* remember to always press X on the keyboard when you're done with the script 

Here's a demo video of the script working :




Once you've installed the deb file, you can run the script by clicking on its icon from the applications menu and then start filming !

You can this space for upcoming updates !

Download it !

Sunday, February 28, 2010

Shake to wake : Shake your N900 to open up the screen !

Shake to wake for Nokia N900. Idea from http://maemo.org/community/brainstorm/view/shake_to_wake/

Python script uses acceleration sensors to detect shake, then dbus command to open up the screen. It wont open the screen if proximity sensor says it’s closed. This is to prevent unwanted openings. For example if you have your N900 in your pocket 

You can watch the demo below (i can't embed it, i have no access to youtube, damn google...): http://www.youtube.com/watch?v=RYmJ95rSj-A

Python script is available here

To install, copy script to your phone, /home/user/shake/shake.py and start it by running command :

python shake.py


The author is on a deb-file.

Please note that script is very very resource hungry so it will drain your battery !

Via : iskuri