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-09-06 00:02

Re: [Announce] SMScon (control your device with SMS)
 
1 Attachment(s)
Here's another idea on how the GUI could look like. This time using tabs.

Don't know about you but I like it more.

mrbiggzz79 2010-09-06 02:55

Re: [Announce] SMScon (control your device with SMS)
 
looks swwet any chance on uploadin it

digitalvoid 2010-09-06 08:27

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

I like the tabs better. Great work!

In the week to come I will release a new update (check the first post then) and an extensive tutorial.
In this release the gui isn't yet supported. I first want to get rid of bugs, otherwise It's getting a bit to complex. I do this all in my spare time and that's limited.

Saturn 2010-09-06 19:43

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

Originally Posted by digitalvoid (Post 808442)
@ Saturn:

I like the tabs better. Great work!
...

Thanks!

Do you find it a problem to split the config file in 3 smaller files?
Something like:
- smscon_config_general
- smscon_config_email
- smscon_config_ssh

and add a forth for the commands renaming
- smscon_config_commands

In that way, it will be much easier for me to make the creation of the files from the gui;
i.e. one tab = one file.

In the future, when we get more familiar with the gconf schema it will be also easy to change and quite transparent for the user.

What do you think?

EDIT: after some reading (yes it helps sometimes!) managed to find a way to edit the config file partially. It won't be needed to split the file.

knypek3 2010-09-07 22:10

Re: [Announce] SMScon (control your device with SMS)
 
Whatever. Just GUI is important.

zimon 2010-09-07 22:12

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

Originally Posted by Saturn (Post 808163)
This functionality is already there.
Just go and rename the commands by prefixing your password.
The only limitation is to not enter spaces.

Cheers.

No GUI support expected later either?

digitalvoid 2010-09-08 17:17

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

Originally Posted by zimon (Post 810073)
No GUI support expected later either?

GUI support for v0.4.0 will come soon. Version 0.4.0 has a lot of internal changes and new options/features.

Saturn 2010-09-08 21:33

Re: [Announce] SMScon (control your device with SMS)
 
Just to add, we've created a garage project and next (or following) release will be in extras-devel.

http://smscon.garage.maemo.org/

Saturn 2010-09-09 09:48

Re: [Announce] SMScon (control your device with SMS)
 
Here's also the wiki page (at the moment having mostly digitalvoid's first post):

http://wiki.maemo.org/SMSCON

Will post screenshots of the new GUI in the next days. It's simple but functional.

zimon 2010-09-09 11:47

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

Originally Posted by digitalvoid (Post 810850)
GUI support for v0.4.0 will come soon. Version 0.4.0 has a lot of internal changes and new options/features.

I meant a GUI support for the settable password for incoming SMSs.

digitalvoid 2010-09-09 14:58

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

See the first post for the new wiki & download place. New version is probably available tomorrow.

digitalvoid 2010-09-10 13:29

Re: [Announce] SMScon (control your device with SMS)
 
New version (0.4.1) is out, see first post!

knypek3 2010-09-10 15:00

Re: [Announce] SMScon (control your device with SMS)
 
hmn
it isn't with gui?
:/
When gui version will be available?
When i click icon of smscon appers xterm and close.

digitalvoid 2010-09-10 15:08

Re: [Announce] SMScon (control your device with SMS)
 
Saturn is adapting the GUI to the latest version of smscon. If it's ready it will be packaged into smscon install.

PS: The smscon desktop shortcut is only a tryout (no functionallity). It opens X-Terminal in root and runs "smscon" and then closes X-Terminal.

Does anybody know howto leave X-Terminal open after this?

PS2: Added "Known bugs" list in smscon wiki.

I like to from hear from everybody if the latest version does what it's suppost to do :)

knypek3 2010-09-10 15:22

Re: [Announce] SMScon (control your device with SMS)
 
hmn :/
Smscon -log don't show anything - write - smscon log is empty.
wtf?

When i type smscon - reset
app delete my smscon_config file - stupid.
:/ Now i must install it again.

CepiPerez 2010-09-10 15:22

Re: [Announce] SMScon (control your device with SMS)
 
EDIT: this is the way to keep x-term opened;


in .desktop file run this: osso-xterm "path/to/script.sh"

and the script.sh file should be like this:

#!/bin/sh
smscon
/bin/sh

digitalvoid 2010-09-10 15:38

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

Originally Posted by knypek3 (Post 812733)
hmn :/
Smscon -log don't show anything - write - smscon log is empty.
wtf?

When i type smscon - reset
app delete my smscon_config file - stupid.
:/ Now i must install it again.

type:
Code:

smscon -init
to create a new smscon_config template to fill in.

@ CepiPerez:

Thanks for the tip, I will implement this. If the GUI is available this isn't needed anymore.

knypek3 2010-09-10 15:38

Re: [Announce] SMScon (control your device with SMS)
 
Hmn
why when gps starting internet don't start?
agps is important !

yes yes i wasn't see init option.

@digitalvoid - priv message to You

digitalvoid 2010-09-10 15:42

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

Originally Posted by knypek3 (Post 812757)
Hmn
why when gps starting internet don't start?
agps is important !

Set Internet connections in Nokia settings to "Any connection". I will automate this in v0.4.2.

Update: Must be 'GPRS' connection.

knypek3 2010-09-10 15:43

Re: [Announce] SMScon (control your device with SMS)
 
I have set on "any connection".

digitalvoid 2010-09-11 08:38

Re: [Announce] SMScon (control your device with SMS)
 
People, v0.4.2 is available, please give me your feedback.

knypek3 2010-09-11 10:30

Re: [Announce] SMScon (control your device with SMS)
 
If you have and old version installed you must uninstall it before install new.

For proper operation, you must delete older ver.
Code:

root
apt-get remove smscon

than, install new version
Code:

root
cd patch
dpkg -i smscon.deb

than delete old smscon_config and create new by typing:
Code:

root
smscon -del_config
smscon -init

Than edit new config and type your data:
Code:

root
apt-get install nano
cd /usr/bin
nano smscon_config

Than you can start smscon:
Code:

root
smscon -start
smscon -boot
exit


digitalvoid 2010-09-11 10:49

Re: [Announce] SMScon (control your device with SMS)
 
Or double-click the install deb file in "File manager" and it will install with the use of the "Application manager". If you want to remove use also the "Application manager". Remember: if you update smscon, the config file will not be overwritten by a new one.

digitalvoid 2010-09-11 12:11

Re: [Announce] SMScon (control your device with SMS)
 
Version 0.4.3 is out.

Few bug fixes / improvements.

Don't use 0.4.2! Every sms number is stored in config file. Must be: only sms number with command must be stored in config file, this is solved in 0.4.3.

Saturn 2010-09-11 12:56

Re: [Announce] SMScon (control your device with SMS)
 
2 Attachment(s)
Hi,

In garage you'll find the first version of the configuration editor GUI.

Warning: This is only for brave people !!

It can be installed directly from the application manager (HAM)

EDIT: Only needed for versions < 0.4.3-6. Newer versions open directly from the applications menu.

To run it, open xterm, get root privileges and type (use TAB for autocompletion):
Code:

/opt/smscon_configuration/smscon_editor.py
With it you will be able to edit all options of the config file.

When it starts it loads the current config file and the options already will be shown in the appropriate sections of the GUI.

Some screenshots below

EDIT: renamed the editor GUI.

knypek3 2010-09-11 13:11

Re: [Announce] SMScon (control your device with SMS)
 
GREAT JOB!
TESTING :D
hmn - missing "email from" in GUI.
tested:

camera: OK

Location: Internet connection don't start automaticlly.

SSH: Tested: Working but, when my friend call to me when i have established connection, connection was terminated. Than i one more time established connection - in log write - ssh already estabilished... but it don't.
Also i get sms ssh connection estabilished only when i close connection. Not when i connected, but when i end connection

Log: Logs are deleted when i reboot n900 :/

Boot: I try to set autoload on boot, but i can't i try with GUI and also with smscon -boot, but i can't When i reboot phone and type smscon -status it replay me smscon_daemon is off.

Call: Working

Lock device: Working.

Other options i don' tested.

Sorry for my english, but i hope you understand what you must fix.

Regards
Marcin

Saturn 2010-09-11 17:21

Re: [Announce] SMScon (control your device with SMS)
 
The gui has been renamed to SMSCON Editor (I find the new name better and shorter). You can find the latest version in the garage .

For those that have already installed the previous version please run as root:
Code:

apt-get remove --purge smscon_configuration
There is no change in the functionality yet.

Updated the instructions in post

knypek3 2010-09-11 18:47

Re: [Announce] SMScon (control your device with SMS)
 
What mean option trackon?
It is gps tracking??
I'm waiting for fixing bugs...

Abemelek 2010-09-11 20:08

Re: [Announce] SMScon (control your device with SMS)
 
I'm having hard time setting up the email

mrbiggzz79 2010-09-12 00:16

Re: [Announce] SMScon (control your device with SMS)
 
lil more help with this please

Saturn 2010-09-12 01:38

Re: [Announce] SMScon (control your device with SMS)
 
New release of the SMSCON Editor (version 0.4.3-7).

changelog:
- Changed the way the configuration file is edited to allow execution of the SMSCON Editor with user privileges. Now the application can be opened from the applications menu.
- General cleanup of the code. (reduced the size by 40%)

(Don't have yet the rights to upload in extras) you can find it in garage.

Saturn 2010-09-12 01:44

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

Originally Posted by Abemelek (Post 813617)
I'm having hard time setting up the email

The email option is limited (at this point in time) to smtp servers that don't require secure authentication. Digitalvoid is working to make it functional with more servers.

Can this be your problem?

Abemelek 2010-09-12 01:51

Re: [Announce] SMScon (control your device with SMS)
 
I created a new smtp account that is not ssl, but i still couldn't recieve an email. Do you know any email service that doesn't require secure authentication?

Saturn 2010-09-12 02:06

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

Originally Posted by Abemelek (Post 813775)
I created a new smtp account that is not ssl, but i still couldn't recieve an email. Do you know any email service that doesn't require secure authentication?

After changing the configuration file (manually or with the editor) in order the new configuration to be applied it is need to stop/start the process. (In the next version of the editor will do the reload after each change automatically.)

Sorry, I don't have any proposals for the server.

knypek3 2010-09-12 10:01

Re: [Announce] SMScon (control your device with SMS)
 
@ Saturn
Do you fix bug's from my post??

Saturn 2010-09-12 10:09

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

Originally Posted by knypek3 (Post 813957)
@ Saturn
Do you fix bug's from my post??

Sorry that I forgot to answer.

The MAILFROM field is not handled at the moment as I don't have the space in the tab to add it.

The call to trigger its update is already in the code and I will try to find a solution/space to add it in the UI in one of the future versions.

knypek3 2010-09-12 10:28

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


The mailfrom is the smallest problem

I have solution: I have the same email from as email to - i use one account to send and recived emails. You can do it like this.

How about this bugs:
Code:

Location: Internet connection don't start automaticlly.

SSH: Tested: Working but, when my friend call to me when i have established connection, connection was terminated. Than i one more time established connection - in log write - ssh already estabilished... but it don't.
Also i get sms ssh connection estabilished only when i close connection. Not when i connected, but when i end connection

Log: Logs are deleted when i reboot n900 :/

Boot: I try to set autoload on boot, but i can't i try with GUI and also with smscon -boot, but i can't When i reboot phone and type smscon -status it replay me smscon_daemon is off.


Saturn 2010-09-12 10:34

Re: [Announce] SMScon (control your device with SMS)
 
New release of SMSCON Editor ( 0.4.3-8)

Release Notes:
- The Editor will trigger a reload of the new configuration after every update of the config file.
- Temporarily the MailFrom field in the email settings will be filled by the MailAddress (in the future will get its own element in the GUI).
- Renamed buttons in the UI from "Create Settings" to "Update Settings".

(Don't have yet the rights to upload in extras) you can find it in garage.

knypek3 2010-09-12 10:37

Re: [Announce] SMScon (control your device with SMS)
 
Another bug this time in GUI:
Code:

root
cd patch
dpkg -i smscon.deb (version without gui)
installed
dpkg -i smscon1.deb (GUI)
setting up smscon_editor (0.4.3-7)
chmod /usr/share/applications/hildon-control-panel/smscon_editor.desktop nosuch file or directory
chown /usr/share/applications/hildon-control-panel/smscon_editor.desktop nosuch file or directory

/opt/smscon_configuration/smscon_editor.py
sh .... not found


To install it run:
[CODE]
root
apt-get remove smscon
cd patch
dpkg -i smscon(newest ver).deb
dpkg -i (oldest version gui).deb
dpkg -i (newest version gui).deb

than don't go to:
/opt/smscon_configuration/smscon_editor.py
but
open
/opt/smscon_editor/smscon_editor.py

Everything working but i have some errors when i install it.

Saturn 2010-09-12 10:57

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

Originally Posted by knypek3 (Post 813990)
Another bug this time in GUI:
Code:

root
cd patch
dpkg -i smscon.deb (version without gui)
installed
dpkg -i smscon1.deb (GUI)
setting up smscon_editor (0.4.3-7)
chmod /usr/share/applications/hildon-control-panel/smscon_editor.desktop nosuch file or directory
chown /usr/share/applications/hildon-control-panel/smscon_editor.desktop nosuch file or directory

/opt/smscon_configuration/smscon_editor.py
sh .... not found


To install it run:
[CODE]
root
apt-get remove smscon
cd patch
dpkg -i smscon(newest ver).deb
dpkg -i (oldest version gui).deb
dpkg -i (newest version gui).deb

than don't go to:
/opt/smscon_configuration/smscon_editor.py
but
open
/opt/smscon_editor/smscon_editor.py

Everything working but i have some errors when i install it.

Thanks for the pointers. Those are some leftovers in the build script. I will cleanup for the next version but they don't cause any harm.

Remember you don't need dpkg to install or update the SMSCON or the editor applications. Click from inside the browser on the garage page and will ask you if you want to install it.


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

vBulletin® Version 3.8.8