- Talk - Talk (
-   Applications (
-   -   [Announce] SMScon (control your device with SMS) (

digitalvoid 2010-08-20 07:55

[Announce] SMScon (control your device with SMS)


SMSCON provides complete control of your Nokia N900 device by sending SMS messages to it. This is particularly handy in case you cannot find your phone, for example if it has been lost or stolen.

If you like the application please vote for it.

Before using the application please read the whole wiki of SMSCON.


autoload at boot (this is default set at install of smscon package); when device reboots it loads smscon_daemon silent in the background.
creates a log file (on the device).
detect SIM card change and sends new SIM card phonenumber, IMSI code & telecom operator name to other known mobile number (returns SMS message); if somebody has stolen your phone and put his/hers own SIM card in it.
send current GPS location coordinates (returns SMS message or EMAIL with GoogleMaps picture with your phone's location on it).
reboot the phone; only works if your SIM card hasn't a lock code.
shutdown the phone.
open a (reverse-)SSH connection to your own (home-)server (GPRS connection); control the phone at command-line level from your own home.
email a frontcam picture to your email address (GPRS connection); to maybe see where your phone is or who is using it.
send the current remaining battery charge (returns SMS message).
make the phone call you; you can listen where your phone is (returns phonecall)
lock the phone; nobody can use your phone anymore.
detect keyboardslider use; when somebody has found your phone and uses the keyboard. (only after one of the valid SMS commands is send to you phone) (returns SMS message)
send all valid SMS commands to you if you forgotten it (returns one or more SMS message)
run a predefined shell script to start other programs, delete files etc.
run directly shell command through SMS message sending.
turn the phone silent when SMSCON is set active with a SMS command.
send automatically SMS messages about the current battery status when SMSCON is set active with a SMS command.
use multiple SIM cards (the IMSI numbers are stored in smscon_code file)
play a sound file (only WAV) when SMS command is received (to localize your phone when lost). NEW IN 0.8.1
restart itself by SMS command. NEW IN 0.8.1
send a SMS/email message when it crashes. NEW IN 0.8.1
be triggered (activated) by changing the contents of a file on your own server. NEW IN 0.8.1


droll 2010-08-20 08:05

Re: {Announce] SMScon (control your device with SMS)
wow, not bad. i would guess it would also come in useful when you leave your phone at home. sms it to ask for missed calls, unread sms-es...etc.

AlMehdi 2010-08-20 08:24

Re: {Announce] SMScon (control your device with SMS)
I might test this.. but it would be better if it mailed instead of sending to your own server.

DaSilva 2010-08-20 08:31

Re: {Announce] SMScon (control your device with SMS)
Do you have plans to release it to extras repository?

digitalvoid 2010-08-20 08:46

Re: {Announce] SMScon (control your device with SMS)

Originally Posted by DaSilva (Post 792777)
Do you have plans to release it to extras repository?

No, not at the moment (I don't know how to do this yet).

DaSilva 2010-08-20 08:51

Re: {Announce] SMScon (control your device with SMS)
Because it is only Python you can use

Saturn 2010-08-20 09:56

Re: {Announce] SMScon (control your device with SMS)

nice work. thanks for sharing.

I have installed all dependencies you mention (had to enable extras-devel) and the files in the locations you mention. Have also added the info needed for the password, numbers etc in the demon.

here is the errors I get:

~ $ smscon -start
smscon_daemon started
~ $ Traceback (most recent call last):
  File "/usr/bin/smscon_daemon", line 16, in <module>
    import pexpect
ImportError: No module named pexpect

~ $ smscon -boot
smscon_boot doesn't excist.
Traceback (most recent call last):
  File "/usr/bin/smscon", line 172, in <module>
NameError: name 'f' is not defined
~ $

hope it's useful.

I will be away for the next days - so sorry if I dont follow your replies.

digitalvoid 2010-08-20 10:13

Re: {Announce] SMScon (control your device with SMS)
@ Saturn:

You should also install pexpect (it's not standard in Python environment):

apt-get install pexpect

MohammadAG 2010-08-20 10:17

Re: {Announce] SMScon (control your device with SMS)
Would be nice if you could tie this to phone-control :)
It has more commands than shown in the page, check the script's -h

digitalvoid 2010-08-20 10:24

Re: {Announce] SMScon (control your device with SMS)
@ MohammadAG:

I will look at it. I saw it's also possible to unlock the SIM card by cli, right?

All times are GMT. The time now is 08:15.

vBulletin® Version 3.8.8