Notices


Reply
Thread Tools
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#191
Originally Posted by lidow View Post
What about adding a place with ZapLoc? Is this possible?

Sorry if this is answered before, but I cannot find a hint in the first post.
It's answered before. The short answer is: No.

The long answer: none of the API's except FourSquare even allows adding a place AT ALL, and there is perfectly usable mobile websites to add spots for all FourSquare (www.cothin.com/m) and Gowalla (m.gowalla.com).The problem is Facebook - for which I currently have no good solution at all, I'm afraid. You can't do it via the API, and the old touch.facebook.com (where it USED to work) has been cancelled by facebook

/Z
 
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#192
Originally Posted by Gusse View Post
Hi Zap,

Any changes to get network access initiation when Zaploc needs to update information to Internet (earlier post)?
Time to time Zaploc updates info OK (set 30min), but sometimes there are several hour gaps. Both, in case you are in the same place longer time or locations are changed.
You'll like next build

Adding the conic library (which I use to detect which WiFi spot you are connected to, and associate a ZapLoc with a WiFi network) made this stupidly trivial to add.

There is in build 51 an option in background updates to choose what it does when there is no network connection, either "do nothing, don't post" or "try to start the network, then post".

/Z

Last edited by MasterZap; 2011-06-03 at 09:57.
 

The Following User Says Thank You to MasterZap For This Useful Post:
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#193
Did everyone fall asleep?

/Z
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#194
yeah, sorry
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#195
Mine's in the shop.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
 
Gusse's Avatar
Posts: 168 | Thanked: 206 times | Joined on Apr 2010 @ Finland
#196
Now network updates are working well
I got one error during testing.
Code:
17:58:10: Connection is up - Good!
17:58:31: Error updating location <class 'socket.sslerror'>
17:58:31: Sleeping... Zzzzz
Any idea what is causing this? This update never reached latitude server.
I have more complete log if needed.

Last edited by Gusse; 2011-06-05 at 20:05.
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2011
#197
The gps icon in the top bar is never turned off after starting the daemon when only google latitude is configured.

Here is the output when running the daemon in verbose mode

Code:
$ python /opt/zaploc/zaploc-daemon.py -v
Starting ZapLoc daemon...
     Location method: Cell-tower only
     0 minutes between samples
14:18:56: CONNECTED (MYAP, xxxx-9cc3-4a06-9de1-xxxxxxx, WLAN_INFRA, 0, 0)
14:18:59: Starting GPS...
14:19:00: Got loc data xx.yy1775,xx.yy1240 (acc 1281.3), head nan, speed nan, Mode 2 (Cell-tower), Try 0
14:19:00: Last used sample 1.5 minutes ago
14:19:00: Last used sample 0.0 meters away
14:19:00: Latitude updates within 150 meters and within 24 hours - not sending
14:19:00: General location update xx.yy1775,xx.yy1240 (acc 1281.3)
14:19:00: No services configured - doing nothing.
14:19:00: Awaiting next cell tower change...
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#198
set the option to update at least every x hours.... From the log it looks like it got a celltower fix, I assume you have it configured to use towers only?
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#199
Does "0 minutes between samples" means that it is configured to auto-detect changes in position? I thought that didn't work yet
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2011
#200
Originally Posted by petur View Post
set the option to update at least every x hours.... From the log it looks like it got a celltower fix, I assume you have it configured to use towers only?
Yes towers only, and "check if location has changed" set to "when cell tower change". To debug I delete my configuration ~/.zaploc and enabled latitude and set "check if location has changed" to "when cell tower change". The same thing happend the gps icon did not go away (wheter it means gps is on and draining the battery, i do not know).

Trying other settings for "check if location has changed" set to "every XX minutes". Works, the gps icon is only on for a few seconds.

The problem must be in the "cell tower change" configuration
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:55.