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)

Saturn 2010-11-18 18:42

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

Originally Posted by vladimiro (Post 876925)
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

Did you try any other command; do they work?

vladimiro 2010-11-19 07:25

Re: [Announce] SMScon (control your device with SMS)
 
Hi,
Yes, I tried some command (Power, Location, Camera, Call), but it didn't make any action. Also nothing to changed in smscon log. A tried reinstall, remove, reset from console, reconfigure,.. but nothing helped me :(.

ossipena 2010-11-21 13:44

Re: [Announce] SMScon (control your device with SMS)
 
I am having similar problems. tried with 3 different numbers etc.

does smscon btw mind from which number the sms command is from?

Saturn 2010-11-21 18:16

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

Originally Posted by ossipena (Post 879459)
I am having similar problems. tried with 3 different numbers etc.

does smscon btw mind from which number the sms command is from?

The number is not checked. If the command is valid, i.e. matches what has been defined, then it is executed.

Stupid question, but did you check that it is running?

There were some more people mentioning that it didn't work for them but we didn't manage to understand if it is another program intercepting/changing the dbus signals or it is something else.

We have excluded basic stuff like differences between European and US networks and seemed to be more like userspace problem but nothing like a breakthrough.

digitalvoid 2010-11-21 19:29

Re: [Announce] SMScon (control your device with SMS)
 
I have never experienced this problem myself. Some users have.

Smscon uses Dbus to detect a receiving SMS message and compares the message text with the predifine texts (AKA commands). If not the same smscon doesn't do anything else in the background. It's all a fairly basic & simple approach, which should interfere with other installed software I think.

Slight delay for new version release (0.7-1). I will send Saturn tomorrow the new user settings/commands to implement (if he has time to do it).

winmik 2010-11-21 21:15

Re: [Announce] SMScon (control your device with SMS)
 
I recently installed, works fine but I have a big problem:

it makes my n900 keep connecting to an "MMS" gprs connection, no matter how many times I disconnect it. This is a problem beacause:

a. i think additional charges might occur (this connection is different from the one I use for using my data plan...)
b. it is always connected draining battery without reason, and I have to disconnect/connect again every time I want to do something online.

I tried stopping process from smscon-editor, restarting, uninstalling + reinstalling. I even uninstalled completely and it keeps connecting to the MMS profile. I cannot delete this from the internet connections from phone settings. The only way is to keep my data plan connection open, but I do not want to (battery problems then...)

What can i do? Any idea would be helpful...

Saturn 2010-11-21 21:32

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

Originally Posted by winmik (Post 879801)
I recently installed, works fine but I have a big problem:

it makes my n900 keep connecting to an "MMS" gprs connection, no matter how many times I disconnect it. This is a problem beacause:

a. i think additional charges might occur (this connection is different from the one I use for using my data plan...)
b. it is always connected draining battery without reason, and I have to disconnect/connect again every time I want to do something online.

I tried stopping process from smscon-editor, restarting, uninstalling + reinstalling. I even uninstalled completely and it keeps connecting to the MMS profile. I cannot delete this from the internet connections from phone settings. The only way is to keep my data plan connection open, but I do not want to (battery problems then...)

What can i do? Any idea would be helpful...

Did you install fMMS?
I think that one was making a connection profile which was hidden.
If that is true, and you are not using it ask in one of the threads about it on how to remove it.

What is your Internet connection settings?
Check that if you need to switch it to "always ask" or "manual" - don't know what you prefer.

winmik 2010-11-21 21:45

Re: [Announce] SMScon (control your device with SMS)
 
I had fMMS installed for a long time now, without having this specific problem. Since I do not use it that much, I just uninstalled it to see what happens now.

I did not understand well the last part of your message though... Up to now, I always initiated whatever connection (wifi or gprs) manually, not automatically.

Saturn 2010-11-21 21:48

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

Originally Posted by winmik (Post 879817)
I did not understand well the last part of your message though... Up to now, I always initiated whatever connection (wifi or gprs) manually, not automatically.

Go to Menu > Settings > Internet connections

A menu will pop, first thing writes "connect automatically" and next to it is an option.
Choose the one that fits to your needs.

winmik 2010-11-21 21:53

Re: [Announce] SMScon (control your device with SMS)
 
Yes, I know, that setting is set to "always ask".

Anyway, I think it has stopped connecting to MMs on its own know, so (hopefully) problem solved... Thanx!

handaxe 2010-11-21 22:07

Re: [Announce] SMScon (control your device with SMS)
 
I see the same issue as winmik reported and I don't want to remove fmms. I use "always ask". The connection made at the sms receipt is GPRS data but thereafter, using the IP connect desktop widget the connection automatically goes to mms. It seems that "always ask" is unset by smscon and there is no reset.

I would prefer a choice 1) to keep the gprs connection up after receving for eg "Location" or 2) to reset after receiving and responding to eg "Location" to whatever was the case before.

ossipena 2010-11-22 07:16

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

Originally Posted by Saturn (Post 879674)
The number is not checked. If the command is valid, i.e. matches what has been defined, then it is executed.

Stupid question, but did you check that it is running?

There were some more people mentioning that it didn't work for them but we didn't manage to understand if it is another program intercepting/changing the dbus signals or it is something else.

We have excluded basic stuff like differences between European and US networks and seemed to be more like userspace problem but nothing like a breakthrough.

the reason could be found in the logs:

for some reason the daemon stops between sending the test sms with smscon editor and closing the editor. (it is between those two with 90% certainty)

as soon as I manually restarted the daemon from command line, everything started to work normally.

digitalvoid 2010-11-22 13:35

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

The daemon always stops after a test command, this is intended behaviour (the test mode were originally only for development purposes).

dattadude 2010-11-22 16:31

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

this app makes the n900 even more perfect. .

thks for all the hard wrk developers!

had a request. .

if i lock my device through an sms the phone keeps sending sms s to the defined no.!!!

im usin the sms editor. . (noob type here)

even if i deselect the send msg reply n send sms on keyboard use still same behaviour!!!

is there ny fix for this or should i wait 4 an update!!!

thks in advance!

digitalvoid 2010-11-22 19:17

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

Originally Posted by winmik (Post 879824)
Yes, I know, that setting is set to "always ask".

Anyway, I think it has stopped connecting to MMs on its own know, so (hopefully) problem solved... Thanx!

For smscon to work properly, the setting should be "Connect automatically". I know this is against some people's wishes, but otherwise it won't work.

digitalvoid 2010-11-22 19:21

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

Originally Posted by winmik (Post 879801)
I recently installed, works fine but I have a big problem:

it makes my n900 keep connecting to an "MMS" gprs connection, no matter how many times I disconnect it. This is a problem because:

a. i think additional charges might occur (this connection is different from the one I use for using my data plan...)
b. it is always connected draining battery without reason, and I have to disconnect/connect again every time I want to do something online.

.....

What can i do? Any idea would be helpful...

In 0.5-9 I added some code to *not select* any MMS or WAP data connections, but I can't test this myself. Maybe fMMS is in some way interfering smscon...

digitalvoid 2010-11-22 19:27

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

Originally Posted by handaxe (Post 879832)
I see the same issue as winmik reported and I don't want to remove fmms. I use "always ask". The connection made at the sms receipt is GPRS data but thereafter, using the IP connect desktop widget the connection automatically goes to mms. It seems that "always ask" is unset by smscon and there is no reset.

I would prefer a choice 1) to keep the gprs connection up after receving for eg "Location" or 2) to reset after receiving and responding to eg "Location" to whatever was the case before.

The sole purpose of smscon is to maximize the possibility to get your phone back in case of losing or theft. For this smscon has to set it to 'Connect auomatically' otherwise it can't connect; 'Always ask' needs a user intervention which ofcourse is impossible when phone is lying somewhere on the ground or somewhere else...

digitalvoid 2010-11-22 19:38

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

Originally Posted by dattadude (Post 880390)
hey guys

this app makes the n900 even more perfect. .

thks for all the hard wrk developers!

had a request. .

if i lock my device through an sms the phone keeps sending sms s to the defined no.!!!

im usin the sms editor. . (noob type here)

even if i deselect the send msg reply n send sms on keyboard use still same behaviour!!!

is there ny fix for this or should i wait 4 an update!!!

thks in advance!

In 0.5-9 there is some experimental code which would solve the problem if there is no cell connection (no possibility to send SMS), it would automatically try to resend the same message after 900 seconds untill it succeded.

Maybe this code is not working 100% yet... (I could not test it properly; were I live there is always great cell reception).

snakekontrol 2010-11-24 04:28

Re: [Announce] SMScon (control your device with SMS)
 
@digitalvoid
will the new version have the fix for the numers? the one who made NerdKnight.

Quote:

def SMSreceive(PDUmessage, MessageCenter, SomeString, Number):
"""
Receive SMS command and execute command.
"""
n=int(PDUmessage[1])
n=n//2+n%2+13
MessageArray = PDUmessage[n:len(PDUmessage)]

Message = DeOctifyMessage(MessageArray) # decode sms message as plain text

ProcessCommand(Message, Number) # process sms command
Because I think that's the problem with commands not being recognized, I am not getting commands recognized, thanks!

digitalvoid 2010-11-24 09:01

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

Originally Posted by snakekontrol (Post 881769)
@digitalvoid
will the new version have the fix for the numers? the one who made NerdKnight.

Because I think that's the problem with commands not being recognized, I am not getting commands recognized, thanks!

Yes, it will have the number fix!

danx 2010-11-26 16:13

Re: [Announce] SMScon (control your device with SMS)
 
i just installed this app and its editor and my phone is fine. It recognized that i am a first time user, it proceeded to ask me for a password “password is existing .?? ” help please and the phone is updated with the new firmware.

Saturn 2010-11-26 16:53

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

Originally Posted by danx (Post 883875)
i just installed this app and its editor and my phone is fine. It recognized that i am a first time user, it proceeded to ask me for a password “password is existing .?? ” help please and the phone is updated with the new firmware.

default pass = 12345

read the wiki and choose your settings accordingly if you need to avoid unnecessary sms charges.

danx 2010-11-27 01:53

Re: [Announce] SMScon (control your device with SMS)
 
ok, stupid question ? I just install this app , so what do i text my phone to tell me or e mail me a picture ? the commands the i programmed .

digitalvoid 2010-11-28 10:22

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

The wiki has been pre-updated for the new version release 0.7-1!

Saturn 2010-11-30 00:20

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

Would like to ask all people already tested the SMSCON and the Editor packages in the testing repository to vote for their promotion.

SMSCON and SMSCON Editor

A positive vote should be given in the case the following 9 criteria are met: http://wiki.maemo.org/Extras-testing/QA_checklist

It would be good to have a version available for the users before we start testing the new features of the upcoming release.

Thanks.

tmarinos 2010-11-30 06:27

Re: [Announce] SMScon (control your device with SMS)
 
To save me reading through 51 pages in this thread, does this app have a GUI yet, or is it still all command line?

petur 2010-11-30 09:00

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

Originally Posted by tmarinos (Post 886008)
To save me reading through 51 pages in this thread, does this app have a GUI yet, or is it still all command line?

looking at the post before yours would have been enough....

tape_ape 2010-12-03 00:40

python problems resolved
 
just tried to install this, and smscon installed fine, but the smscon editor refused to install with the error message:
conflicts with python 2.5-qt4 network
conflicts with python 2.5-qt4 webkit.

any way round this?

EDIT: i was nervous about having smscon running on my fone without it being configured, so i uninstalled it from the terminal. Since i was in a terminal anyway, i tried installing the editor from the command line, and it went without a hitch. Installing the editor also installed the main smscon app.

Saturn 2010-12-03 18:09

Re: python problems resolved
 
Quote:

Originally Posted by tape_ape (Post 888035)
just tried to install this, and smscon installed fine, but the smscon editor refused to install with the error message:
conflicts with python 2.5-qt4 network
conflicts with python 2.5-qt4 webkit.

any way round this?

EDIT: i was nervous about having smscon running on my fone without it being configured, so i uninstalled it from the terminal. Since i was in a terminal anyway, i tried installing the editor from the command line, and it went without a hitch. Installing the editor also installed the main smscon app.

Did you notice any messages about updating python 2.5-qt4* libraries at the same time?

Remember also that updating/installing using apt-get stores the deb files in
/var/cache/apt/archives
maybe you want to clean that folder as it takes space.
usually through the command: apt-get clean

digitalvoid 2010-12-04 10:26

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

Sorry for the release delay!

I'm trying for getting the new release of smscon (0.7-1) to pass the autobuilder, but it's failing every time without any specific reason. I use a pypackager script and used it succesfully before. It generates changes, dsc & tar.gz files without any problem and all looks fine and the autobuilder doesn't complain when uploading, but the autobuilder can't build the package....

Has somebody a solution?

nicolai 2010-12-04 10:57

Re: [Announce] SMScon (control your device with SMS)
 
I don't know much about pypacker, but I think yout
tar.gz misses the toplevel directory.
there is no smscon directory in your
tar.gz only debian and src7(?)

dhanurdhar 2010-12-05 17:51

Re: [Announce] SMScon (control your device with SMS)
 
hi
sorry to waste your time with this question..
ive installed smscon and the editor from the extras-testing repository, version 0.5-9 configured it to suit my needs and test functions work fine
(now for the silly part)

how do you actually use it i.e. how do i send commands to it. i tried from the number ive saved and nothing happens..

appreatiate any help
thanks

esiravegna 2010-12-05 19:35

Re: [Announce] SMScon (control your device with SMS)
 
Hey folks, just tried this...looks great. It is possible that the 0.59 version only sends the test email from the editor gui? I can receive only these it seems, while I've tried both location and picture tests...the smscon -log shows no error, btw.

Thanks!

TiagoTiago 2010-12-05 20:26

Re: [Announce] SMScon (control your device with SMS)
 
People most likelly already asked for this before, consider it my "+1"


Could you please add a parallel (and optionally alternate) mode of communication using email (prefferably compatible with gmail), with options to try gprs as well as looking for open (and closed but with known password) WiFi connections? This way even with a SIM with no credits or even without any SIM at all, we can still reach our precious :)

Zas 2010-12-05 20:38

Re: [Announce] SMScon (control your device with SMS)
 
smscon is not working for me.
Code:

/home/user # smscon -start
/bin/sh: smscon: not found
/home/user # /opt/smscon/smscon -start
Traceback (most recent call last):
  File "/opt/smscon/smscon", line 14, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher


Saturn 2010-12-05 21:48

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

Originally Posted by dhanurdhar (Post 889932)
...
how do you actually use it i.e. how do i send commands to it. i tried from the number ive saved and nothing happens..
...

Did you check if it is running?
Please read the wiki and let us know what you dont understand. It will help us to improve too.

Quote:

Originally Posted by Zas (Post 890046)
smscon is not working for me.
Code:

/home/user # smscon -start
/bin/sh: smscon: not found
/home/user # /opt/smscon/smscon -start
Traceback (most recent call last):
  File "/opt/smscon/smscon", line 14, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher


How did you install. Did you use dpkg directly or you have use the application manager?

Quote:

Originally Posted by TiagoTiago (Post 890037)
...
Could you please add a parallel (and optionally alternate) mode of communication using email (prefferably compatible with gmail), with options to try gprs as well as looking for open (and closed but with known password) WiFi connections? This way even with a SIM with no credits or even without any SIM at all, we can still reach our precious :)

Could you please elaborate a little bit more?
The replies already can be send to a gmail address if you choose that.
See the wiki for the options available if you haven't already.

TiagoTiago 2010-12-05 22:09

Re: [Announce] SMScon (control your device with SMS)
 
I mean sending commands to the device by email, just like how it can be done via SMS


edit: ideally it should have it's own email system, somthing that doesn't show in the regular email program nor triggers the new message notification behavior (sound, status LED etc)

Saturn 2010-12-05 23:20

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

Originally Posted by TiagoTiago (Post 890136)
I mean sending commands to the device by email, just like how it can be done via SMS


edit: ideally it should have it's own email system, somthing that doesn't show in the regular email program nor triggers the new message notification behavior (sound, status LED etc)

OK, it is now clear to me now what you meant. Thanks.

In my opinion it is equal and less consuming of resources to what has already been proposed. That is, check at some intervals a site (e.g. a blog) for a specific change in a page that the user specified and is under his control.

I think it is a feature which we should try to pursuit separately first and later integrate to SMSCON, but it is up to digitalvoid.

Zas 2010-12-06 10:21

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

Originally Posted by Saturn (Post 890116)
How did you install. Did you use dpkg directly or you have use the application manager?

I installed with apt-get install smscon. dpkg reports version 0.5-9.

Saturn 2010-12-06 16:08

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

Originally Posted by Zas (Post 890477)
I installed with apt-get install smscon. dpkg reports version 0.5-9.

Did you see any errors?

apt-get should have pulled the python-crypto library automatically.


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

vBulletin® Version 3.8.8