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)

digitalvoid 2010-10-04 19:19

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

Originally Posted by NokiaRocks (Post 833190)
I'm using the same gmail adress with the mail client here and its working fine over gprs and wifi.
Tested both (wifi and gprs) with smscon and nothing worked.
Where to find the log file btw ?

Code:

/tmp/smscon.log

NokiaRocks 2010-10-04 20:19

Re: [Announce] SMScon (control your device with SMS)
 
Here's my log, but I'm sure username and pw are correct. Already tried username@googlemail.com and only username.

DAEMON INFO: ---------------------------------------------
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (2620741xxxxxxxxx) from file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot
DAEMON INFO: stored current WLAN network (Home)
DAEMON INFO: (EMAIL) trying to connect to "smtp.googlemail.com"
DAEMON ERROR: (EMAIL) wrong username/password
DAEMON INFO: restoring saved WLAN network (Home)
DAEMON INFO: WLAN network (Home) already connected
DAEMON INFO: internet connection behaviour not used
DAEMON INFO: smscon_daemon has stopped

//edit : Damn xD Forgot 1 letter in my username and the device autocompleted it every time again xD
It's working fine now. Thx 4 help.

Saturn 2010-10-04 21:31

Re: [Announce] SMScon (control your device with SMS)
 
Digitalvoid has already answered most of them so I ll skip some.

Quote:

Originally Posted by Netweaver (Post 833115)
...
- in the command1 tab, automatically a space is added after the prefix when applying to the commands. This doesn't happen on the commands2 screen.

That's not possible. Are you sure about it?

Quote:

- biggest issue for me so far is the fact that the controlling sms'es send from another GSM are visible to the thief. He sees them, he can follow along and will be alarmed right away (I would ...). Can't they not be intercepted ? This might need more hacker like skills. Hopefully someone can chip in.
It has being acknowledged but it is a closed source part. Can only propose to "mask" the command with a phrase that doesn't raise suspicion.

Quote:

- what's the idea of the 'call' command ? It's very obvious to the thief something dodgy is running on his new 'found' toy as all happens 'in the open'. Can it not be done hidden ? And not recorded of course ... I agree, of course, this software would then be possibly used unlawfully as a spying device ... I guess this is then the moral question of 'buying a big knife' to use in the kitchen to filet your fish OR kill your neighbor ...
Again, that's another closed component.

Quote:

some ideas for further releases :

- I vote for a remote wipe command (of the contacts, conversations, and all non-smscon related data/config. Of course we still want smscon to help us track the device, even if it's empty in terms of normal user-level data.
digitalvoid has acknowledged that it's in the todo for the future. I'm curious to see how many of the people asking for this will help us test it :)

Quote:

- hide the smscon-editor in the normal application list. Make it only xterm startable. Use system like names in the App manager list.
It's not necessary. I'm adding password protection for opening it in a few days (need some time to kill a bug).

If you don't want an icon at all, do this as root:

Code:

rm /usr/share/applications/hildon/smscon-editor.desktop
Quote:

- give the smscon process a different name, something more like 'systemd', normal users won't know or suspect anything, in case they ever see something happening, cpu wise. (eg Conky)
It's not shown in conky as it doesn't use that much cpu or mem - it is event driven. You rather need to do "top" or "ps" to find it. The idea is not bad, but it's a little complex if you want to make it have a non fixed name.

Quote:

- I use my N900 in multiple countries, with multiple SIM cards. When I change countries, I put always my country specific SIM card in my N900. And I put my backup SIM card in my backup phone. So I would prefer a list of 'Allowed SIMs', maybe propose auto adding it via the editor.
Will add a delete button for the sim code file in a future version.
Then before you exchange the SIM one can open the editor, press the delete code and the "Unboot". Afterwards, when the phone starts with the new card you'll need to press the "Boot" button.

For most people this would be more than acceptable I guess.

Note also that digitalvoid has already spent a significant amount of effort on this. SMSCON chooses now automatically the GPRS connections which matches the SIM card you're using at the moment.

Quote:

- Same enhancement area, depending on my SIM installed, a specific (changing) Mobile number should be auto informed if an non-authorized SIM is inserted. So some config settings (mainly mobile number, possibly others) should ideally be SIM dependent.
This will be useful only for a very few people but the set-up will confuse all.
Maybe when all stabilise enough we can think of adding multiple profile configuration handling in the editor. That is, keep more than one configurations and provide the user specific options per SIM. That is something that will solve also your previous request.

emortal 2010-10-04 22:13

Re: [Announce] SMScon (control your device with SMS)
 
my sms editor doesn't load up. when i activate the appication it just loads up the terminal. any help greatly appreciated

NokiaRocks 2010-10-04 23:20

Re: [Announce] SMScon (control your device with SMS)
 
The tests are working fine now, but the phone does not answer when sending an sms command.
I simply write an sms with the command in it. Or how should I write the command in the subject line of an sms ?

Saturn 2010-10-05 06:23

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

Originally Posted by emortal (Post 833375)
my sms editor doesn't load up. when i activate the appication it just loads up the terminal. any help greatly appreciated

can you open xterm and type
Code:

/opt/smscon-editor/smscon-editor.py
then copy paste any errors here.

digitalvoid 2010-10-05 15:29

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

Originally Posted by emortal (Post 833375)
my sms editor doesn't load up. when i activate the appication it just loads up the terminal. any help greatly appreciated

You probably using a older version (0.4.4-x). Please remove SMSCON & SMSCON-editor from your device and install latest versions of both (0.5-5).

n900testa 2010-10-05 19:07

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

Originally Posted by NokiaRocks (Post 833397)
The tests are working fine now, but the phone does not answer when sending an sms command.
I simply write an sms with the command in it. Or how should I write the command in the subject line of an sms ?

Unfortunately the same for me too. As with the previous version, the tests are working fine, but it's not working when is send sms commands...

digitalvoid 2010-10-05 19:44

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

Originally Posted by n900testa (Post 834065)
Unfortunately the same for me too. As with the previous version, the tests are working fine, but it's not working when is send sms commands...

Post the log file or send me a email with it (edit out sensitive data for security reasons).

Nokia 5700 2010-10-05 22:31

Re: [Announce] SMScon (control your device with SMS)
 
Heeey, it doesnt work for me either. :/
Hope it gets fixed soon.

Saturn 2010-10-05 22:56

Re: [Announce] SMScon (control your device with SMS)
 
Questions to those that commands not working:

- when you've set the number did you put it in the international format or in the local?
- when you receive normally SMSs is the number of the sender shown in international or local format?
- when you receive the "Location" does your phone switch to GPRS?

Could you also put some info like the log and which command you tried? (me too is not that useful)

Thanks.

EDIT: If you go in the editor in the "Init" tab and press "start" what does the message say?

n900testa 2010-10-06 07:01

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

Originally Posted by Saturn (Post 834271)
Questions to those that commands not working:

- when you've set the number did you put it in the international format or in the local?
- when you receive normally SMSs is the number of the sender shown in international or local format?
- when you receive the "Location" does your phone switch to GPRS?

Could you also put some info like the log and which command you tried? (me too is not that useful)

Thanks.

EDIT: If you go in the editor in the "Init" tab and press "start" what does the message say?

- Tried with international and local number format
- Unknown numbers (not in address book) from normal SMSs are shown in international format
- Nope, does not do anything. In the log you can see that it doesn't recognize the commands - otherwise i guess that the log would say something like "Received Location Command"

Here's my log info:
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (xxxxxxxxxxxx) from file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot
DAEMON INFO: stored current NONE network (NONE)
DAEMON INFO: connecting to GPRS network (o2 Internet)
DAEMON INFO: GPRS network (o2 Internet) connection successfull
DAEMON INFO: internet connection behaviour set to "GPRS"
DAEMON INFO: (EMAIL) trying to connect to "xyz.xyz.xyz"
DAEMON INFO: send test email1 message to "xyz@xyz.xyz"
DAEMON INFO: (EMAIL) mailserver connection closed
DAEMON INFO: current network disconnected
DAEMON INFO: internet connection behaviour set to "WLAN"
DAEMON INFO: smscon_daemon has stopped
SMSCON INFO: smscon_daemon was not running (05-10-2010 21:01:48)
SMSCON INFO: smscon_daemon is running (05-10-2010 21:01:49)

In the init tab it says that "smscon_daemon is already active" as well as "smscon_boot is already active".

Could it be that the conversation inbox desktop widget somehow interferes with the messages? or maybe some other application?Since the tests are working fine, i guess that there is a problem with the recognition of the SMSs...?!?

thx for the support :o

digitalvoid 2010-10-06 07:26

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

Originally Posted by n900testa (Post 834466)
- Tried with international and local number format
- Unknown numbers (not in address book) from normal SMSs are shown in international format
- Nope, does not do anything. In the log you can see that it doesn't recognize the commands - otherwise i guess that the log would say something like "Received Location Command"

Here's my log info:
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (xxxxxxxxxxxx) from file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot
DAEMON INFO: stored current NONE network (NONE)
DAEMON INFO: connecting to GPRS network (o2 Internet)
DAEMON INFO: GPRS network (o2 Internet) connection successfull
DAEMON INFO: internet connection behaviour set to "GPRS"
DAEMON INFO: (EMAIL) trying to connect to "xyz.xyz.xyz"
DAEMON INFO: send test email1 message to "xyz@xyz.xyz"
DAEMON INFO: (EMAIL) mailserver connection closed
DAEMON INFO: current network disconnected
DAEMON INFO: internet connection behaviour set to "WLAN"
DAEMON INFO: smscon_daemon has stopped
SMSCON INFO: smscon_daemon was not running (05-10-2010 21:01:48)
SMSCON INFO: smscon_daemon is running (05-10-2010 21:01:49)

In the init tab it says that "smscon_daemon is already active" as well as "smscon_boot is already active".

Could it be that the conversation inbox desktop widget somehow interferes with the messages? or maybe some other application?Since the tests are working fine, i guess that there is a problem with the recognition of the SMSs...?!?

thx for the support :o

The log indicates that SMSCON was started with sending a test email (test button function in SMSCON editor pressed), switched to network (GPRS), sended succesfully the test email and SMSCON stopped. Then you stopped it by pressing stop again & then you started it again. Did you after this send a SMS message with the right command to you phone? The log above must show more after the last line you copied.

Have you installed last version (0.5-5) for SMSCON & SMSCON -editor?

n900testa 2010-10-06 08:04

Re: [Announce] SMScon (control your device with SMS)
 
Yep i purged (apt-get remove --purge smscon, apt-get remove --purge smscon-editor) everything and reinstalled the new versions.... Before i sent the sms commands, i checked whether smscon is running (smscon -status).

After these loglines there was only one --------- line and then the first four lines again b/c i rebooted the n900 to test it again.
Here are the missing lines:
DAEMON INFO: ---------------------------------------------
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (xxxxxxxxxxxxxxxxxx) from file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot

digitalvoid 2010-10-06 09:21

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

Looks ok to me.

How do you send the SMS command? Is there maybe a 'return' character added to the command text?

n900testa 2010-10-06 15:04

Re: [Announce] SMScon (control your device with SMS)
 
No spaces, no new lines, only the command. I also checked the command SMSs that i received that nothing is added automatically.

PontusOhman 2010-10-06 16:41

Re: [Announce] SMScon (control your device with SMS)
 
Edit: A tip for a new release should be that the password under the email settings would be ******, now there are clear text and a kind of security risk...

digitalvoid 2010-10-06 17:19

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

Originally Posted by PontusOhman (Post 834879)
Edit: A tip for a new release should be that the password under the email settings would be ******, now there are clear text and a kind of security risk...

Next release of SMSCON-editor will be password protected (so nobody but you can see the settings). Due to bug in last release it isn't working yet. Saturn will fix this.

PontusOhman 2010-10-06 18:45

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

Originally Posted by digitalvoid (Post 834900)
Next release of SMSCON-editor will be password protected (so nobody but you can see the settings). Due to bug in last release it isn't working yet. Saturn will fix this.

Sounds good :)

And now I will share the good stuffs:
The app is working perfect here in Sweden, have two N900 and booth are using Telia (Swedens largest).

If you ever wants your app to be translated in the future, then send me a PM. I will be glad to translate it to Swedish ;D

Saturn 2010-10-07 16:54

Re: [Announce] SMScon (control your device with SMS)
 
Find the new version of the SMSCON Editor v. 0.6-0 in extras-devel
http://maemo.org/packages/view/smscon-editor/

This version among the other changes brings password protection in opening the editor application.
On the first use use the password 12345 to open, then you can change it if you want.

Since there are plenty of changes I would not propose to all users updating just yet. Please let few power-users to test it first. After we get some feedback, and all look good, we'll promote to extras- testing.

Cumulative updates since the previous version:
* Added password protection for opening the GUI (default password = 12345).
* Added two new dialog windows (to enter and change the password respectively).
* Added new initialisation command to delete the application stored IMSI number.
* Added new initialisation command to delete the configuration stored.
* New sudoers file to include two scripts for handling operations that need root priviledges.
* Removed indirect dependency to rootsh package (i.e. use of root)
* Changed password fields in email and ssh settings to be hidden.
* Changed priviledges for supporting files to be more restrictive.

Some more information/screenshots in the wiki page of SMSCON Editor (not just yet; most probably will update it tomorrow)

dragly 2010-10-07 17:56

Re: [Announce] SMScon (control your device with SMS)
 
First of all; thanks for the great effort you guys are putting into this app! :)

I needed to reflash my device the other day and decided to give SMSCON another try (after having some trouble the last time).

With the new v0.6.0 of SMSCON Editor I'm having some trouble initializing. The commands for reset and del config seems to work fine (return no errors), but the initialize command causes the editor to hang and never close. I have to force closing it. Do you have any ideas why this happens?

dragly 2010-10-07 18:18

Re: [Announce] SMScon (control your device with SMS)
 
Here is another try. I initialized a new file using
Code:

smscon -init
Afterwards, I edited the smscon_config file manually and added my phone number. Now the "test sms" function works, but sending an SMS to myself does nothing (other than that I recieve the SMS of course).

The output of the log is this:
Code:

DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (xxxxxxxxxxxx) from file
DAEMON INFO: authorized IMSI code found
DAEMON INFO: smscon auto-loads at boot

This is the log from the time I didn't use the "test sms" command.

When I used the "test sms" command, the log was the same, except for the following two lines at the end:
Code:

DAEMON INFO: send SMS message test to "****"
DAEMON INFO: smscon_daemon stopped

Starting the daemon again and attempting to send "Check" to my cell phone number did not help.

Edit: I'm also unable to edit settings using the SMSCON Editor. I tried chown'ing the smscon_config file, but it didn't help.

Saturn 2010-10-07 19:26

Re: [Announce] SMScon (control your device with SMS)
 
Hi dragly,

Thanks for your tests. Are you testing with the devel version?

Could you try as root and post the results:
Code:

cat /etc/sudoers|grep smscon*
ls -al /opt/smscon*
ls -al /home/user/.smscon*

Be aware that after a test the daemon stops and you need to restart it. Just press "Start" from the init tab.

You could also start the editor from the xterm to check if there are any messages when you press "Update config" with the following (execute as user):
Code:

/opt/smscon-editor/smscon-editor

dragly 2010-10-07 20:37

Re: [Announce] SMScon (control your device with SMS)
 
Hi Saturn,

No problem. Just glad to help. The app is truly a great idea :)

I'm testing the devel version, yes.

Here are the command outputs:
Code:

Nokia-N900:~# cat /etc/sudoers|grep smscon*
user ALL = NOPASSWD: /opt/smscon-editor/smsconEditorCopyConfig, /opt/smscon-editor/smsconEditorCreatePass *
user ALL = NOPASSWD: /opt/smscon/smscon

Code:

Nokia-N900:~# ls -al /opt/smscon*
/opt/smscon:
drwxr-xr-x    2 root    root        4096 Oct  7 20:00 .
drwxr-xr-x  28 root    root        4096 Oct  7 19:35 ..
-rwxr-xr-x    1 root    root        14636 Oct  3 13:53 smscon
-rw-r--r--    1 root    root          15 Oct  7 20:00 smscon_code
-rw-r--r--    1 user    users        1721 Oct  7 20:02 smscon_config
-rwxr-xr-x    1 root    root        75515 Oct  3 13:53 smscon_daemon

/opt/smscon-editor:
drwxr-xr-x    2 root    root        4096 Oct  7 19:35 .
drwxr-xr-x  28 root    root        4096 Oct  7 19:35 ..
-rwxr-xr-x    1 root    root          128 Oct  7 17:48 smscon-editor
-rw-r--r--    1 root    root        1968 Oct  7 17:48 smsconEditorAskPass.py
-rwxr-----    1 root    root          78 Oct  7 17:48 smsconEditorCopyConfig
-rwxr-----    1 root    root          31 Oct  7 17:48 smsconEditorCreatePass
-rw-r--r--    1 root    root        36474 Oct  7 17:48 smsconEditorMain.py
-rw-r--r--    1 root    root        76571 Oct  7 17:48 smsconEditorMainGUI.py
-rw-r--r--    1 root    root        2030 Oct  7 17:48 smsconEditorNewPass.py
-rw-r--r--    1 root    root          36 Oct  7 17:48 smsconEditorPass

Code:

Nokia-N900:~# ls -al /home/user/.smscon*
drwxr-xr-x    2 user    users        4096 Oct  7 19:42 .
drwxr-xr-x  122 user    users      12288 Oct  7 19:42 ..

Running smscon-editor from terminal and clicking "Update Settings" gives the following output:
Code:

Nokia-N900:~/.smscon-editor$ /opt/smscon-editor/smscon-editor
Traceback (most recent call last):
  File "/opt/smscon-editor/smsconEditorMain.py", line 484, in doCreateConfigGeneral
    os.rename( Path + ConfigFile, Path + ConfigFile + "~" )
OSError: [Errno 2] No such file or directory

So something is apparently not working properly. I do get a message telling me that the config file was loaded successfully to begin with, though.

dragly 2010-10-07 22:10

Re: [Announce] SMScon (control your device with SMS)
 
The following did the trick to make the editor work as expected again. Maybe you should add a check to see if the file exists in the user-directory?
Code:

cp /opt/smscon/smscon_config /home/user/.smscon-editor/
However, I'm still not getting any reply when I send the message "Check" to the device. Sending test messages works, so it appears like it just doesn't respond to received messages.

The log from my last run was this:
Code:

Nokia-N900:~# smscon -log
DAEMON INFO: ---------------------------------------------
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (***) from file
DAEMON INFO: authorized IMSI code found
DAEMON WARNING: smscon doesn't load at boot
DAEMON INFO: send SMS message test to "***"
DAEMON INFO: smscon_daemon has stopped
SMSCON INFO: smscon_daemon is running (07-10-2010 22:55:15)
DAEMON INFO: ---------------------------------------------
DAEMON INFO: successfully loaded "smscon_config" file
DAEMON INFO: reading valid IMSI code (***) from file
DAEMON INFO: authorized IMSI code found
DAEMON WARNING: smscon doesn't load at boot

No indication of received messages.

Saturn 2010-10-07 22:27

Re: [Announce] SMScon (control your device with SMS)
 
Hi dragly,

Thanks for the report. It made me realise that first time users had a chicken-egg problem.

Made changes in a couple of places to check for the missing files (for first time users or those manually deleted for some reason).

A new version has been uploaded in devel, please check when/if you have time.

Cheers

EDIT: Oh, I see you realised the problem already..

Saturn 2010-10-07 22:38

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

Originally Posted by dragly (Post 835828)
...
However, I'm still not getting any reply when I send the message "Check" to the device. Sending test messages works, so it appears like it just doesn't respond to received messages.
...

Are you in the States or basically .. outside Europe? (just shooting in the dark!)

There is a set of users that seems to have this problem and we are not able to understand the relation. It might be the operator that sends the message in a specific way or an application that interferes with the dbus signal. (?)

Most probably digitalvoid (who wrote that part) has better chances to understand more.

dragly 2010-10-07 23:08

Re: [Announce] SMScon (control your device with SMS)
 
The new version worked flawlessly. I did a full purge and removed all setting files to test it.

Quote:

Are you in the States or basically .. outside Europe? (just shooting in the dark!)
Nope, I'm in Norway. I think it could have something to with the DBus as I had the exact same problem when I was trying to create an application in Qt which listened for incoming SMS messages using Qt Mobility. Asking in the Nokia Forums didn't result in any replies on the issue.

The strange thing, though, is that I flashed the device yesterday. So if DBus is the case, I must have reinstalled an application or reverted some config files which have messed up DBus again.

I would really like to help debugging this. It annoys me that I can't figure out what's wrong and I don't know where to look. And I would love to have SMSCON up and running :)

zimon 2010-10-07 23:11

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

Originally Posted by dragly (Post 835828)
Code:

cp /opt/smscon/smscon_config /home/user/.smscon-editor/

I had to make that trick also to get smscon_editor working.

btw, Prefix for Commands1 and Commands2 can be different, it seems. It could be seen as a feature, but I'd rather like to have only one prefix and place for it for all commands. Oh well, a very minor thing.
There seems to be space available only for 3 more new commands and then you are out of space. So maybe just one "Commands" with a vertical scroll.

Still I'd recommend to have separate password which MUST start the SMS command or smscon_daemon won't parse SMS any futher. Initially could be "smscon". In this way also few CPU cycles are saved every time SMS comes to the phone, because smscon can check only first word against one string and then either process futher or ignore it.

SMSCON_editor's icon goes to All-folder when Catorize is installed. Is this intentional (more hidden) or should it go to System-folder?
Edit: noticed later it goes to Network-folder.

Great work guys!

Edit:
One feature request: A wget supported URI (for example http-address) which is polled in selectable time periods for SMSCON commands, one per line.
If wget is not installed (not in /usr/bin) then ignore this setting.
(Or write HTTP/HTTPS/FTP support with Python.)

Use case for this:
You have a home web page or http-server where you can store TXT-files. When phone is stolen, you go to the nearest netcafe and put suitable text file to the http-server. If smscon_daemon gets the text file, when it next time polls the URI, it will process it line by line like every line would be a SMS.
Also maybe support for parsing out HTML-tags if one is only able to export html-files to the web page.

jakiman 2010-10-08 06:21

Re: [Announce] SMScon (control your device with SMS)
 
What an awesome app. I have just one question:

Can you change the specified mobile number via SMS also?
Coz what happens the specified phone number isn't available at the time?

I would like to be able to remotely change the phone number that it contacts for call&sms by sending it some specific sms with the number.

Such as:

ChangeNumber +XXXXXXXXX

Is this possible?

n900testa 2010-10-08 07:17

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

Originally Posted by dragly (Post 835858)
The new version worked flawlessly. I did a full purge and removed all setting files to test it.

Nope, I'm in Norway. I think it could have something to with the DBus as I had the exact same problem when I was trying to create an application in Qt which listened for incoming SMS messages using Qt Mobility. Asking in the Nokia Forums didn't result in any replies on the issue.

The strange thing, though, is that I flashed the device yesterday. So if DBus is the case, I must have reinstalled an application or reverted some config files which have messed up DBus again.

I would really like to help debugging this. It annoys me that I can't figure out what's wrong and I don't know where to look. And I would love to have SMSCON up and running :)


Quote:

Originally Posted by Saturn
It might be the operator that sends the message in a specific way or an application that interferes with the dbus signal.

I'm from inside Europe as well (Germany) using o2. On the weekend i will try to get my hands on another operator's SIMcard (Vodafone or TMobile) for my n900 to check whether it is an operator problem (i guess that it isn't - but i'll report back).
I would also like to help troubleshooting this, since i'd love to use this app and it looks like more people are (starting) to have the same problem.
Maybe someone could tell which "(non)standard" applications or which type of applications make use of the DBus, so i/we could check whether the problem is somehow related to a certain app that the people, where SMSCON doesn't work, have installed. ...just and idea...

PontusOhman 2010-10-08 07:28

Re: [Announce] SMScon (control your device with SMS)
 
Is this a bug or WHAT?!

A workmate to me send me a sms with "coffee" and my phone reply back with this to his cellphone:

-Keyboad-
Phone is being used:
keyboard is open.

Why the heck did my phone send SMSCON status to his phone? Tried with my own phone and send a similiar sms to my phone and got the same respons =/

Cheers
Pontus

digitalvoid 2010-10-08 07:53

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

Originally Posted by jakiman (Post 836016)
What an awesome app. I have just one question:

Can you change the specified mobile number via SMS also?
Coz what happens the specified phone number isn't available at the time?


I would like to be able to remotely change the phone number that it contacts for call&sms by sending it some specific sms with the number.

Such as:

ChangeNumber +XXXXXXXXX

Is this possible?

If you use another phone number (different to initially stored number in user settings) to send the SMS command with, SMSCON always sends the reply to the phone you used to send the command with.
And then the new phone number is stored in the user settings.

But:

Only if SMSCON has never been activated and SIM card has been changed it uses the phone number you stored in the user settings file.

digitalvoid 2010-10-08 08:05

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

Originally Posted by PontusOhman (Post 836048)
Is this a bug or WHAT?!

A workmate to me send me a sms with "coffee" and my phone reply back with this to his cellphone:

-Keyboad-
Phone is being used:
keyboard is open.

Why the heck did my phone send SMSCON status to his phone? Tried with my own phone and send a similiar sms to my phone and got the same respons =/

Cheers
Pontus

The only possible reason I can think of SMSCON is doing this is because SMSCON was activated earlier in time. Maybe you used your workmates phone to activate it (his number in then stored in the user settings file)?

And your workmate send you later a SMS message ("coffee") and you opened your keyboard to respond and SMSCON detected this and send the reply ("keyboerd is open") to your workmate...

PontusOhman 2010-10-08 08:19

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

Originally Posted by digitalvoid (Post 836084)
The only possible reason I can think of SMSCON is doing this is because SMSCON was activated earlier in time. Maybe you used your workmates phone to activate it (his number in then stored in the user settings file)?

And your workmate send you later a SMS message ("coffee") and you opened your keyboard to respond and SMSCON detected this and send the reply ("keyboerd is open") to your workmate...

The SMSCON was activated earlier, but not with his phonenumber. He only send me a SMS with "Coffee" because he was on the other end of the building, and then he asked me what the heck I send to him :p

The version of the SMSCON Ediditor is 0.5.5 but I will purge it now and update it to the newer version =)

digitalvoid 2010-10-08 10:10

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

Originally Posted by PontusOhman (Post 836095)
The SMSCON was activated earlier, but not with his phonenumber. He only send me a SMS with "Coffee" because he was on the other end of the building, and then he asked me what the heck I send to him :p

The version of the SMSCON Ediditor is 0.5.5 but I will purge it now and update it to the newer version =)

Interesting case, I think I know why this is happening (so it might indeed be a bug!)

Could you change this in the /opt/smscon/smscon_daemon script:

Code:

def KEYBOARDslider(Action, Type):
    """
    Check state change of keyboard slider.
    """

    if EnableKeyboardDetect == True:
        # keyboard slider: 'open to closed' state or 'closed to open' state
        KeyState = os.popen('cat /sys/devices/platform/gpio-switch/slide/state').read().strip('\n')
        if KeyState == 'closed' or KeyState == 'open':
            SMSsend(SenderNumber,
                    'NOKIA N900\n' + \
                    '%s\n' % GetTime() + \
                    '-Keyboard-\n' + \
                    'Phone is being used:\n' + \
                    'keyboard is %s.' % KeyState,
                    'send SMS message keyboardslider used to')

Change SenderNumber to SENDERNUMBER.

When SMSCON is activated (by a valid SMS command) and option KEYBOARDDETECT = 'yes' and another SMS is send (without a valid SMS command), the keyboard detect function uses the number from the latest SMS. (I think, not fully sure)

PontusOhman 2010-10-08 13:16

Re: [Announce] SMScon (control your device with SMS)
 
Will reply back if it occur again :)

But, how to change the password from 12345 on the new release to my own password?

Cheers
Pontus

MasterZap 2010-10-08 13:21

Re: [Announce] SMScon (control your device with SMS)
 
Could SMSCon do something to try to boost the lightin of the front camera? E.g. try something similar to this command:

Code:

gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2 ! autovideosink
/Z

digitalvoid 2010-10-08 13:36

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

Originally Posted by MasterZap (Post 836370)
Could SMSCon do something to try to boost the lightin of the front camera? E.g. try something similar to this command:

Code:

gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2 ! autovideosink
/Z

Tried it already, videobalance only works for video recording.

Saturn 2010-10-08 13:47

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

Originally Posted by PontusOhman (Post 836360)
Will reply back if it occur again :)

But, how to change the password from 12345 on the new release to my own password?

Cheers
Pontus

Hi,

After opening the editor pressing on the top (where it writes "SMSCON Configuration" will give you a drop-down menu. There you'll find the option "Change Password"

Maybe tomorrow, I will add some screenshots in the wiki.

Cheers.


All times are GMT. The time now is 23:17.

vBulletin® Version 3.8.8