maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;) (https://talk.maemo.org/showthread.php?t=73068)

MasterZap 2011-06-03 09:50

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by lidow (Post 1021451)
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

MasterZap 2011-06-03 09:52

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by Gusse (Post 1021180)
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

MasterZap 2011-06-04 16:49

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Did everyone fall asleep? :)

/Z

petur 2011-06-04 17:07

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
yeah, sorry ;)

ndi 2011-06-05 18:39

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Mine's in the shop.

Gusse 2011-06-05 19:17

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
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.

montun 2011-06-06 12:40

Bug: Only Latitude is configured, gps stays on forever
 
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...


petur 2011-06-06 12:42

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
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?

petur 2011-06-06 12:43

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Does "0 minutes between samples" means that it is configured to auto-detect changes in position? I thought that didn't work yet

montun 2011-06-06 13:21

Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
 
Quote:

Originally Posted by petur (Post 1023245)
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


All times are GMT. The time now is 15:49.

vBulletin® Version 3.8.8