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)

yablacky 2011-12-20 02:56

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

Originally Posted by ldezem (Post 1134700)
... I'm pretty sure the idea of having SMScon run 1-6 different scripts has not been discussed. If users could launch 1-6 different scripts using SMScon a lot of request people have had (like having the device make loud sounds) could met halfway.
...

My idea is, to make it possible to pass an almost arbitrary argument together with the COM_CUSTOM command (sent within one single sms command). The custom script could do what ever it want with the argument. It could use it as a keyword or just a number to select different tasks to do. This way the number of different scrips that smscon supports is not limited.

yablacky 2011-12-20 03:11

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

Originally Posted by sdmech (Post 1139519)
Firstly if this has been already commented on and i have missed it then sorry for the double post.
I updated smscon and its editor today.
Since the update the smscon editor will not open.
I get
value of user setting of user setting "checkhost" does not match
then i get
Loading active settings failed
failed to activate recent edit settings
Activating initial settings failed
then i get the same message again, and then i get
Enforcedly loaded smscon settings
Please check them all.some seem to be invalid
and it closes.
I have read the thread and i have uninstalled both parts then re-installed them again, and it makes no difference.
This is a fantastic app and i hope it can be fixed.

Ooops, sorry. 0.9.3 promises to upgrade all older versions and this seems not yet to be true. As far as I see, this happens when there are settings that never get changed by a user and are still set to their initial value consisting lots of XXXXX.

Since 0.9.3 checks for valid values, many of these XXXX settings are considered to be invalid which in turn lead to the posted problems.

Going to fix this for 0.9.4

refugee 2011-12-20 09:26

Re: [Announce] SMScon (control your device with SMS)
 
It was 'I m here' app after all.

It took me some effort but I finally got rid of that daemon.

I really thank Saturn for his help and I apologize for blaming smscon, a truly valuable app for all N900 owners.

Saturn 2011-12-20 11:13

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

Originally Posted by refugee (Post 1139847)
It was 'I m here' app after all.

It took me some effort but I finally got rid of that daemon.

I really thank Saturn for his help and I apologize for blaming smscon, a truly valuable app for all N900 owners.

Great that it is solved.
For the rest: What triggered my mind (that it is not smscon) and sent refugee some PMs to check if imhere was installed was the red led which was on constantly.
With SMSCON you'll see this led on (for a tiny moment) only when the front camera takes a picture. We will try to hide this also in the future.

Cheers

nicholes 2011-12-20 11:59

Re: [Announce] SMScon (control your device with SMS)
 
@Saturn and other friends.........

i want to insert other sim in my mobile what should i do ?

1>simply uninstall smscon using HAM???

2>simply uninstall smscon using HAM??? and then use xterminal to remove it properly (guidance needed)

3>uninstall using xterminal?(plz guide me)

4> or is there any way to disable it temporarily?

Saturn 2011-12-20 12:20

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

Originally Posted by nicholes (Post 1139903)
@Saturn and other friends.........

i want to insert other sim in my mobile what should i do ?

1>simply uninstall smscon using HAM???

2>simply uninstall smscon using HAM??? and then use xterminal to remove it properly (guidance needed)

3>uninstall using xterminal?(plz guide me)

4> or is there any way to disable it temporarily?

in smscon editor go to the "init" tab
- press Stop
- press Disable

switch off change sim and then go to the same tab
press
- Add IMSI
- Start
- Enable

you are good to go. Both sims are authorised now..

EDIT: added the information in the wiki
http://wiki.maemo.org/SMSCON_Editor#...a_new_SIM_card

let me know if it is not understandable.

Saturn 2011-12-20 19:37

Re: [Announce] SMScon (control your device with SMS)
 
Release of SMSCON Editor version 0.9.5-1 in extras-devel

Changes:
NEW: Added a startup screen.
CHANGE: Modified the Init tab to have radio buttons and show the state of the daemon and the boot option.
CHANGE: Modified the General tab with better names and more condensed structure.
CHANGE: Modified the About window.
CHANGE: Removed the credits dialog - superseded by the About window.
CHANGE: Modified the .desktop file - wrong setting for terminal.
CHANGE: Update in the postrm; restructure and inclusion of the new files.

yablacky 2011-12-21 02:23

Re: [Announce] SMScon (control your device with SMS)
 
NEW VERSION OF SMSCON AVAILABLE: 0.9.4-1

smscon 0.9.4-1 has been queued for loading into fremantle extras-devel repository.

Changes:
  • FIX: Crash on resending sms or email.
  • NEW: smscon control program now elevates itself to root if required and possible. (Thins means smscon can now be called as non-root without using sudo prefix).
  • FIX: Typos in comments, internal names and messages.
  • FIX: XXX.XXX style default values from older config files are no longer detected as "invalid" values but upgraded to "valid" default values.

yablacky 2011-12-21 02:41

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

Originally Posted by nicholes (Post 1139903)
@Saturn and other friends.........

i want to insert other sim in my mobile what should i do ?

1>simply uninstall smscon using HAM???

2>simply uninstall smscon using HAM??? and then use xterminal to remove it properly (guidance needed)

3>uninstall using xterminal?(plz guide me)

4> or is there any way to disable it temporarily?

Before changing the SIM, check "Unlock on new SIM" in general settings page. Corresponding shell command is:
Code:

$ smscon -set SIMUNLOCK yes
Then shutdown the phone, change SIM, reboot. The SIM change should be detected and notifications should be send by SMSCON. But the new SIM should be accepted and the phone should not be locked. Should it be locked, send it a COM_UNLOCK sms command. ... and tell that it does not do as I wrote.

nicholes 2011-12-21 07:01

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

Originally Posted by Saturn (Post 1139910)
in smscon editor go to the "init" tab
- press Stop
- press Disable

switch off change sim and then go to the same tab
press
- Add IMSI
- Start
- Enable

you are good to go. Both sims are authorised now..

EDIT: added the information in the wiki
http://wiki.maemo.org/SMSCON_Editor#...a_new_SIM_card

let me know if it is not understandable.

Thanks for the great help.

It is my noobness or i am really a lazy person who did not bother to read WiKi. before asking anything (shame on myself)(i would take care in future)

but hy you said "let me know if it is not understandable."

trust me your reply is always perfact and easy to understand

Thanks again!

The Winter 2011-12-21 07:08

Re: [Announce] SMScon (control your device with SMS)
 
i simply love this programme..great work indeed.

ade 2011-12-21 10:12

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

Any new suggestions on http://talk.maemo.org/showpost.php?p...&postcount=872 ? The recent updates did not solve my issue...

sdmech 2011-12-21 12:10

Re: [Announce] SMScon (control your device with SMS)
 
Hello again, Thanks for all the swift replies, I have just read them. The smcon+editor both updated today and it has fixed all the problems I had. I have logged into editor and updated my settings.
Would just like to say again what a fantastic community you have here, and I wish everybody a happy xmas and a prosperous new year :)

yablacky 2011-12-21 15:45

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

Originally Posted by ade (Post 1140325)
Saturn,

Any new suggestions on http://talk.maemo.org/showpost.php?p...&postcount=872 ? The recent updates did not solve my issue...

You say that - in contrast to the error message - the daemon is running. I guess you used the ps command to check that out. Could you please repeat the situation on your device and post the outcome of the ps command here?

Code:

$ # if you like to post the full list:
$ ps > file_to_post


$ # if you like to post only what is of interest for me:
$ ps | grep smscon > file_to_post

Thank you.

silviumc 2011-12-22 10:19

Re: [Announce] SMScon (control your device with SMS)
 
Alarm doesn't work in 0.9.4.-1

I have a file /opt/smscon/alarm.wav RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz

In /opt/smscon/smscon.log there's this error when receiving Alarm SMS:
ERROR: (ALARM) Could not get current phone profile.

nicholes 2011-12-22 11:24

Re: [Announce] SMScon (control your device with SMS)
 
1 Attachment(s)
hi all......

(at least it is happening in India, i dont know about other countries)

As i am from india and AFAIK in india each network provider here alert their customer every time when they send any sms or make a call by sending a (small) sms. and that small SMS DOES NOT STORE IN INBOX OR CONVERSATION of any mobile (as screen shot shows). when user press done button it vanish itself. so here in india if thief is inserting his SIM in N900 and get those small sms,he will surly be alerted.(that there is some ghost application or software in this mobile which is sending sms to someone) so naturally he will remove his SIM immediately.so smscon may fail here.

Thus a great update needed for us. please help.

sorry if this is mentioned before ....

ade 2011-12-22 12:02

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

Originally Posted by yablacky (Post 1140422)
You say that - in contrast to the error message - the daemon is running. I guess you used the ps command to check that out. Could you please repeat the situation on your device and post the outcome of the ps command here?

Code:

$ # if you like to post the full list:
$ ps > file_to_post


$ # if you like to post only what is of interest for me:
$ ps | grep smscon > file_to_post

Thank you.

Well, a daemon gets started, but in combination with the error message. Another attempt to start spawns a new daemon.

After the first attempt to start smscon using smscon-editor:
Code:

user    21565  1436  7 12:55 ?        00:00:04 python /opt/smscon-editor/smscon-editor
root    21602    1  3 12:56 ?        00:00:00 python /opt/smscon/smscon_daemon

When I get the error, I go for a second attempt to start the deamon. Again the error, with a new process:
Code:

user    21565  1436  5 12:55 ?        00:00:04 python /opt/smscon-editor/smscon-editor
root    21602    1  1 12:56 ?        00:00:00 python /opt/smscon/smscon_daemon
root    21670    1 10 12:57 ?        00:00:00 python /opt/smscon/smscon_daemon


dattadude 2011-12-22 16:31

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

Originally Posted by Saturn (Post 1139693)
This is very strange as it said the daemon was not running. therefore it couldn't sent you anything.

After you uninstall do the same I said earlier as root:

Code:

rm -rf /opt/smscon/
rm -rf /opt/smscon-editor/
rm -rf /home/user/.smscon-editor
rm -f /usr/bin/smscon-editor
rm -f /usr/bin/smscon
rm -f /etc/sudoers.d/smscon.sudoers
rm -f /etc/sudoers.d/smscon-editor.sudoers
rm -f /etc/event.d/smscon_boot
update-sudoers

This will remove all.

Kaly tyxi..

EDIT: added some more things to clean.

Hi,

firstly great app. .

i tried this but i still get cant it to work again. .

this started after the update. .

when ever i launch the app and enter the default passwrd. .

i get loading active settings failed and activating initial setting failed twice!

then i get an ERROR: the user setting file "home/user/smscon-editor/smscon_config" could not be found.

and then failed to read sms con settings and contact smscon support for resolution.

n no matter how many times i install , remove and deleted all sms con folders i keep getting this problem. .

is there any fix to this or am i missing something?

any help would be appriciated!

thanks in advance!!!

Saturn 2011-12-22 16:37

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

Originally Posted by dattadude (Post 1140884)
Hi,

firstly great app. .

i tried this but i still get cant it to work again. .

this started after the update. .

when ever i launch the app and enter the default passwrd. .

i get loading active settings failed and activating initial setting failed twice!

then i get an ERROR: the user setting file "home/user/smscon-editor/smscon_config" could not be found.

and then failed to read sms con settings and contact smscon support for resolution.

n no matter how many times i install , remove and deleted all sms con folders i keep getting this problem. .

is there any fix to this or am i missing something?

any help would be appriciated!

thanks in advance!!!

open xterm and do:
Code:

smscon -reset
smscon -init


Saturn 2011-12-22 16:40

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

Originally Posted by silviumc (Post 1140733)
Alarm doesn't work in 0.9.4.-1

I have a file /opt/smscon/alarm.wav RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz

In /opt/smscon/smscon.log there's this error when receiving Alarm SMS:
ERROR: (ALARM) Could not get current phone profile.

Just an update.
Reproduced the error but don't have a solution - the code looks correct and on its own works.
Maybe yablacky has a better idea earlier..

dattadude 2011-12-22 20:36

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

Originally Posted by Saturn (Post 1140886)
open xterm and do:
Code:

smscon -reset
smscon -init


hey thanks for the tip but its still giving the barrage of errors. . im lost here is there any way. . or do i need to flash!!!!

is there a manual way to start making it work. .

thks in advance!

yablacky 2011-12-22 22:09

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

Originally Posted by silviumc (Post 1140733)
Alarm doesn't work in 0.9.4.-1

I have a file /opt/smscon/alarm.wav RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 11025 Hz

In /opt/smscon/smscon.log there's this error when receiving Alarm SMS:
ERROR: (ALARM) Could not get current phone profile.

Thank you for the report. I can reproduce it and are working on a solution.

UPDATE: fixed in 0.9.5

yablacky 2011-12-22 22:35

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

Originally Posted by dattadude (Post 1140958)
hey thanks for the tip but its still giving the barrage of errors. . im lost here is there any way. . or do i need to flash!!!!

is there a manual way to start making it work. .

thks in advance!

No, no don't flash!

If even resetting smscon does not help, it seems to me that you don't have write access to this file:
/home/user/.smscon-editor/smscon_config
or to the containing folder.

Could you please open xterm and enter following command (it is important to do it as normal user, not as root):
Code:

$ echo fluppy >/home/user/.smscon-editor/test
$ cat  </home/user/.smscon-editor/test
# --> should write fluppy onto the console
$ rm /home/user/.smscon-editor/test

Do all this commands work without error message? If there was any error message, please post them here, thank you.

Saturn 2011-12-22 22:40

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

Originally Posted by dattadude (Post 1140958)
hey thanks for the tip but its still giving the barrage of errors. . im lost here is there any way. . or do i need to flash!!!!

is there a manual way to start making it work. .

thks in advance!

My first advice is to stop using devel. First you need to learn more stuff about the OS and things you can do with it.
My second advice is to give better explanations.

Now,
1. open xterm
2. become root
3. copy paste (each line separately) the following commands (here an ssh connection would be ideal)
Code:

apt-get -y remove --purge smscon
apt-get -y remove --purge smscon-editor
apt-get -y remove --purge python-crypto pexpect libgmp3c2
apt-get clean

rm -rf /opt/smscon/
rm -rf /opt/smscon-editor/
rm -rf /home/user/.smscon-editor
rm -f /usr/bin/smscon-editor
rm -f /usr/bin/smscon
rm -f /etc/sudoers.d/smscon.sudoers
rm -f /etc/sudoers.d/smscon-editor.sudoers
rm -f /etc/event.d/smscon_boot
update-sudoers

4. then reboot your device
5. open xterm
6. become root
7. copy paste the following
Code:

apt-get update
apt-get -y install smscon-editor
apt-get clean

Go to the application menu and open SMSCON Editor.

yablacky 2011-12-23 01:39

Re: [Announce] SMScon (control your device with SMS)
 
NEW VERSION OF SMSCON AVAILABLE: 0.9.5-1

smscon 0.9.5-1 has been queued for loading into fremantle extras-devel repository.
  • FIX: Error in package installer (postremove).
  • FIX: Playing COM_ALARM sound failed some times.
  • FIX: Fix check for boolean parameters (yes/no)
  • FIX: Phone numbers written in human style like "(01234) 5678-99" will no longer confuse smscon.

dattadude 2011-12-23 05:41

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

Originally Posted by yablacky (Post 1140988)
No, no don't flash!

If even resetting smscon does not help, it seems to me that you don't have write access to this file:
/home/user/.smscon-editor/smscon_config
or to the containing folder.

Could you please open xterm and enter following command (it is important to do it as normal user, not as root):
Code:

$ echo fluppy >/home/user/.smscon-editor/test
$ cat  </home/user/.smscon-editor/test
# --> should write fluppy onto the console
$ rm /home/user/.smscon-editor/test

Do all this commands work without error message? If there was any error message, please post them here, thank you.

hey,

thks for the response. . all commands give me a not found error as a normal user. . tried in stock and power kernel still same. . commands executed witout sudo gainroot . .

dattadude 2011-12-23 06:16

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

Originally Posted by Saturn (Post 1140990)
My first advice is to stop using devel. First you need to learn more stuff about the OS and things you can do with it.
My second advice is to give better explanations.

Now,
1. open xterm
2. become root
3. copy paste (each line separately) the following commands (here an ssh connection would be ideal)
Code:

apt-get -y remove --purge smscon
apt-get -y remove --purge smscon-editor
apt-get -y remove --purge python-crypto pexpect libgmp3c2
apt-get clean

rm -rf /opt/smscon/
rm -rf /opt/smscon-editor/
rm -rf /home/user/.smscon-editor
rm -f /usr/bin/smscon-editor
rm -f /usr/bin/smscon
rm -f /etc/sudoers.d/smscon.sudoers
rm -f /etc/sudoers.d/smscon-editor.sudoers
rm -f /etc/event.d/smscon_boot
update-sudoers

4. then reboot your device
5. open xterm
6. become root
7. copy paste the following
Code:

apt-get update
apt-get -y install smscon-editor
apt-get clean

Go to the application menu and open SMSCON Editor.

Thank you so much for your help. . . Its working now. . I feel safe with my n900 again!!!!

yablacky 2011-12-23 08:06

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

Originally Posted by dattadude (Post 1141057)
hey,

thks for the response. . all commands give me a not found error as a normal user. . tried in stock and power kernel still same. . commands executed witout sudo gainroot . .

This looks like that there was a directory missing. Could have tryied following command as normal user:

Code:

mkdir /home/user/.smscon-editor
I see that you in the meanwhile solved the problems by a rigorous de- and re-installing the app, fine! Congratulations!

silviumc 2011-12-23 08:25

Re: [Announce] SMScon (control your device with SMS)
 
I confirm the alarm is working in 0.9.5. I have a couple of suggestions:

- increase volume to maximum before playing the sound
- loop the sample for a configurable number of times, because playing just once is only a few seconds long for most "alarm.wav" files

Rammi 2011-12-23 15:59

Re: [Announce] SMScon (control your device with SMS)
 
I have been test-driving this wonderful application for the past one week. Initially I was quite thrilled getting the results of my SMS commands, but lately I have noticed something unusual. I load the SMSCON editor, test sending a sms, an email with my photo or even making a test call. Everything works, but when I try giving commands from the controlling mobile phone nothing happens except the exchange of messages between the two phones. Nothing gets executed, be it power command or location or even call command. I don' t forget to press the button " tests done".

yablacky 2011-12-23 17:50

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

Originally Posted by silviumc (Post 1141076)
I confirm the alarm is working in 0.9.5. I have a couple of suggestions:

- increase volume to maximum before playing the sound
- loop the sample for a configurable number of times, because playing just once is only a few seconds long for most "alarm.wav" files

The volume is already set to 100% before playing the sound. And at least on my phone this works. This is easy to confirm because the volume is not reset to the previous value after playing the sound...
Please test this again with 50% volume set before sending COM_ALARM. After sound is done, check volume. Should be 100%.
Thank you.

yablacky 2011-12-23 18:06

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

Originally Posted by Rammi (Post 1141204)
I have been test-driving this wonderful application for the past one week. Initially I was quite thrilled getting the results of my SMS commands, but lately I have noticed something unusual. I load the SMSCON editor, test sending a sms, an email with my photo or even making a test call. Everything works, but when I try giving commands from the controlling mobile phone nothing happens except the exchange of messages between the two phones. Nothing gets executed, be it power command or location or even call command. I don' t forget to press the button " tests done".

smscon should check incoming sms even when in testmode, provided the sms comes in AFTER the test-operation has been performed. Only minor restrictions apply (GPS relatet stuff might not work as expected etc), so it is recommended to terminate test mode. In xterm following command does it:
Code:

$ smscon -restart
.

If smscon does not recognize your sms-commands, they are probably misspelled. Take a look in the log:
Code:

$ smscon -log
Consider to pipe output through "more". If the command has been recognized there will be an log entry (and then this means that smscon does not behave correctly on receiving the command). But I guess that the command is not recognized.

To get a list of all recognized commands send COM_CHECK (if you know how this is spelled) or - on the phone - enter following command in xterm:
Code:

$ smscon -sms
Tell me if that helps you.

yablacky 2011-12-24 00:39

Re: [Announce] SMScon (control your device with SMS)
 
NEW VERSION OF SMSCON AVAILABLE: 0.9.6-2

smscon 0.9.6-2 has been queued for loading into fremantle extras-devel repository
  • NEW: If no user supplied alarm.wav file exists, use a funny default alarm sound.
  • FIX: Send notifications on battery charge level change only if the message differs from last message.
  • FIX: Beautify battery change message in case device could not supply dis/charge info.
  • FIX: More tolerant detection if smscon_daemon is already running.

Saturn 2011-12-24 02:34

Re: [Announce] SMScon (control your device with SMS)
 
Uploaded new version of SMSCON Editor (0.9.6-1) in extras-devel

Changes:
CHANGE: Rebuild of the UI; removed tabs and added for each a separate window.
CHANGE: Removed the menu and added its actions as buttons in the main UI.
CHANGE: Modified postrm script; inclusion of new files.
NEW: Added Email-From field.

PS: I think we are close for a 1.0 release that we will push to extras-testing.

Rammi 2011-12-24 03:54

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

Originally Posted by yablacky (Post 1141238)
smscon should check incoming sms even when in testmode, provided the sms comes in AFTER the test-operation has been performed. Only minor restrictions apply (GPS relatet stuff might not work as expected etc), so it is recommended to terminate test mode. In xterm following command does it:
Code:

$ smscon -restart
.

If smscon does not recognize your sms-commands, they are probably misspelled. Take a look in the log:
Code:

$ smscon -log
Consider to pipe output through "more". If the command has been recognized there will be an log entry (and then this means that smscon does not behave correctly on receiving the command). But I guess that the command is not recognized.

To get a list of all recognized commands send COM_CHECK (if you know how this is spelled) or - on the phone - enter following command in xterm:
Code:

$ smscon -sms
Tell me if that helps you.

Sorry, it does not help. Error: smscon must run as "root"
And when I gain root and run, it says: unknown option (-restart)
There are no spelling mistakes and yet it does not work beyond test-drive mode! Please help.:mad:

Estel 2011-12-24 06:15

Re: [Announce] SMScon (control your device with SMS)
 
1 Attachment(s)
I've tested latest release, and all my former bug reports still apply - except for different text that I get in "spamming" messages ;) So:

1. No matter which option I use for General -> Reply message settings - even when they're disabled at all! - every Test -> SMS message result in my devic setting *four* messages - two of them contain:
Code:

N900[BloodRose]
2011-12-24 06:38:30
-boot-
smscon does not auto-load at boot.

... and another two contain proper "Test message". So, one click @ sending test SMS = 4 SMS's send.

2. Every click on Test -> *Email* message result in getting one email with proper content ("test email"), + one email *and* one *SMS* with already known...
Code:

N900[BloodRose]
2011-12-24 06:38:30
-boot-
smscon does not auto-load at boot.

...content. That is, both 'bonus' email and "bonus' SMS contain this thing.

3. Every use of Test -> Send GPS coordinates result in... Guess what, doubled 'proper' sms with coordinates, double sms with
Code:

N900[BloodRose]
2011-12-24 06:38:30
-boot-
smscon does not auto-load at boot.

...content - and that only, if I use SMS as mean of informing about GPS position (from General settings). If I use email only, I get two mails with coordinated, one with already overquoted "doesn't start on boot" content, and one SMS with same content. If I use "both", You can already guess what I get?...

And so goes on, for every option.

+, as always, if I use General -> Reply message: slider open (check) - or any other option checked (from "Reply message" settings), after reboot I get message about keyboard being open etc (when I, indeed, open it), even though *my SIM card hasn't been replaced, and was already on list of valid IMSI*. Which, in my opinion, is either bug, or wrong design of potentially useful feature - we may want to know, that someone found/stolen our N900 and opened it's keyboard, and we want such info send as SMS (most chances, that it will be in GSM network range) or e-mail but *only*, when our SIM card was replaced, or we have sent out N900 SMSCON message to get it into "alerted" state.

Think a while - what is use for "keyboard opened" message, if it is sent every time smscon is running? Even using email only, we don't want to be flooded by such messages, until we need it (due to N900 being stolen or lost).

Same apply for other checkboxes under General -> Reply message - we may want to know about battery state, but not until our SIM was replaced by unauthorized one, or we ask by SMSCON message! etc...

---

Sorry for writing everything in such over-verbose manner, but I reported exact same issues many versions ago, and it seems to me, that I was either misunderstood (in case of "4 messages instead of 1") or ignored, apparently due to misunderstanding again (keyboard slider open/ reply message).

---

Besides that, nice job over SMSCON/SMSCON-Editor, it's really a whirlwind of Development (new version almost every day, and every one with no small changes). Thanks for that!

/Estel

//Edit

+ bonus smscon.log of my tinkering with SMSCON(via editor) since update - keep in mind that number +XXXXXXXXXXX and simillar 'private data' obsfucation isn't error, I just replaced real number, mail, passwords etc in log as post-rendering, before posting on forum. Every possible option was set custom (if not disabled totally).
WARNING! It's also over-verbosed (I wasn't cutting it off, to avoid removing something important), so it's ~400 lines of pure joy.

Also, this is *not* tar file - it's plain .txt. I just renamed it to avoid stupid atachement size limitation (someone, in his etheral wisdom, set size limit for txt files to 19.5KB, sic!)
My uneducated guess, is that option for re-sending message in case of fail is behaving bad (it logs about re-sending message after 15 min, but check time of log entry - it's same moment, of initial call for sending message. So, basically, it's sending twice at once).

/Estel

emotion 2011-12-24 07:24

Re: [Announce] SMScon (control your device with SMS)
 
Please I have a problem with smscon 0.7-4 version and kernel 48, when I want choose other password, I have these message: "the new password hash could not be stored". Please I need your help.

yablacky 2011-12-24 09:15

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

Originally Posted by Rammi (Post 1141349)
Sorry, it does not help. Error: smscon must run as "root"
And when I gain root and run, it says: unknown option (-restart)
There are no spelling mistakes and yet it does not work beyond test-drive mode! Please help.:mad:

Ahh, you are probably using an older version (versions 0.7 and 0.8 are old in this means). You might consider to install the latest 0.9th (which has also better debugging/supporting aids) or try this (as normal user):
Code:

$ sudo smscon -stop
$ sudo smscon -start
$ sudo smscon -sms


yablacky 2011-12-24 09:38

Re: [Announce] SMScon (control your device with SMS)
 
Estel, first of all, thank you for your detailed reports! Im goin to make several responses:

Quote:

Originally Posted by Estel (Post 1141370)
I've tested latest release, and all my former bug reports still apply - except for different text that I get in "spamming" messages ;) So:

1. No matter which option I use for General -> Reply message settings - even when they're disabled at all! - every Test -> SMS message result in my devic setting *four* messages - two of them contain:
Code:

N900[BloodRose]
2011-12-24 06:38:30
-boot-
smscon does not auto-load at boot.


You're right, in test-mode this remainder makes not much sense. I change to skip it in test-mode for next release.

yablacky 2011-12-24 11:08

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

Originally Posted by Estel (Post 1141370)
... every Test -> SMS message result in my devic setting *four* messages...

In the log file you send (thanx!), the tests are logged twice with no reasonable amount of time in between, so you got 4 replies instead of 2 (where it should be 1 due to the superfluous "does not load at boot").

May be there is a bug that tests may be triggered unintentionally more than once too easily. Will do more investigation on it....


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

vBulletin® Version 3.8.8