maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SMScon (control your device with SMS) (https://talk.maemo.org/showthread.php?t=60729)

waznboi03 2010-12-15 00:25

Re: [Announce] SMScon (control your device with SMS)
 
So does anyone know why my front camera won't take a picture and send email, but will send an email by itself?

ing005 2010-12-15 01:52

Re: [Announce] SMScon (control your device with SMS)
 
configuration file is empty

what should i do ?

Saturn 2010-12-15 07:44

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

Originally Posted by ing005 (Post 897077)
configuration file is empty

what should i do ?

go inthe editir
http://wiki.maemo.org/SMSCON_Editor#...ialisation_tab

and initialise.

How did it become empty?

pstruijk 2010-12-15 09:35

Re: [Announce] SMScon (control your device with SMS)
 
I am using SMSCON Editor 0.7-4 and have the following problem:
I send an message from the contactphone to my N900. At this time the contactphone is still receiving sms messages from my phone. Any one knows ho tot stop this? At this moment I have an :mad: girlfriend at home.. :cool:

ing005 2010-12-15 10:33

Re: [Announce] SMScon (control your device with SMS)
 
i just update smscon and editor when i start smscon editor it says

reading smscon setting gave a fatal error while loading

Configuration file is empty

Torger123 2010-12-15 17:53

Re: [Announce] SMScon (control your device with SMS)
 
when my phone is connected to my wlan it cant send mail. but if its connected to the mobile network it works fine. And have deletet smscon and smscon edit and reinstalled it, but still dont work to send smscommand to it. nothing happens.

Here is the log after sending smscommand:

Nokia-N900-42-11:~# smscon -log
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: SMS message sending is allowed by smscon_daemon
DAEMON INFO: COM_CALL = [tkCall]
DAEMON INFO: COM_CAMERA = [tkCamera]
DAEMON INFO: COM_CHECK = [tkCheck]
DAEMON INFO: COM_CUSTOM = [tkScript]
DAEMON INFO: COM_LOCATION = [tkLocation]
DAEMON INFO: COM_LOCK = [tkLock]
DAEMON INFO: COM_POWER = [tkPower]
DAEMON INFO: COM_POWEROFF = [tkPoweroff]
DAEMON INFO: COM_REBOOT = [tkReboot]
DAEMON INFO: COM_REMOTEOFF = [tkRemoteoff]
DAEMON INFO: COM_REMOTEON = [tkRemoteon]
DAEMON INFO: COM_SHELL = [tkuptime >> /tmp/commandlog]
DAEMON INFO: COM_TRACKOFF = [tkTrackoff]
DAEMON INFO: COM_TRACKON = [tkTrackon]
DAEMON INFO: COM_UNLOCK = [tkUnlock]
DAEMON INFO: reading 1 valid IMSI code from "smscon_code" file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot
DAEMON INFO: stored current WLAN network (Torger)
DAEMON INFO: camera picture acquired
DAEMON INFO: (EMAIL) trying to connect to "mail.klingsheim.org"
Nokia-N900-42-11:~#

zimon 2010-12-15 18:24

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

Originally Posted by Torger123 (Post 897486)
when my phone is connected to my wlan it cant send mail. but if its connected to the mobile network it works fine. And have deletet smscon and smscon edit and reinstalled it, but still dont work to send smscommand to it. nothing happens.
...
DAEMON INFO: stored current WLAN network (Torger)
DAEMON INFO: camera picture acquired
DAEMON INFO: (EMAIL) trying to connect to "mail.klingsheim.org"
Nokia-N900-42-11:~#

Can you send email with an email-application using the same outgoing SMTP-server when connected only to that WLAN-network? I assume not.

SMScon would need a list of smtp-servers (server+user+pass-duples), instead of just one, so in different network connection situations it could try them all before with one of them email sending has succeeded.

For example in my country every operator has its own SMTP-server which you have to use if you want to send email (with SMTP-protocol). They block outgoing 25/tcp traffics to elsewhere. Also they do not allow connections from any other source IP-addresses but from their own. So if the thief do not use the same operator, email settings currently are useless.

Torger123 2010-12-15 18:38

Re: [Announce] SMScon (control your device with SMS)
 
ok:)
i dont care if it dont work on my wlan, if its lost or stolen it will not be connected to my network anyway=) but my problem is that it dont respond on sms commands, have never got smscon to work:\

digitalvoid 2010-12-16 09:05

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

Originally Posted by Torger123 (Post 897486)
when my phone is connected to my wlan it cant send mail. but if its connected to the mobile network it works fine. And have deletet smscon and smscon edit and reinstalled it, but still dont work to send smscommand to it. nothing happens.

Here is the log after sending smscommand:

Nokia-N900-42-11:~# smscon -log
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: SMS message sending is allowed by smscon_daemon
DAEMON INFO: COM_CALL = [tkCall]
DAEMON INFO: COM_CAMERA = [tkCamera]
DAEMON INFO: COM_CHECK = [tkCheck]
DAEMON INFO: COM_CUSTOM = [tkScript]
DAEMON INFO: COM_LOCATION = [tkLocation]
DAEMON INFO: COM_LOCK = [tkLock]
DAEMON INFO: COM_POWER = [tkPower]
DAEMON INFO: COM_POWEROFF = [tkPoweroff]
DAEMON INFO: COM_REBOOT = [tkReboot]
DAEMON INFO: COM_REMOTEOFF = [tkRemoteoff]
DAEMON INFO: COM_REMOTEON = [tkRemoteon]
DAEMON INFO: COM_SHELL = [tkuptime >> /tmp/commandlog]
DAEMON INFO: COM_TRACKOFF = [tkTrackoff]
DAEMON INFO: COM_TRACKON = [tkTrackon]
DAEMON INFO: COM_UNLOCK = [tkUnlock]
DAEMON INFO: reading 1 valid IMSI code from "smscon_code" file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot
DAEMON INFO: stored current WLAN network (Torger)
DAEMON INFO: camera picture acquired
DAEMON INFO: (EMAIL) trying to connect to "mail.klingsheim.org"
Nokia-N900-42-11:~#

The log is incomplete; I'm missing some lines. Didn't you copy all lines?

Torger123 2010-12-16 14:12

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

Originally Posted by digitalvoid (Post 897931)
The log is incomplete; I'm missing some lines. Didn't you copy all lines?

yes i did copy all lines. copy\paste from putty

zimon 2010-12-16 15:32

Re: [Announce] SMScon (control your device with SMS)
 
btw, If you can use scp or sftp or Bluetooth OBEX, you can also transfer the whole log file straight to your PC from root@N900:/tmp/smscon.log

digitalvoid 2010-12-17 09:30

Re: [Announce] SMScon (control your device with SMS)
 
UPDATE NEWS

I pushed release 0.7-2 to the autobuilder including 2 bug fixes...

UPDATE WARNING:
With this release the smscon_config file will not be overwritten with default template when updating from 0.7-1 (please post if this works for you).
When updating from <= 0.5-9 the smscon_config file will be overwritten because of new options in smscon_config file.

digitalvoid 2010-12-17 14:50

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

Originally Posted by digitalvoid (Post 898585)
UPDATE NEWS

.....


UPDATE WARNING:
With this release the smscon_config file will not be overwritten with default template when updating from 0.7-1 (please post if this works for you).
When updating from <= 0.5-9 the smscon_config file will be overwritten because of new options in smscon_config file.

I haven some troubles (again) with the autobuilder, and this above is maybe not implemented in 0.7-2 (let's first see where the autobuilder fails me everytime...).

digitalvoid 2010-12-17 19:57

Re: [Announce] SMScon (control your device with SMS)
 
The autobuilder did accept release 0.7-2 with new update function;

The smscon_config file will not be overwritten with default template when updating from 0.7-1 (please post if this works for you).
When updating from <= 0.5-9 the smscon_config file will be overwritten because of new options in smscon_config file.

joe90bass 2010-12-18 14:31

Re: [Announce] SMScon (control your device with SMS)
 
I just updated to 0.7-4 and had to reinput my settings (inc password). The previous update retained all settings except the password. Stupidly I hadn't made a note of the version I was on before updating....

It's a great app, just hope I never need to use it in anger!

sachin007 2010-12-18 17:04

Re: [Announce] SMScon (control your device with SMS)
 
What if you forget the password? How do you get it back?

digitalvoid 2010-12-18 18:59

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

Originally Posted by joe90bass (Post 899400)
I just updated to 0.7-4 and had to reinput my settings (inc password). The previous update retained all settings except the password. Stupidly I hadn't made a note of the version I was on before updating....

It's a great app, just hope I never need to use it in anger!

You are talking about SMSCON-editor, right?

tmarinos 2010-12-20 00:08

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

Originally Posted by joe90bass (Post 899400)
I just updated to 0.7-4 and had to reinput my settings (inc password). The previous update retained all settings except the password.

The same thing happened to me twice in the last 3 updates.

Why can't it just remember my previous config??? Such a pain!

zimon 2010-12-20 00:19

Re: [Announce] SMScon (control your device with SMS)
 
It would be so logical, that there would be password for SMScon. The same password would be in SMScon-editor. The default password could be that 12345 or "smscon" or anything.
All commands coming from SMS should start with this password. Therefore there wouldn't have to be this "second" password which is now the prefix to SMS-commands settable in smscon-editor.

It would simplify, would make by default more secure, and even would consume less battery energy to check just the first word from SMS against the configured password and then retire or process it further if the password matches. Nowadays more there is SMS-commands recognized, more processing SMScon-daemon has to do with every incoming SMS, although most likely probability that the SMS was meant for SMScon is little in normal situation when the device is not lost or stolen.

Or is there really people who do not set the prefix (the 2nd password) in SMSCon-editor?

Saturn 2010-12-20 02:55

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

Originally Posted by zimon (Post 900209)
It would be so logical, that there would be password for SMScon. The same password would be in SMScon-editor. The default password could be that 12345 or "smscon" or anything.
All commands coming from SMS should start with this password. Therefore there wouldn't have to be this "second" password which is now the prefix to SMS-commands settable in smscon-editor.

It would simplify, would make by default more secure, and even would consume less battery energy to check just the first word from SMS against the configured password and then retire or process it further if the password matches. Nowadays more there is SMS-commands recognized, more processing SMScon-daemon has to do with every incoming SMS, although most likely probability that the SMS was meant for SMScon is little in normal situation when the device is not lost or stolen.

Or is there really people who do not set the prefix (the 2nd password) in SMSCon-editor?

No, it is not a good option. The "new" user will see (thus know) the password as soon as the first message arrives. The benefit from comparing 5 instead of 10 character strings will not make any difference in battery life.

Saturn 2010-12-20 03:05

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

Originally Posted by tmarinos (Post 900202)
The same thing happened to me twice in the last 3 updates.

Why can't it just remember my previous config??? Such a pain!

The application is still under development. It's your choise to test or not development versions. You have been warned that you'll might need to re-enter your settings and I can't see why you are complaining especially when it takes 30 seconds to set up again.

In the end it is us which spent many hours and effort to develop something to give away for free. Where is your support and contribution?

danx 2010-12-20 04:00

Re: [Announce] SMScon (control your device with SMS)
 
hello . i know everyone is getting angry about setting it up again and again . hello its free !!. oh so keep up tbe good work . I have tested it and it works great for me . no complaints here !

BlackDiamond 2010-12-20 11:33

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

Originally Posted by Saturn (Post 894579)
This comes from a problem in the Qt libraries happened a few weeks ago in the repositories. In short, a development version has been wrongly pushed to extras.
It has been fixed in the repositories but the fix cannot be propagated automatically in the N900s affected.

So you need to update your qt4 libraries manually to fix this.
Switch off the devel repo and use the testing repo.

Can you post the output of your:
Code:

dpkg -l *qt4*
dpkg -l python2.5-*

as well as:

Code:

root
apt-get update
apt-get -s upgrade


Sorry, I was in hollidays and couldn't see your message. Anyway, thanks for the information, upgrading with only testing repository activated solved the problem.

zimon 2010-12-20 18:54

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

Originally Posted by Saturn (Post 900243)
(1) No, it is not a good option. The "new" user will see (thus know) the password as soon as the first message arrives.

(2) The benefit from comparing 5 instead of 10 character strings will not make any difference in battery life.

1) You are right about that, I stand corrected. At least as far SMScon is not able to optionally silently grab the SMScon-SMS-messages and not to show on the desktop or signal any normal way SMS has come.

2) There is currently 15 different SMS-commands.
I haven't yet looked at the code, but checking the first word of the income SMS against 15 different strings seems like more processing work than checking it against just one password string. Approximately 15 times more work if done in simple way.

Saturn 2010-12-20 19:50

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

Originally Posted by zimon (Post 900734)
1) You are right about that, I stand corrected. At least as far SMScon is not able to optionally silently grab the SMScon-SMS-messages and not to show on the desktop or signal any normal way SMS has come.

2) There is currently 15 different SMS-commands.
I haven't yet looked at the code, but checking the first word of the income SMS against 15 different strings seems like more processing work than checking it against just one password string. Approximately 15 times more work if done in simple way.

I've tried to do the first option in a special version for you only but it is quite complicated since the actual password is not saved in a readable form anywhere.

Sorry, but keep proposing ideas on more things. It's appreciated.

digitalvoid 2010-12-20 22:21

Re: [Announce] SMScon (control your device with SMS)
 
I know it's a bit annoying to enter all user settings again after every update, that why I tried to make it last when updating from 0.7-1 to 0.7-2, but it seems the code failed (don't no why yet).
Release 0.7-2 was only a bug release so user settings are the same. But if new future options are released the config file has to be deleted & reinitialized with a default template otherwise smscon won't work...


In upcoming release 0.8 I have added a four new user setting (yes, the config file will be deleted again, sorry) and some bugfixes;

1) now users can select if they want to send all reply messages from smscon by SMS or by email (just like all location (GPS) reply messages are selectable by SMS or by email). BUT: when SIM card is changed in phone by non-authorized one, smscon always sends a SMS and no email.

2) resending of reply messages (if no cell reception/data network/whatever) is now user settable in config file.

3) bugfixes in original resending code part in smscon_daemon(would crash when used and/or not work at all)

New options in "smscon_config" file:

Code:

# Method of reply message sending
# (method to send reply messages: 'sms' / 'email')
MESSAGESEND      = 'email'

# Resend message settings
# (method to send reply messages: 'sms' / 'email')
MESSAGESEND      = 'email'
# (enable resending of reply message after 15 minutes if sending fails, until succesfull sending)
ENABLERESEND      = 'yes'
# (resend waiting time in minutes)
RESENDTIME        = 15
# (maximum retries of resending)
MAXRESEND        = 10

@ Saturn: Do you have some spare time to implement this in SMSCON-editor :)?

Saturn 2010-12-21 13:06

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

Originally Posted by digitalvoid (Post 900894)
@ Saturn: Do you have some spare time to implement this in SMSCON-editor :)?

Hi,

I'm away from my PC (for the next couple of weeks) but I will try to set up the environment to add those new options.

I think it is necessary to make the general tab a scrollable list and add them there.

Will send you more (in private) as soon as I have some news.

cheers.

tillt 2010-12-22 12:32

Re: [Announce] SMScon (control your device with SMS)
 
Sometimes a command is not recognized with a certain prefix, but if i change the name of the command (same prefix) OR the prefix (same command name) it is recognized. Maybe check the string comparison or the way sms are stored / read on the device?

Very nice combo, SMScon and SMScon Editor. Thank you very much.

zimon 2010-12-22 15:19

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

Originally Posted by Saturn (Post 900786)
I've tried to do the first option in a special version for you only but it is quite complicated since the actual password is not saved in a readable form anywhere.

Sorry, but keep proposing ideas on more things. It's appreciated.

Currently one can change everything for smscon also editing the config file smscon_config manually anyway without any clear text or hashed password. So, if smscon (daemon) password would be in clear text in the smscon_config, it wouldn't make things worse but actually as said, simplify and make smscon-daemon SMS-command recognition more efficient.

Also if "the new user" sees SMS-messages, knowledgeable user can delete whole smscon whether threre was a real smscon-daemon password or sms-command-prefix, or whatever smscon-editor's password would be, in crypted or in clear text, does not matter. smscon-editor's password only protects against novice new users who do not know what smscon is.

In smscon-editor, "prefix" could be changed to "smscon daemon password".

AlexV12 2010-12-23 22:00

Re: [Announce] SMScon (control your device with SMS)
 
i sent "check" to my phone with a friends phone. However everytime i open the keyboard, he gets a textmessage. How (if my device would be stolen, and if i wanted to turn it off) can i turn of the textmessages??

i can't find a command for this...

Saturn 2010-12-23 22:21

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

Originally Posted by AlexV12 (Post 903103)
i sent "check" to my phone with a friends phone. However everytime i open the keyboard, he gets a textmessage. How (if my device would be stolen, and if i wanted to turn it off) can i turn of the textmessages??

i can't find a command for this...

You have activate it. Press stop and then start. Change also the number since it has been replaced to your friends.

andreas.k 2010-12-24 16:31

Re: [Announce] SMScon (control your device with SMS)
 
i was thinking about a script that whould play music really loud. I am a student and if my phone gets stolen i could easily detect it that way (by paying suddently loud music on the speakers) during the lesson time that it is quiet and the "thieft" whouldnt be able to hide it anymore


whould it be possible to turn of silent mode as well?

zimon 2010-12-24 16:40

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

Originally Posted by andreas.k (Post 903511)
i was thinking about a script that whould play music really loud.

SIRENON
SIRENOFF
yes, could be usefull.

imtiazahmed 2010-12-27 15:06

Re: [Announce] SMScon (control your device with SMS)
 
Guys SmsCon Is Giving Me Password Error What Should i do i ahve uninstalled it and install it again twice but still password error showing incorect passowrd though i am typing correct password anyy way how to help it out

Saturn 2010-12-27 23:20

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

Originally Posted by imtiazahmed (Post 905338)
Guys SmsCon Is Giving Me Password Error What Should i do i ahve uninstalled it and install it again twice but still password error showing incorect passowrd though i am typing correct password anyy way how to help it out

Uninstall the Editor and type in xterm:

Code:

root
rm /opt/smscon-editor/smsconEditorPass

then re-install and the code will be 12345

bobbydoedoe 2010-12-28 05:58

Re: [Announce] SMScon (control your device with SMS)
 
in case you have gmail and can't sent, use this:

Email address: 123@gmail.com
mailserver: smtp.gmail.com
port: 587
username: 123@gmail.com

TiagoTiago 2010-12-28 07:41

Re: [Announce] SMScon (control your device with SMS)
 
What about the password?

Saturn 2010-12-28 11:03

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

Originally Posted by andreas.k (Post 903511)
i was thinking about a script that whould play music really loud. I am a student and if my phone gets stolen i could easily detect it that way (by paying suddently loud music on the speakers) during the lesson time that it is quiet and the "thieft" whouldnt be able to hide it anymore


whould it be possible to turn of silent mode as well?

Geia sou Andrea,

Check this page http://wiki.maemo.org/Phone_control
You'll find all the code you need to put in the script file.

Post back if you need more help.

silviumc 2010-12-28 14:25

Re: [Announce] SMScon (control your device with SMS)
 
I have just installed and configured smscon 0.7-2. It seems that it cannot send SMS no matter what.

DAEMON INFO: received SMSCON command [Camera] from "+407********"
DAEMON INFO: phone was already unlocked
DAEMON ERROR: failed to send SMS to "+407********"
DAEMON ERROR: failed to send SMS to "+407********"

I can send SMS from the phone; I have tested it, the SMS center number is correct. What else should I check?

The other functions work, for example sending mail with picture from front camera.

Marek 2011-01-07 09:15

Re: [Announce] SMScon (control your device with SMS)
 
Basically works OK. Brings really expected feature :)
A few bugs:
- confirm SMS - I get series of 3 the same message of each confirmation
- once sent a command requirring gprs connection (request for locatisation). Now after each reboot the phone starts gprs connection instead of wifi - how to revert preferred network connection?
- unlock command doesn't unlock completely. Phone looks and behaves unlocked, but on phone call I can see "unlock phone" button (pressing this button gives no effect). On reboot the phone in locked. After unlocking by code it return to normal operation (no more "unlock phone" button on phone call)

Marek


All times are GMT. The time now is 05:47.

vBulletin® Version 3.8.8