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 2012-01-08 15:36

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

Originally Posted by nicholes (Post 1147444)
hat do you mean by saying

"Indeed the option-title "Slider Open" is not quite correct. In fact it is "Slider Movement" e.g. a notification is send on open as well as on close. For now we should fix the title."

I mean that it is a (very tiny) bug. The app may make you believe that a notification is send on slider OPEN only. But it sends on CLOSE as well.

nicholes 2012-01-08 15:58

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

Originally Posted by yablacky (Post 1147464)
No, sorry :) That's what I try to say: SMSCON may send SMS (or EMAIL) on all the events you enable. No matter if in test mode or not, no matter if SIM change detected or not.

:eek:

is this a bug?

Thanks for a quick reply!:)

yablacky 2012-01-08 16:08

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

Originally Posted by nicholes (Post 1147479)
:eek:

is this a bug?

...

No, its by design, honestly.

sixwheeledbeast 2012-01-08 16:48

Re: [Announce] SMScon (control your device with SMS)
 
I assume that "Send SMS Replies on 'Slider Open' ", should only activate after SMSCON receives a known command to the device?

yablacky 2012-01-08 17:14

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

Originally Posted by sixwheeledbeast (Post 1147497)
I assume that "Send SMS Replies on 'Slider Open' ", should only activate after SMSCON receives a known command to the device?

This would only work as expected when smscon deamon was just started. But typically the daemon runs all the time and a known command may already be received a long time ago.

Instead we plan to implement that keyboard slider moves are able to trigger more sophisticated actions than just sending slider move notifications.

sixwheeledbeast 2012-01-08 17:34

Re: [Announce] SMScon (control your device with SMS)
 
So in the case of @nicholes...
'Open Slider' messages can be stopped by sending COM_RESTART or going to Init Tab and Stopping then Restarting SMSCON operation.
Messages will then stop, unless tested or triggered again.

Note:-
COM_RESTART only available > 0.8-1

yablacky 2012-01-08 17:40

Re: [Announce] SMScon (control your device with SMS)
 
Why not just disable keyboard notification?

sixwheeledbeast 2012-01-08 17:47

Re: [Announce] SMScon (control your device with SMS)
 
Or disable it, like I did/you suggest.
@nicholes may want it on for a reason?

Saturn 2012-01-08 19:07

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

The latest versions of both smscon and editor have been promoted to the extras-testing repository.

Since there are many changes from the previous stable versions some people might have issues with their old configuration settings. We have tried hard to avoid them but for some set-ups this in unavoidable.

There are many ways to solve those problems but the easiest (in my opinion) is to purge the installation of both applications and re-install.
That is, with the following order, open x-term and as root copy/paste the following commands:
Code:

apt-get remove --purge smscon-editor
apt-get remove --purge smscon

Close xterm and install smscon-editor from the Application manager (it will automatically install smscon also).

Estel 2012-01-08 19:08

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

Originally Posted by Saturn (Post 1147415)
The above is correct; just want to add:

We have added the "unlock on new SIM" function for the people that is paramount to them to recover the device and they don't care at all if their data and passwords are exposed to the people that have found the phone.

When the SIM is replaced it is clear that someone is trying to own your device. At this moment some people would like to continue searching for the phone and others would like to stop the new user finding their mails, passwords, account info, photos and all other personal information you might have in the device.

Don't take it as self-advertising, but, i think that ideal solution for this dillema is to use TrueCrypt. Having personal things (passwords, photos, documents, whatever) in protected container or partition, ensures that upon restart (to replace SIM by thief) encrypted container is unmounted (= non-decryptable without entering TrueCrypt password/keyfile). This way - if prepared in secure way by responsible 'legit user' - it's 100% safe to tick "disable lock code on new sim inserted''. We got possibility to communicate with our phone, without risking to compromise private files.

/Estel

yablacky 2012-01-08 22:59

Re: [Announce] SMScon (control your device with SMS)
 
NEW RELEASE OF SMSCON AVAILABLE SOON

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

Changes:
  • FIX: A changed GPS interval setting was first accounted for after daemon restart.
  • CHANGE: In tracking mode, use GPS coords even if accuracy is unknown (this is better than no coords et all).
  • ADD: Use coordinates information from mobile phone cell as well.
  • ADD: The COM_POWER command now reports more information than just battery power:
    • Power (battery state in percent with charge++ or discharge-- info)
    • Keyboard (keyboard slider state)
    • Device orientation (interpreted accelerator values)
    • Ambient light (brightness value in lux)
    • Proximity sensor (open/close),
    • Screen lock state
    • Device lock state
    The information is send very close-packed and abreviated, so depending on the
    phone's hostname, all this information may fit into one single SMS.
  • FIX: Logfile anonymizer does no longer treat floats as IPv4 addresses.

Saturn 2012-01-08 23:20

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

Originally Posted by Estel (Post 1147546)
Don't take it as self-advertising, but, i think that ideal solution for this dillema is to use TrueCrypt. Having personal things (passwords, photos, documents, whatever) in protected container or partition, ensures that upon restart (to replace SIM by thief) encrypted container is unmounted (= non-decryptable without entering TrueCrypt password/keyfile). This way - if prepared in secure way by responsible 'legit user' - it's 100% safe to tick "disable lock code on new sim inserted''. We got possibility to communicate with our phone, without risking to compromise private files.

/Estel

In theory you are right especially since there are ways (published in this forum) to bypass the lock.

In practice though one will need to show us how to boot from an encrypted partition..

Estel 2012-01-08 23:32

Re: [Announce] SMScon (control your device with SMS)
 
In TrueCrypt thread, i pointed out link to another thread ( ;) ) with TrueCrypt advanced 'tricks' on N900, like booting from encrypted partition.

Yet, it's unrelated here, as I've been talking "only" about using encrypted partition (dedicated, not system one) as storage for private files. Also, using few commands, (see TrueCrypt thread again) one can put phonebook etc. to encrypted partition, and symlink it to place, where Maemo suspect them to sit normally. This way, all is achieved without encrypting system partition (encrypting whole system, IMO, isn't best thing to do in case of our device, performance-wise - yet, of course, perfectly achievable).

/Estel

nicholes 2012-01-09 08:59

Re: [Announce] SMScon (control your device with SMS)
 
i want to go back to older version of smscon i found 0-7-2

here

https://garage.maemo.org/frs/?group_id=1848

but there smscon editor is not 0-7-2 i found 0-7-3

would it be compitable with smscon 0-7-2 ????

Saturn 2012-01-09 09:24

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

Originally Posted by nicholes (Post 1147771)
i want to go back to older version of smscon i found 0-7-2

here

https://garage.maemo.org/frs/?group_id=1848

but there smscon editor is not 0-7-2 i found 0-7-3

would it be compitable with smscon 0-7-2 ????

Switch off devel and testing repositories; then you will have the stable versions: smscon 0.7-2 and smscon-editor 0.7-4

You can install them from the application manager.
Before you downgrade make sure you purge your current installations.

saponga 2012-01-10 13:06

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

Originally Posted by nicholes (Post 1146965)
i got these three warnings for the first time when i update smscon

than i reset my email sever(it was missing) and closed smscon after making some mroe changes
keyboard slider moves is the only notification i recieved since i have enable them and yes i can disable them but i want them to send sms when someone change the SIM (so i have to enable them perposly) i dont know why smscon sends sms without changing the SIM

im having the same three warnings :(

nicholes 2012-01-10 15:58

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

Originally Posted by saponga (Post 1148328)
im having the same three warnings :(

Code:

apt-get remove --purge smscon-editor
apt-get remove --purge smscon

then reinstall with HAM.[/QUOTE]

yablacky 2012-01-10 17:34

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

Originally Posted by saponga (Post 1148328)
im having the same three warnings :(

I can reproduce it now. Will be fixed in next version of smscon + smscon-editor.

Background info: It happens if there is at least one config settings with invalid value. Version 0.7 does not complain much about that when editing... but nevertheless may fail when trying to work using invalid values later.

yablacky 2012-01-11 01:51

Re: [Announce] SMScon (control your device with SMS)
 
NEW VERSION SMSCON 0.9.13-1 RELEASED SOON

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

Changes:
  • FIX: package preinstall does not write smscon.log if the file did not exist before.
  • FIX: Empty phone number, email addresses, hostnames, URIs etc. are now allowed in settings. This hopefully fixes problems when upgrading from older smscon versions. The corresponding functions will of course not work if empty.
  • FIX: If settings value is invalid, offer human readable error message (instead regular expression text).

Note that for complete fix of upgrade problems the next version of smscon-editor is required as well.

Estel 2012-01-11 18:05

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

Originally Posted by yablacky (Post 1148679)
[*]FIX: Empty phone number, email addresses, hostnames, URIs etc. are now allowed in settings. This hopefully fixes problems when upgrading from older smscon versions. The corresponding functions will of course not work if empty.

Is it now possible to *not* use master number? honestly, I would like to control my device from any other phone, if correct secret command is sent - without noticing any arbitrary master number, when I change my SIM to not authorized one etc. Currently, I'm using my own number, but, in case of thievery, it wouldn't be fun to inform thief about SIM being replaced :D Also, I do not want to use number of my relatives, to not spam them with messages, if I accidentally change SIM to not authorized one. Controlling device from any phone with correct command suit my needs already.

/Estel

yablacky 2012-01-11 18:54

Re: [Announce] SMScon (control your device with SMS)
 
yes, the master number can be left empty now. Then only the currently controlling phone receives a reply. No copy to other phone is send. Nice side effect of last fix :)

Saturn 2012-01-11 23:13

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

First fix is basically coded by yablacky himself to compliment the changes he released already with latest SMSCON.

Changes:
  • FIX: Issues on reading smscon settings of older versions and/or invalid settings. <yablacky>
    * Invalid settings now generate a warning on start but are left unchanged and will show up in the editor fields.
    * If user does not change them, they again will generate error messages when editor pages are closed.
  • CHANGE: Restructure and modification of text in the General window (minor).
  • FIX: Allow characters in the "Listen IP" field; "*" and "localhost" are valid inputs.


For Information:

You can consider the latest versions in extras-devel as the first Release Candidates.

In a couple of days if no complaints, we will re-upload the same as versions 1.0.0 in testing with the aim to reach the Extras repo.

Please complain if something is not working :)

Mr Wolf 2012-01-12 14:37

Re: [Announce] SMScon (control your device with SMS)
 
Mmmm... I was just going to install it (first time), but I'll wait for a more stable version. :rolleyes:

yablacky 2012-01-12 16:16

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

Originally Posted by Mr Wolf (Post 1149502)
Mmmm... I was just going to install it (first time), but I'll wait for a more stable version. :rolleyes:

Which version you've tried?

Mr Wolf 2012-01-12 16:21

Re: [Announce] SMScon (control your device with SMS)
 
None, yet! I was going to install the stable version, but it's too old; I read many information, but then I read Saturn's previous message and I'll wait a bit.
I'm very interested, though! :)

hathoda 2012-01-15 06:37

Re: [Announce] SMScon (control your device with SMS)
 
can anyone help me since i am a nooob i want to know(little bit off topic)

i am using smscon 0.7 i want to delete a folder using smscon(script) located in "Mydocs/folder"

what script should i use to delete whole folder called "folder" in MyDocs

and what script should i use to delete all the content of the folder (not folder but its content)?


AFAIK script should be placed in (/opt/smscon/smscon_script).
Sending 'Script' will run a predefined by user shell script

but i dont know how to make a script??

yablacky 2012-01-15 12:23

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

Originally Posted by hathoda (Post 1150764)
...
i am using smscon 0.7 i want to delete a folder using smscon(script) located in "Mydocs/folder"

what script should i use to delete whole folder called "folder" in MyDocs

and what script should i use to delete all the content of the folder (not folder but its content)?

AFAIK script should be placed in (/opt/smscon/smscon_script).
Sending 'Script' will run a predefined by user shell script

but i dont know how to make a script??

You have to edit the file /opt/smscon/smscon_script. To do this, you must be root. In your example, the file should look like this:
Code:

#!/bin/sh
(cd /home/user/MyDocs && rm -rf *)

This will really(!!) remove all files and folders from MyDocs but will not remove MyDocs itself nor will it remove hidden files and folders. Hidden files and folders may hold application specific data you probably may want continue to use.

I'm not responsible in case you remove things and your phone or some apps do not work afterwards.

(For the experts: I know that it could be written as
Code:

rm -rf /home/user/MyDocs/*
but there just one blank to much would be disastrous).

(Edit: removed wrong # from 2nd code line)

yablacky 2012-01-15 22:18

Re: [Announce] SMScon (control your device with SMS)
 
NEW RELEASE OF SMSCON 0.9.14-1 AVAILABLE.

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

Changes:
  • FIX: Remove double log message on received command.
  • FIX: If alarm command changes profile for playing sound, it was not restored after alarm. Now it is restored.
  • FIX: No longer treat CHECKHOST commands -1 and 17 differently. They behave the same now and will restart the smscon daemon exactly once (like only -1 did before).
  • FIX: Fix missing application homepage URL in package description.
  • FIX: On GPS location request, dismiss the very first GPS location delivered by GPS receiver because this sometimes seems to be the last fix from a long-time-ago somewhere-else location.
  • ADD: Introduce a 'DEBUGFLAGS' setting to enable/disable generation of debug information in the log (for developer use only).

hathoda 2012-01-16 04:12

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

Originally Posted by yablacky (Post 1150839)
You have to edit the file /opt/smscon/smscon_script. To do this, you must be root. In your example, the file should look like this:
Code:

#!/bin/sh
# (cd /home/user/MyDocs && rm -rf *)

This will really(!!) remove all files and folders from MyDocs but will not remove MyDocs itself nor will it remove hidden files and folders. Hidden files and folders may hold application specific data you probably may want continue to use.

I'm not responsible in case you remove things and your phone or some apps do not work afterwards.

(For the experts: I know that it could be written as
Code:

rm -rf /home/user/MyDocs/*
but there just one blank to much would be disastrous).

does that mean if i want to delete all the contant of my folder called "folder" the code should be...

Code:

#!/bin/sh
# (cd /home/user/MyDocs/folder && rm -rf *)

and what if i want to delete two folders in MyDocs?? Called "folder" and "folder1"

yablacky 2012-01-16 07:19

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

Originally Posted by hathoda (Post 1151129)
does that mean if i want to delete all the contant of my folder called "folder" the code should be...
Code:

#!/bin/sh
# (cd /home/user/MyDocs/folder && rm -rf *)


yes. (EDIT: This is beginner-safe; not how an expert would write it, but yes; EDIT2: the # on 2nd line is wrong; I keep it here because it is a quoted text; my "yes" was wrong in this aspect :D).

Quote:

Originally Posted by hathoda (Post 1151129)
...and what if i want to delete two folders in MyDocs?? Called "folder" and "folder1"

In your case, add this line to the script:

Code:

(cd /home/user/MyDocs/folder1 && rm -rf *)
(EDIT2: removed wrong # from beginning of code line...)

More general answers to these kind of questions can be found here UNIX Tutorial for Beginners

hathoda 2012-01-16 08:33

Re: [Announce] SMScon (control your device with SMS)
 
My script did not work when i test it.i got notification "script has been exucuted" when ever i test it.


But it not delete anything and when I put this code in xterminal deleted all the stuff

cd /home/user/MyDocs/test && rm -rf *

my script look like this

#!/bin/sh
#(cd /home/user/MyDocs/test && rm -rf *)

i am using smscon 0-7-2 and editor is 0-7-4

yablacky 2012-01-16 09:05

Re: [Announce] SMScon (control your device with SMS)
 
thanks for the report; will look at it.

yablacky 2012-01-16 14:29

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

Originally Posted by hathoda (Post 1151184)
my script look like this

#!/bin/sh
#(cd /home/user/MyDocs/test && rm -rf *)

Resolution:

Remove the # from 2nd line (but keep it at 1st line!).

Reason: The # introduces a comment which goes until end of line.
On 1st line the #! character sequence is also a comment but has special meaning known as shebang.

Tell me if it works now.

hathoda 2012-01-16 15:59

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

Originally Posted by yablacky (Post 1151304)
Resolution:

Remove the # from 2nd line (but keep it at 1st line!).

Reason: The # introduces a comment which goes until end of line.
On 1st line the #! character sequence is also a comment but has special meaning known as shebang.

Tell me if it works now.

that worked! you are genius

Cheers!
many many Thanks to yablacky!

yablacky 2012-01-21 00:32

Re: [Announce] SMScon (control your device with SMS)
 
RELEASE of SMSCON version 0.9.15-1

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

Changes:
  • FIX: The COM_LOCATION (and COM_TRACKON) command fail if accuracy of a received GPS coord is "not a number".
  • FIX: Several issues if GSP device is also used by different application at the same time (GPSJinni, OVI maps, ...) are fixed.
  • FIX: Fix behaviour if COM_LOCATION/COM_TRACKON commands are received while the other one is active. Now the mode is just switched.
  • CHANGE: The COM_LOCATION command now takes even more than GPSPOLLING samples if best accuracy is above 50 meters and timeout (which is GPSINTERVAL * GPSPOLLING) is not reached yet. The tolerance (50) is configurable via new GPSMAXDEVIATION setting.
  • ADD: New setting GPSMAXDEVIATION: Meters of minimim accuracy of a GPS coordinate for COM_LOCATION request. Default is 50 meters.

yablacky 2012-01-22 23:35

Re: [Announce] SMScon (control your device with SMS)
 
RELEASE of SMSCON version 0.9.16-1

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

Changes:
  • FIX: Fixed some typos.
  • FIX: On some N900 devices the gps location test does not proceed until another test was started. This is fixed now.
  • FIX: A GPS Error is now reported rather than it potentially aborts the SMSCON daemon.

This hopefully is the final candidate for extras testing.

yablacky 2012-01-23 00:01

Re: [Announce] SMScon (control your device with SMS)
 
SMSCON version 0.9.16-1 is available in Extras-testing right now.

To download, install, test and vote click here: SMSCON version 0.9.16-1.

nicholes 2012-01-23 06:45

Re: [Announce] SMScon (control your device with SMS)
 
Too many good updates comming out now a days!! thanks to yablacky and other devs...
I was thinking that if i was a theif i would take photo one of my friend or myself to check the camera of the phone i have just stolen(LOL).

So then i got a suggestion in my mind that if smscon could send a photo from main camera (recent photos taken after the sim is changed)too?

Also if we could hide smscon from app manager? Or hide or lock whole app manager from device?

NOTE:- an application called"app locker" can do this on N900 just by renaming the .desktop file talk.maemo.org/showthread.php?t=60318


I know it is very easy to say "A suggestion" but very hard to make it possible.

nicholes 2012-01-23 06:51

Re: [Announce] SMScon (control your device with SMS)
 
it was a dubble post by mistake plz ignore it

Too many good updates comming out now a days!! thanks to yablacky and other devs...
I was thinking that if i was a theif i would take photo one of my friend or myself to check the camera of the phone i have just stolen(LOL).

So then i got a suggestion in my mind that if smscon could send a photo from main camera (recent photos taken after the sim is changed)too?

Also if we could hide smscon from app manager? Or hide or lock whole app manager from device?

NOTE:- an application called"app locker" can do this on N900 just by renaming the .desktop file talk.maemo.org/showthread.php?t=60318


I know it is very easy to say "A suggestion" but very hard to make it possible.

yablacky 2012-01-23 09:20

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

Originally Posted by nicholes (Post 1154253)
...
Also if we could hide smscon from app manager? Or hide or lock whole app manager from device?

NOTE:- an application called"app locker" can do this on N900 just by renaming the .desktop file talk.maemo.org/showthread.php?t=60318

...

We plan that SMSCON is able to understand more than just one user defined command. Once this is available, you can configure to call any additional locking/hiding app you want.


All times are GMT. The time now is 07:29.

vBulletin® Version 3.8.8