Notices


Reply
Thread Tools
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#111
is it possible to change the positioning method and update frequency via command line or script? Or add specifc location based rules within the program?

basically what i want do do is to change them depending on where I am and what I am connecting to. eg if i am on wlan, then i am generally going to be static within a certain radius, so the update frequency can be reduced.

i would want to increase my updates and accuracy if i am in my car for example, which i can identify automatically via it's bluetooth connection.

good work so far, yout efforts are apprciated.
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________

Last edited by gazza_d; 2011-01-30 at 11:00. Reason: added rationale for request.
 
Posts: 177 | Thanked: 199 times | Joined on Nov 2007 @ Concepcion, Chile
#112
Originally Posted by gazza_d View Post
is it possible to change the positioning method and update frequency via command line or script? Or add specifc location based rules within the program?.
the config file is
~/.config/linfati/GoogleLatitude.conf
__________________
User:rlinfati
 

The Following 2 Users Say Thank You to rlinfati For This Useful Post:
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#113
Using a script like this you can get your current location when you are near wifi. Could this possibly be added to this script?

It could be used instead of gps or locating via cell phone base station information. This appears to give fairly accurate readings, and could fall back on gps or cell phone positioning if the accuracy wasn't high enough?

I might try to write a small script that will return location information using this automatically.
 
Posts: 177 | Thanked: 199 times | Joined on Nov 2007 @ Concepcion, Chile
#114
@xur17

the cell tower mode do the same...
it's send the cell id send, wifi mac visible, and others.... but is based in nokia server and not google server

i have a bash script more complete for google service... i going to see if i can integrate it....
__________________
User:rlinfati
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#115
I use alarmed to switch my phone offline at night and back online again in the morning.
This was working fine, but it recently stopped working properly - when I look at the screen, there is a dialog on there that asks if I want to switch out of offline mode.

Did anything change to the latitude daemon that could cause it to do this (ie, tries to foce online rather than just check if the internet is available)?

I remember that this worked some time before, so this behavior came in a recent update of the Latitude daemon.
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 
Posts: 177 | Thanked: 199 times | Joined on Nov 2007 @ Concepcion, Chile
#116
@peter the version 0.6-x do not try auto connect...

@xur17 this is my script http://pastebin.com/gBpBukWm but need curl ( or wget ) to work... i going to translate to qt...
__________________
User:rlinfati
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#117
Originally Posted by rlinfati View Post
@peter the version 0.6-x do not try auto connect...
I seem to have 0.6-2 installed, I'll try to experiment a bit more tonight to figure out the culprit.
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 
Posts: 356 | Thanked: 123 times | Joined on Dec 2008
#118
Originally Posted by rlinfati View Post
@xur17

the cell tower mode do the same...
it's send the cell id send, wifi mac visible, and others.... but is based in nokia server and not google server

i have a bash script more complete for google service... i going to see if i can integrate it....
I tried using this script on cell tower mode while in my house (wifi visible) and the margin of error for the location was quite large.

That is interesting that nokia does get location based on wifi mac visible. I assumed they didn't.
 
Posts: 177 | Thanked: 199 times | Joined on Nov 2007 @ Concepcion, Chile
#119
@xur17, in my script i can add the cell id to improve the accuracy, maybe your wifi router mac is not registred in google
__________________
User:rlinfati
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#120
Hey, I have a suggestion: When connected to wifi - stop updating (reuse latest GPS fix) or at least reduce rate of updates a lot!

That would be perfect.

Other than that, it is working quite well now!!! Great Work!


/Z

Last edited by MasterZap; 2011-01-31 at 20:07.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:03.