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)

joshv06 2010-08-28 19:37

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

Do you plan to push your project to Extras-Devel?

digitalvoid 2010-08-28 21:24

Re: [Announce] SMScon (control your device with SMS)
 
If i figured it out, yes.

Saturn 2010-08-28 21:54

Re: [Announce] SMScon (control your device with SMS)
 
Just came back.

The SMS messages work nice.

Here are the error messages from your log when i sent 'Camera'

Code:

(Sat Aug 28 23:34:59 2010) DAEMON: camera picture acquired
(Sat Aug 28 23:35:00 2010) DAEMON: current network (WLAN) disconnected
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/bin/smscon_daemon", line 221, in SMSreceive
    ExecuteCommand(Message, Number) # execute valid sms command
  File "/usr/bin/smscon_daemon", line 290, in ExecuteCommand
    EnableCamera()
  File "/usr/bin/smscon_daemon", line 319, in EnableCamera
    EnableConnection('GPRS')
  File "/usr/bin/smscon_daemon", line 390, in EnableConnection
    IAPid = E.findall(Output)[0].replace('@32@', ' ')
ndexError: list index out of range

I think it disconnected the working wlan connection it had already and tried to connect to gprs and failed. Btw, i have a gprs connection already defined in my internet connections which is working when i'm away from available wlan.

hope it helps

edit: using version 2.1

jakiman 2010-08-28 22:15

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

Originally Posted by digitalvoid (Post 800974)
If i figured it out, yes.

Can someone please help OP and get this pushed out to extras-devel? :(

knypek3 2010-08-28 22:20

Re: [Announce] SMScon (control your device with SMS)
 
i've got problem with camera option

Code:

INFO:root:(Sun Aug 29 00:08:54 2010) DAEMON: user settings succesfully loaded from "smscon_config" file
INFO:root:(Sun Aug 29 00:08:54 2010) DAEMON: reading valid IMSI code (2600196032xxxxx) from file
INFO:root:(Sun Aug 29 00:08:54 2010) DAEMON: authorized IMSI code found
INFO:root:(Sun Aug 29 00:08:54 2010) DAEMON: smscon autoloads at boot
INFO:root:(Sun Aug 29 00:08:54 2010) DAEMON: no test arguments passed for smscon_daemon
INFO:root:(Sun Aug 29 00:09:41 2010) DAEMON: received valid SMS message with command [Camera] from "+485021xxxxx"
INFO:root:(Sun Aug 29 00:09:49 2010) DAEMON: camera picture acquired
INFO:root:(Sun Aug 29 00:09:50 2010) DAEMON: current network (WLAN) disconnected
INFO:root:(Sun Aug 29 00:09:59 2010) DAEMON: network detected (GPRS)
INFO:root:(Sun Aug 29 00:09:59 2010) DAEMON: new network connected (GPRS)
INFO:root:(Sun Aug 29 00:10:10 2010) DAEMON ERROR: failed to send email message to "'marcin@xxxxxxx.pl'"
INFO:root:(Sun Aug 29 00:10:10 2010) DAEMON: camera picture send to email address ('marcin@xxxxxxxx.pl')


I try VALIDEMAILADDRESS the same as EMAILFROM but i don't get any messages :( why?


to create deb use:
http://easy-deb.sourceforge.net/

digitalvoid 2010-08-29 06:24

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

Please show me the output of this command (it's a one line command). Run as root in X Terminal:

Code:

Nokia-N900:~# gconftool -R /system/osso/connectivity/IAP | grep "/system/osso/connectivity/IAP/" | grep GPRS
Should be like this:

Code:

/system/osso/connectivity/IAP/xxxxxxxxxxxxx@GPRS:
@ knypek3:

Are you sure that your email settings are correct?

knownothing 2010-08-29 06:52

Re: [Announce] SMScon (control your device with SMS)
 
i am crazy waiting for this nice app appear in repos.

erniadeldesktop 2010-08-29 07:29

Re: [Announce] SMScon (control your device with SMS)
 
maybe I've missed it, but have you implemented some sort of pwd checking for the incoming sms? "friends" rebooting your device after they know they can can be quite annoying
2nd: can you setup a "play ringtone" funct? in case you lost it in your car..
thank you for the great idea, I will wait 'till on extras-devel.

digitalvoid 2010-08-29 08:11

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

Originally Posted by erniadeldesktop (Post 801209)
maybe I've missed it, but have you implemented some sort of pwd checking for the incoming sms? "friends" rebooting your device after they know they can can be quite annoying
2nd: can you setup a "play ringtone" funct? in case you lost it in your car..
thank you for the great idea, I will wait 'till on extras-devel.

The sms commands can be changed in the Python script, but I will make it a new user setting in the 'smscon_config' file in the next version of smscon.

I'm working on it to get it in extra-devel repository.

Saturn 2010-08-29 10:02

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

Originally Posted by digitalvoid (Post 801184)
@ Saturn:

Please show me the output of this command (it's a one line command). Run as root in X Terminal:

Code:

Nokia-N900:~# gconftool -R /system/osso/connectivity/IAP | grep "/system/osso/connectivity/IAP/" | grep GPRS
Should be like this:

Code:

/system/osso/connectivity/IAP/xxxxxxxxxxxxx@GPRS:

Hi,

There's no IAP with GPRS at the name. The one responsible for giving me internet connection is:
Code:

/system/osso/connectivity/IAP/Web@32@Vodafone:
Thanks for your time.


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

vBulletin® Version 3.8.8