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)

Estel 2012-03-23 17:02

Re: [Announce] SMScon (control your device with SMS)
 
sixwheeledbeast, remember, that You can also try it with your own number as master number (i.e. foe testing purposes, provide number that sit inside N900 as master number - You'll send and receive commands on same device).

/Estel

sixwheeledbeast 2012-03-23 17:12

Re: [Announce] SMScon (control your device with SMS)
 
@Estel
I did know, but had forgotten. Thanks.
I don't want to change anything incase I can't reproduce it.

sixwheeledbeast 2012-03-26 22:45

Re: [Announce] SMScon (control your device with SMS)
 
Here's the output the master seems to get two identical messages.
Although I didn't get two messages this time.
I haven't changed a thing since last time.
Note:- I anon'ed the email a bit more than just the domain.
Code:

==========================================================
2012-03-26 23:24:04[SMSCON] INFO: Updated user setting "DEBUGFLAGS" (DAEMON).
2012-03-26 23:24:05[SMSCON] INFO: Daemon smscon_daemon requested to start.
2012-03-26 23:24:07[SMSCON] INFO: Daemon smscon_daemon started [PID=3659].
2012-03-26 23:24:09[DAEMON] CRITICAL: smscon_daemon is starting.
2012-03-26 23:24:09[DAEMON] DEBUG: Debug logging enabled.
2012-03-26 23:24:09[DAEMON] INFO: Successfully loaded "/opt/smscon/smscon_config" file.
2012-03-26 23:24:10[DAEMON] INFO: Found 1 IMSI code(s) in "/opt/smscon/smscon_code" file.
2012-03-26 23:24:10[DAEMON] INFO: Authorized IMSI code found.
2012-03-26 23:24:10[DAEMON] WARNING: example.com: No property example.com on device with id /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0
2012-03-26 23:24:10[DAEMON] INFO: Phone battery charge is 3% (almost empty!).
2012-03-26 23:24:11[DAEMON] INFO: GPS query interval is 120 sec.
2012-03-26 23:24:11[DAEMON] INFO: Keyboard slider change detection is off.
2012-03-26 23:24:11[DAEMON] INFO: Battery status change detection is off.
2012-03-26 23:24:11[DAEMON] INFO: (CHECKHOST) Checkhost is off.
2012-03-26 23:24:11[DAEMON] INFO: smscon auto-loads at boot. OK.
2012-03-26 23:24:42[DAEMON] DEBUG: DeOctifyMessage: have outputText: [u'/', u'f', u'i', u'n', u'd', u'm', u'e', u'/', u'O', u'w', u'n', u'e', u'r']
2012-03-26 23:24:42[DAEMON] DEBUG: SMS Message Chars:0x2F[/], 0x66[f], 0x69[i], 0x6E[n], 0x64[d], 0x6D[m], 0x65[e], 0x2F[/], 0x4F[O], 0x77[w], 0x6E[n], 0x65[e], 0x72[r]
2012-03-26 23:24:42[DAEMON] DEBUG: SMS received:'/findme/Owner'
2012-03-26 23:24:42[DAEMON] INFO: Received smscon command [Owner] via SMS from +00123456789 (the master) . Acknowledge message disabled.
2012-03-26 23:24:42[DAEMON] WARNING: example.com: No property example.com on device with id /org/freedesktop/Hal/devices/computer_power_supply_battery_bq27200_0
2012-03-26 23:24:42[DAEMON] INFO: Phone battery charge is 3% (almost empty!).
2012-03-26 23:24:42[DAEMON] WARNING: (SILENCE) Silencing is disabled: Phone probably not silent while controlled remotely.
2012-03-26 23:24:43[DAEMON] INFO: File "/opt/smscon/example.com" now deleted.
2012-03-26 23:24:43[DAEMON] INFO: Script file (/opt/smscon/smscon_script) executes in BG.
2012-03-26 23:24:51[DAEMON] DEBUG: GSM modem response "+CMGS:" timeout.
2012-03-26 23:25:01[DAEMON] DEBUG: GSM modem response "+CMGS:" timeout.
2012-03-26 23:25:01[DAEMON] ERROR: Failed to send SMS to "+00123456789".
2012-03-26 23:25:01[DAEMON] INFO: (EMAIL) Trying to connect to "example.com:587" (2012-03-26 23:25:01).
2012-03-26 23:25:02[DAEMON] INFO: (EMAIL) Trying to login to "example.com".
2012-03-26 23:25:04[DAEMON] INFO: (EMAIL) Trying to send email to "example.com".
2012-03-26 23:25:06[DAEMON] INFO: send email message (subject=script) to <xxxxxxxxxxxxx@example.com>
2012-03-26 23:25:06[DAEMON] INFO: (EMAIL) Mailserver connection closed successful.
2012-03-26 23:26:22[DAEMON] CRITICAL: smscon_daemon is stopping on signal 15.
2012-03-26 23:26:22[DAEMON] CRITICAL: smscon_daemon is stopping on KeyboardInterrupt.
2012-03-26 23:26:22[SMSCON] INFO: Daemon smscon_daemon stopped [PID=3659].
2012-03-26 23:26:23[SMSCON] INFO: Script smscon_script was not running.
2012-03-26 23:26:24[SMSCON] INFO: Updated user setting "DEBUGFLAGS" ().


yablacky 2012-03-28 21:20

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

Originally Posted by sixwheeledbeast (Post 1184433)
Here's the output the master seems to get two identical messages.
Although I didn't get two messages this time.
I haven't changed a thing since last time.
Note:- I anon'ed the email a bit more than just the domain.
...

Thank you for the report! It helps me a lot to localize the problem: In the SMS modem protocol there was a repeated timeout after the SMS content has been transferred. Since it does not happen in older version I will do some further investigations. Please be patient until a few days after Easter.

yablacky 2012-04-14 07:51

Re: [Announce] SMScon (control your device with SMS)
 
New release SMSCON 0.9.17-1 has been queued for loading into fremantle extras-devel repository!

Changes:

FIX: Notification SMS were sent twice some times due to a too short timeout value. Now a longer timeout will hopefully fix that.

nicholes 2012-04-14 08:27

Re: [Announce] SMScon (control your device with SMS)
 
Deos new smscon sends sms without changing the SIM? Like before i hv reported(when slider open is checked)?

Is there any way that we can use two or more script? Script1 script2 etc. If not, i think it is good thing for next update to add.

yablacky 2012-04-14 08:36

Re: [Announce] SMScon (control your device with SMS)
 
I just worked on the twice sms problem. Nothing else changed yet.

Since I could never reproduce the twice sms problem by myself, I would like those to test the devel-version who have had the problem in the past. Thanks!

willi6868 2012-04-14 10:01

Re: [Announce] SMScon (control your device with SMS)
 
Will someone port SMScon to Nokia N9 in the future? :)

nicholes 2012-04-14 11:24

Re: [Announce] SMScon (control your device with SMS)
 
i would install and test new version.

BTW what about running more than one script in new update?

sixwheeledbeast 2012-04-14 11:36

Re: [Announce] SMScon (control your device with SMS)
 
Installed will test ASAP. Thanks for the update.
If I run your script again and post the output, will that be useful?


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

vBulletin® Version 3.8.8