Notices


Reply
Thread Tools
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#471
Originally Posted by grog View Post
Sorry for the seemingly dumb question , but where can we change this code? I can't spot it in the SMScon editor nor in it's config file. TX
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
 

The Following 2 Users Say Thank You to Saturn For This Useful Post:
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#472
@ Grog:

Under Nokia menu: Settings --> Device lock

(the setting of the lock code has nothing to do with smscon)

(Ha, Saturn was first!)
__________________
SMSCON wiki (tutorial, changelog etc.)
SMSCON package (package information)
SMSCON-editor (GUI editor for SMSCON)
 

The Following User Says Thank You to digitalvoid For This Useful 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:
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#474
@Digitalvoid

Great, just I would pump up the version since there is no backwards compatibility.
If you don't mind jump to 0.7-x so that we sync.
 
Posts: 200 | Thanked: 300 times | Joined on Nov 2009 @ The Netherlands
#475
Originally Posted by Saturn View Post
@Digitalvoid

Great, just I would pump up the version since there is no backwards compatibility.
If you don't mind jump to 0.7-x so that we sync.
Ok, next release will have version number 0.7-1.
__________________
SMSCON wiki (tutorial, changelog etc.)
SMSCON package (package information)
SMSCON-editor (GUI editor for SMSCON)
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#476
Originally Posted by digitalvoid View Post
@ Grog:

Under Nokia menu: Settings --> Device lock

(the setting of the lock code has nothing to do with smscon)

(Ha, Saturn was first!)
Thanks for the replies & sorry for my own missplaced question, but I was instead wondering how to change SMScon's own password, not the device's lock code. Or is that one & the same? TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#477
Originally Posted by grog View Post
Thanks for the replies & sorry for my own missplaced question, but I was instead wondering how to change SMScon's own password, not the device's lock code. Or is that one & the same? TX
I assume you mean the password to open the SMSCON Editor.
If that's the case, it is the change password button.

cheers.
 

The Following User Says Thank You to Saturn For This Useful Post:
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#478
Originally Posted by Saturn View Post
I assume you mean the password to open the SMSCON Editor.
If that's the case, it is the change password button.

cheers.
Now I feel really foolish . I searched around all the settigs tabs but never thought to look for a drop down menu as well.

TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#479
I haven't followed this thread a while, so maybe someone has already suggested this; but it would be useful to have multiple smtp-servers configured optionally to the settings.

For example, in my country there is basically just three GSM operators which all have their own smtp-servers, which allow only send email if you come from their own network.
So, if the phone is stolen and used in my country, pretty likely the new SIM card will be connected one of the 3 networks, so having all three different smtp-servers configured would be a good thing.
smscon would just try all the smtp servers in the configuration until with one of them it succeeds to send the email.

(And I still think, smscon should have separate SMS password which is used to check quickly and battery efficiently if the income SMS message is meant for smscon; if the first word in sms is the password, process futher, otherwise stop there. Would also simplify things in smscon-editor alot.)
 
Posts: 3 | Thanked: 0 times | Joined on Nov 2010
#480
Hi everobody.

Can somebody to help me? I have PR 1.3 with smscon 0.5.9 and smscon-editor 0.6.3. All test is working fine, bud don't make any action after receive sms with trigger commnad text. After receive sms is nothing to change in smscon log. Simulate incomming sms is succesfull smscon -test2 "<SMSCON command>", bud real receive trigger by sms no ;(. Please help me...
Thanks

Last edited by vladimiro; 2010-11-18 at 17:37.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:28.