View Single Post
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#473
Originally Posted by Saturn View Post
It is in the settings of the N900: menu > settings > device lock.

To all, review the settings of your SMSCON with the Editor and activate the one you need and if you care to avoid costs of SMSs that you don't want to be sent.
e.g. in the config proposed in the wiki page my preferences are more relaxed that the ultimate notification proposed by default.

In short, profit from the effort made to make all those adjustable settings and not fixed in the daemon by tuning it to your preferences.

cheers
In upcoming 0.7-1 all user settings in smscon_config file will be defaulted to 'no' when a new smscon_config file will be created.



Here is a preview of smscon_config file for 0.7-1 (in red are the new implementations!)

# SMSCON user settings (v0.7-1)

# SMS number
SENDERNUMBER = '+XXXXXXXXXXX'

# SMS commands
COM_CHECK = 'Sms'
COM_REBOOT = 'Reboot'
COM_POWEROFF = 'Poweroff'
COM_POWER = 'Bat'
COM_LOCATION = 'Gps'
COM_REMOTEON = 'Ssh on'
COM_REMOTEOFF = 'Ssh off'
COM_CAMERA = 'Cam'
COM_CALL = 'Call'
COM_LOCK = 'Lock'
COM_UNLOCK = 'Unlock'
COM_TRACKON = 'Gps on'
COM_TRACKOFF = 'Gps off'
COM_CUSTOM = 'Script'
COM_SHELL = 'uptime >> /tmp/log'

# Email settings
EMAILADDRESS = 'XXXXXXXXXXX'
# (encrypted setting)
USER = 'XXXXXXXXXXX'
# (encrypted setting)
PASSWORD = 'XXXXXXXXXXX'
EMAILFROM = 'XXXXXXXXXXX'
MAILSERVER = 'XXXXXXXXXXX'
MAILPORT = 25

# SSH settings
REMOTEHOST = 'bla'
REMOTEPORT = 22
# (encrypted setting)
REMOTEUSER = 'XXXXXXXXXXX'
# (encrypted setting)
REMOTEPASSWORD = 'XXXXXXXXXXX'

# Send acknowledge SMS
# (send acknowledge SMS after receiving valid SMS command: 'yes' / 'no')
COMMANDREPLY = 'no'

# Detect keyboard use
# (send acknowledge SMS if keyboard is slided: 'yes' / 'no')
KEYBOARDDETECT = 'no'

# Device lock
# (lock device after receiving valid SMS command: 'yes' / 'no')
AUTODEVICELOCK = 'no'

# Auto battery status SMS report
# (sends SMS when SMSCON is set active with a SMS command & battery is depleting: 'yes' / 'no')
AUTOBATREPORT = 'no'


# Auto device unlock
# (Unlocks device when new SIM is inserted; 'yes' / 'no')
SIMUNLOCK = 'no'


# Silence the phone
# (disable all phone sounds when SMSCON is set active with a SMS command: 'yes' / 'no')
SILENCEDEVICE = 'no'


# GPS settings
# (if no GPS coordinates after 600 seconds then stop)
GPSTIMEOUT = 600
# (number of GPS coordinates to acquire and use the most accurate in "Location"-mode)
GPSPOLLING = 3
# (time between sending GPS coordinate SMS in "Trackon"-mode: 10 / 20 / 30 / 60 / 120)
GPSINTERVAL = 60
# (method to send GPS coordinates: 'email' / 'sms' / 'both')
GPSSEND = 'sms'
__________________
SMSCON wiki (tutorial, changelog etc.)
SMSCON package (package information)
SMSCON-editor (GUI editor for SMSCON)

Last edited by digitalvoid; 2010-11-16 at 22:43. Reason: changed release version number
 

The Following 2 Users Say Thank You to digitalvoid For This Useful Post: