Reply
Thread Tools
peyob's Avatar
Posts: 21 | Thanked: 2 times | Joined on Jun 2006 @ PAU - South of France
#11
Is anybody can explain me how use this feature? I install all scripts as explanation, but nothing happened.
Thanks
 
Posts: 82 | Thanked: 44 times | Joined on Feb 2010
#12
This feature is mainly a tool for developers at this stage (hence posting in the development thread and password protecting it).

Having added the device on the system, put the scripts in the correct places on your device and modified them as needed, you will need to restart your network (/etc/init.d/networking restart) or reboot the phone to get it to contact the server and perform whatever actions you have setup. These scripts only do something when the network is restarted, there is no interface on your phone for anything.

Once again - the scripts are there more for reference so I don't guarantee they will work right off the bat.

It is my hope that one of the experienced developers on this forum will knock together an app that is easily installable and deals with configuration that will replace the scripts.
 
peyob's Avatar
Posts: 21 | Thanked: 2 times | Joined on Jun 2006 @ PAU - South of France
#13
Thank you benh_n900
 
Posts: 17 | Thanked: 0 times | Joined on Jul 2010
#14
After running whereami.py I am getting following error:

Code:
Getting Location from GPS
Call http://ws.geonames.org/findNearestAddress?lat=xxxxxxxxxxx&lng=xxxxxxxxxx
Traceback (most recent call last):
  File "./whereami.py", line 82, in <module>
    addr=get_addr_from_xml(addrxml)
  File "./whereami.py", line 14, in get_addr_from_xml
    addressobj=xmldoc.firstChild.childNodes[1]
IndexError: list index out of range
Could you tell me what's wrong?
 
Posts: 82 | Thanked: 44 times | Joined on Feb 2010
#15
Originally Posted by mrover View Post
After running whereami.py I am getting following error:

Code:
Getting Location from GPS
Call http://ws.geonames.org/findNearestAddress?lat=xxxxxxxxxxx&lng=xxxxxxxxxx
Traceback (most recent call last):
  File "./whereami.py", line 82, in <module>
    addr=get_addr_from_xml(addrxml)
  File "./whereami.py", line 14, in get_addr_from_xml
    addressobj=xmldoc.firstChild.childNodes[1]
IndexError: list index out of range
Could you tell me what's wrong?
I am not 100% sure, but my guess is that there is a problem accessing geonames to get the address text - you could just remove those lines from the script and it might work, although you would only get the latitude and longitude (which is enough for the GPS fix in any case).
__________________
http://www.whereismydevice.com - Recover your device if lost/stolen

http://jqueryinreallife.blogspot.com - Comedy jQuery blog
 
Posts: 56 | Thanked: 31 times | Joined on Jul 2008 @ Austria
#16
If you want, I'll create a debian package of this for easy installation. What E-Mail address and Name should I list for the maintainer in the package?

Last edited by dannym; 2010-07-12 at 03:16.
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#17
First I'd like to say that this is a really kewl concept. Thanks for sharing.

A few questions about issues I'm having:

First, assuming I put the scripts in /home/opt/n900tracking & symlink that directory to /opt, the c_password value in the trackerconstants.py is the only thing that needs modifying, correct?

Next, looks like I accidently mixed my IMEI & IMSI #'s the first time, so I properly added a second device but I can't seem to delete the first one. Is this just a missing feature or am I expecting something wrong?

Lastly, no matter what I try I see in the log "Update attempt made with incorrect password (PASSWORD)". It needs the password of my account or something else? I tried both "developer" & "maemo" & have changed my account password several times same error. Running form the command line doesn't give much feedback:

Code:
$ /home/opt/n900tracker/getactions.py
Call http://tracking.isgreat.org/api?IMEI=MYIMEI&IMSI=MYIMSI&Pass=MYPASSWORD
mode is
Checking if location was requested
Checking if ssh was requested
Checking if SMS was requested
TX
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#18
Originally Posted by grog View Post
A few questions about issues I'm having:
[...snip...]
(BUMP) Anyone there? Was kinda hoping to have a tracking system in place as I;m going on a trip next week & I'd hate to be put in the situation to say "I only wish I had" .
__________________
GROG!
N900 | ZAGG Body Armour | 16Gb A-DATA micro-sd
N810 | 2 x Patriot 8gb mini-SD | Boxwave Crystal Clear SS | Black Aluminum case | OTG dongle
N800 | 2 x 8gb OCX SD | Boxwave Anti-glare SS | PDAir book-style case
Holux M-1200 bluetooth GPS | iGo 4-row bluetooth keyboard | Linksys USB 10/100 ethernet | Plantronics Voyager 855 BT Headset
 
Posts: 82 | Thanked: 44 times | Joined on Feb 2010
#19
Originally Posted by dannym View Post
If you want, I'll create a debian package of this for easy installation. What E-Mail address and Name should I list for the maintainer in the package?
That would be nice, although I am not sure that my knocked-together scripts are ready for easy installation - ideally it needs someone to create a gui for configuration first I think. I am not sure I have the time/resource to properly support the client side stuff for this right now
__________________
http://www.whereismydevice.com - Recover your device if lost/stolen

http://jqueryinreallife.blogspot.com - Comedy jQuery blog
 
Posts: 82 | Thanked: 44 times | Joined on Feb 2010
#20
Originally Posted by grog View Post
(BUMP) Anyone there? Was kinda hoping to have a tracking system in place as I;m going on a trip next week & I'd hate to be put in the situation to say "I only wish I had" .
Sorry - I have been away and without decent internet access for the last month...

Originally Posted by grog View Post
First, assuming I put the scripts in /home/opt/n900tracking & symlink that directory to /opt, the c_password value in the trackerconstants.py is the only thing that needs modifying, correct?
Yep

Originally Posted by grog View Post
Next, looks like I accidently mixed my IMEI & IMSI #'s the first time, so I properly added a second device but I can't seem to delete the first one. Is this just a missing feature or am I expecting something wrong?
The delete button doesn't delete it? What browser are you using?

Originally Posted by grog View Post
Lastly, no matter what I try I see in the log "Update attempt made with incorrect password (PASSWORD)". It needs the password of my account or something else?
This is the password you set for the device (optional) when you press the actions button.

Hope this helps!

Ben
__________________
http://www.whereismydevice.com - Recover your device if lost/stolen

http://jqueryinreallife.blogspot.com - Comedy jQuery blog
 

The Following User Says Thank You to benh_n900 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:42.