![]() |
Re: [Announce] SMScon (control your device with SMS)
How easy is this? Can I backup my applications before I help you test it? What apps do I have to have pre-installed? I don't code, I like tech but I dunno how to use the X terminal etc. so do I need to know how to?
|
Re: [Announce] SMScon (control your device with SMS)
i myself am very much a beginner in Xterminal, i know my way around some codes, but not allot.
I somehow can't get it to work while i've done everything that i'm supposed to do... to give you a simple guide, all you have to do is type these codes in xterminal. Make sure you've installed Rootsh (from the cataloges in the app manager Open Xterminal and type: Code:
root open smscon_daemon (from where you downloaded it to) with "notes" and edit these lines into the appropriate lines Code:
RemoteHost = 'XXXXXXXXXXXXX' # remote server address now move both the files to N900/newfolder (create the newfolder if you don't have it yet) open Xterminal: note some letters are Capitals! Code:
sudo gainroot open Xterminal again: Code:
root you can run smscon by opening Xterminal: Code:
root Code:
root Good luck, however somehow my phone doesn't recognise python :( hope yours does. |
Re: [Announce] SMScon (control your device with SMS)
Has anyone tried to build this stuff on top of IAMHERE instead of starting from scratch? We had this in the works for a while but it was basically abandoned.
http://wiki.maemo.org/I_am_here it could be idea to combine these projects just a thought |
Re: [Announce] SMScon (control your device with SMS)
@ AlexV12:
It's smscon -help (no space between minus and command) I am currently rewriting the code, so new version is comming soon. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
It would have been a great idea, as Iamhere worked perfect including sending an email with the frontcam image etc. too bad it got abandoned |
Re: [Announce] SMScon (control your device with SMS)
I like to implement email sending of frontcam picture (is a beter idea, easier) but at the moment I don't know how. I.m trying to find out.
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
Yes, it can check website. But what when my site have adress http://asgarmy.ovh.org and to send to it any file i must log to ftp - ftp.60free.ovh.org ? I can't send throw ftp.asgarmy.ovh.org. So i can't use it script becouse when i type in remotehost asgarmy.ovh.org smscon don't send anything. When i type ftp adress (ftp.60free.ovh.org) in remote host the function def StatusRemoteHost(): check this adress and send my error, becouse on this adress (ftp.60free.ovh.org) aren't any site. It is only ftp. I think you now know what is my problem... So can you help me now? :D Mabye this link can help You: http://docs.python.org/library/email |
Re: [Announce] SMScon (control your device with SMS)
I have changed the StatusRemoteHost() to use the ping command, then it would work for you. (is much better solution)
Smtplib in Python can indeed send emails, I will implement this in favor of ftp sending of frontcam picture. In a couple of days I will post a new version of smscon... |
Re: [Announce] SMScon (control your device with SMS)
Updated the first post, new version coming soon!
|
Re: [Announce] SMScon (control your device with SMS)
Updated the first post, new version (v2.1) is out!
|
Re: [Announce] SMScon (control your device with SMS)
Thanks!
Do you plan to push your project to Extras-Devel? |
Re: [Announce] SMScon (control your device with SMS)
If i figured it out, yes.
|
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 hope it helps edit: using version 2.1 |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
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 I try VALIDEMAILADDRESS the same as EMAILFROM but i don't get any messages :( why? to create deb use: http://easy-deb.sourceforge.net/ |
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 Code:
/system/osso/connectivity/IAP/xxxxxxxxxxxxx@GPRS: Are you sure that your email settings are correct? |
Re: [Announce] SMScon (control your device with SMS)
i am crazy waiting for this nice app appear in repos.
|
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. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
I'm working on it to get it in extra-devel repository. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
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: |
Re: [Announce] SMScon (control your device with SMS)
Hi digitalvoid,
Something for you to consider; You can send the gps coordinates in a click-able google maps URL. eg: http://maps.google.com/maps?q=52.350693,4.800796 |
Re: [Announce] SMScon (control your device with SMS)
Hi digitalvoid,
One more case for you :) Haven't checked the code but i get the impression that you are doing some kind of averaging from the last 4 coordinates. IMHO, you should choose the one with the best accuracy instead. Here is an example of how the best location guess has not been given back but instead one with 50km error. (the effect might be also augmented as I am traveling at the moment and the first lock is way out in accuracy but I think is a good example to show the issue). Code:
(Sat Aug 28 23:40:39 2010) DAEMON: starting GPS device |
Re: [Announce] SMScon (control your device with SMS)
@ Saturn:
This is true, It's averaging, but I think I will change this to your idea ('best accuracy out of 4'). This is more logical. It will also be a user setting in config file. About the '/system/osso/connectivity/IAP/Web@32@Vodafone:' issue; I have rewritten this part (bit of a hack) and I should work now for you and also others. About your 'click-able google maps URL' idea, I like it. I will implement this. (send it with sms and/or email) @ knypek3: I have no idea why it's not working; it could be port or firwall related or the way your smtp server is authenticating (more likely). I will look into it. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Heh is it any way to bypass it? Or i must search account without smtp authentication? |
Re: [Announce] SMScon (control your device with SMS)
How about adding a 'send a test mail' option in the smscon?
It would help testing if settings have been entered correctly in the config file easier. |
Re: [Announce] SMScon (control your device with SMS)
@ Saturn:
Already there :), use: Code:
smscon -stop (if it was running) Code:
gconftool -R /system/osso/connectivity/IAP | grep " name = " @ knypek3: I will look if I can make it auto detect the authentication, but you can use another smtp server without secure authentication. |
Re: [Announce] SMScon (control your device with SMS)
when i type test email the connection don't end so, or it connecting or i don't know why. I have my email server. I try with and without auth. Nothing happen. with and without i have error :(
i try gconf. it send me: name = linksys name = Moja_siec name = Plus gsm internet gprs |
Re: [Announce] SMScon (control your device with SMS)
@ knypek3:
There was a bug in my code which has to do with the detection of the connection name , which I have fixed. (Thanks Saturn). New code coming soon. PS: The secure smtp authentication will not be fix in this code. I have to examine this further... |
Re: [Announce] SMScon (control your device with SMS)
Quote:
It's strange becouse smtplib should operate smtp authentication. I'm the only one whom it is not working email func?? |
Re: [Announce] SMScon (control your device with SMS)
Quote:
http://wiki.maemo.org/Extras-devel |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Code:
p.author = 'Digitalvoid' |
Re: [Announce] SMScon (control your device with SMS)
what happens if i change the code:
Code:
Comlist = ['location' say for example, i'd want to change the smstrigger: 'location' to 'where are you' as that wouldn't trigger the thiefs attention so much when you send a tekstmessage with "where are you" |
Re: [Announce] SMScon (control your device with SMS)
New version is out (v0.2.2).
@ AlexV12: In the new version you can customize this in the smscon_config file. |
Re: [Announce] SMScon (control your device with SMS)
and where do i find/edit the smscon_config file after i've installed the .deb?
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
See first post (has all the new information) |
Re: [Announce] SMScon (control your device with SMS)
hmn...
when i install deb and try call nothing happen. and in log write Code:
INFO:root:(Mon Aug 30 22:57:16 2010) DAEMON: user settings succesfully loaded from "smscon_config" file When you giving a new version in deb, can you give a version in py also? I want python version more then deb. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
|
Re: [Announce] SMScon (control your device with SMS)
Quote:
install leafpad from the application manager Open xterm type: root leafpad /usr/bin/smscon_config You are ready to edit & save. Hope it helps. |
Re: [Announce] SMScon (control your device with SMS)
@ knypek3:
version 0.2.2 will be replaced by 0.2.3. There is a bug in 0.2.2; I have forgotten to change the name of a variable. Sorry. |
Re: [Announce] SMScon (control your device with SMS)
Quote:
Can you write a func when sms with command example "ssh" arrived n900 connect to gprs and send to xterm command "ssh -p 22 user-name@IP -R 1201:localhost:22" ?? But this command should be mod, to can manualy type IP and password. It work's great and give a full control anywhere your n900 is. http://www.youtube.com/watch?v=3msLEENRUcM |
All times are GMT. The time now is 18:21. |
vBulletin® Version 3.8.8