View Single Post
grog's Avatar
Posts: 546 | Thanked: 85 times | Joined on Feb 2008 @ Winnipeg, Canada
#25
Originally Posted by n900-dk View Post
The 'findNearestAddress' from geonames.org works only in the US, guess you are not there?
Nope. But close, Canada

But I have modified the 'whereami.py', so it will just return the GPS coordinates, and in the webservice at http://whereismydevice.com/devices, you will then have a link to Google Maps for this position. Works fine for me here in Denmark
Ooo!! Shiny. Gimmee! Gimmee! Please! PLEASE!!

One more thing. Running getactions.py while selecting the ssh tunnel action gave the error "/bin/sh: ssh.sh not found". This led me to make a few corrections to the getactions.py script so the path would be prepended properly:

Code:
$ diff getactions.py getactions.py.001
45c45
<    script += "whereami.sh"
---
>    script = "whereami.sh"
54c54
<    script += "ssh.sh"
---
>    script = "ssh.sh"
I also changed the call to the repeating location script, although I hadn't tested that yet but it seemed right. As well in the ssh.sh script I had to change the output redirection from /dev/NULL to /dev/null.

After that, works beautifully.
Much appreciated.
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