![]() |
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? |
Re: [Announce] SMScon (control your device with SMS)
Here is another try. I initialized a new file using
Code:
smscon -init The output of the log is this: Code:
DAEMON INFO: successfully loaded "smscon_config" file 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 "****" 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. |
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* 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 |
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* Code:
Nokia-N900:~# ls -al /opt/smscon* Code:
Nokia-N900:~# ls -al /home/user/.smscon* Code:
Nokia-N900:~/.smscon-editor$ /opt/smscon-editor/smscon-editor |
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/ The log from my last run was this: Code:
Nokia-N900:~# smscon -log |
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.. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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. |
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:
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 :) |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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. |
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? |
All times are GMT. The time now is 07:25. |
vBulletin® Version 3.8.8