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)

n900testa 2010-10-08 07:17

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

Originally Posted by dragly (Post 835858)
The new version worked flawlessly. I did a full purge and removed all setting files to test it.

Nope, I'm in Norway. I think it could have something to with the DBus as I had the exact same problem when I was trying to create an application in Qt which listened for incoming SMS messages using Qt Mobility. Asking in the Nokia Forums didn't result in any replies on the issue.

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 :)


Quote:

Originally Posted by Saturn
It might be the operator that sends the message in a specific way or an application that interferes with the dbus signal.

I'm from inside Europe as well (Germany) using o2. On the weekend i will try to get my hands on another operator's SIMcard (Vodafone or TMobile) for my n900 to check whether it is an operator problem (i guess that it isn't - but i'll report back).
I would also like to help troubleshooting this, since i'd love to use this app and it looks like more people are (starting) to have the same problem.
Maybe someone could tell which "(non)standard" applications or which type of applications make use of the DBus, so i/we could check whether the problem is somehow related to a certain app that the people, where SMSCON doesn't work, have installed. ...just and idea...

PontusOhman 2010-10-08 07:28

Re: [Announce] SMScon (control your device with SMS)
 
Is this a bug or WHAT?!

A workmate to me send me a sms with "coffee" and my phone reply back with this to his cellphone:

-Keyboad-
Phone is being used:
keyboard is open.

Why the heck did my phone send SMSCON status to his phone? Tried with my own phone and send a similiar sms to my phone and got the same respons =/

Cheers
Pontus

digitalvoid 2010-10-08 07:53

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

Originally Posted by jakiman (Post 836016)
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?

If you use another phone number (different to initially stored number in user settings) to send the SMS command with, SMSCON always sends the reply to the phone you used to send the command with.
And then the new phone number is stored in the user settings.

But:

Only if SMSCON has never been activated and SIM card has been changed it uses the phone number you stored in the user settings file.

digitalvoid 2010-10-08 08:05

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

Originally Posted by PontusOhman (Post 836048)
Is this a bug or WHAT?!

A workmate to me send me a sms with "coffee" and my phone reply back with this to his cellphone:

-Keyboad-
Phone is being used:
keyboard is open.

Why the heck did my phone send SMSCON status to his phone? Tried with my own phone and send a similiar sms to my phone and got the same respons =/

Cheers
Pontus

The only possible reason I can think of SMSCON is doing this is because SMSCON was activated earlier in time. Maybe you used your workmates phone to activate it (his number in then stored in the user settings file)?

And your workmate send you later a SMS message ("coffee") and you opened your keyboard to respond and SMSCON detected this and send the reply ("keyboerd is open") to your workmate...

PontusOhman 2010-10-08 08:19

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

Originally Posted by digitalvoid (Post 836084)
The only possible reason I can think of SMSCON is doing this is because SMSCON was activated earlier in time. Maybe you used your workmates phone to activate it (his number in then stored in the user settings file)?

And your workmate send you later a SMS message ("coffee") and you opened your keyboard to respond and SMSCON detected this and send the reply ("keyboerd is open") to your workmate...

The SMSCON was activated earlier, but not with his phonenumber. He only send me a SMS with "Coffee" because he was on the other end of the building, and then he asked me what the heck I send to him :p

The version of the SMSCON Ediditor is 0.5.5 but I will purge it now and update it to the newer version =)

digitalvoid 2010-10-08 10:10

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

Originally Posted by PontusOhman (Post 836095)
The SMSCON was activated earlier, but not with his phonenumber. He only send me a SMS with "Coffee" because he was on the other end of the building, and then he asked me what the heck I send to him :p

The version of the SMSCON Ediditor is 0.5.5 but I will purge it now and update it to the newer version =)

Interesting case, I think I know why this is happening (so it might indeed be a bug!)

Could you change this in the /opt/smscon/smscon_daemon script:

Code:

def KEYBOARDslider(Action, Type):
    """
    Check state change of keyboard slider.
    """

    if EnableKeyboardDetect == True:
        # keyboard slider: 'open to closed' state or 'closed to open' state
        KeyState = os.popen('cat /sys/devices/platform/gpio-switch/slide/state').read().strip('\n')
        if KeyState == 'closed' or KeyState == 'open':
            SMSsend(SenderNumber,
                    'NOKIA N900\n' + \
                    '%s\n' % GetTime() + \
                    '-Keyboard-\n' + \
                    'Phone is being used:\n' + \
                    'keyboard is %s.' % KeyState,
                    'send SMS message keyboardslider used to')

Change SenderNumber to SENDERNUMBER.

When SMSCON is activated (by a valid SMS command) and option KEYBOARDDETECT = 'yes' and another SMS is send (without a valid SMS command), the keyboard detect function uses the number from the latest SMS. (I think, not fully sure)

PontusOhman 2010-10-08 13:16

Re: [Announce] SMScon (control your device with SMS)
 
Will reply back if it occur again :)

But, how to change the password from 12345 on the new release to my own password?

Cheers
Pontus

MasterZap 2010-10-08 13:21

Re: [Announce] SMScon (control your device with SMS)
 
Could SMSCon do something to try to boost the lightin of the front camera? E.g. try something similar to this command:

Code:

gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2 ! autovideosink
/Z

digitalvoid 2010-10-08 13:36

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

Originally Posted by MasterZap (Post 836370)
Could SMSCon do something to try to boost the lightin of the front camera? E.g. try something similar to this command:

Code:

gst-launch v4l2src device=/dev/video1 ! ffmpegcolorspace ! videobalance brightness=0.3 contrast=2 ! autovideosink
/Z

Tried it already, videobalance only works for video recording.

Saturn 2010-10-08 13:47

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

Originally Posted by PontusOhman (Post 836360)
Will reply back if it occur again :)

But, how to change the password from 12345 on the new release to my own password?

Cheers
Pontus

Hi,

After opening the editor pressing on the top (where it writes "SMSCON Configuration" will give you a drop-down menu. There you'll find the option "Change Password"

Maybe tomorrow, I will add some screenshots in the wiki.

Cheers.


All times are GMT. The time now is 12:10.

vBulletin® Version 3.8.8