![]() |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
At least, that's what's supposed to happen.... maybe there is an issue w. the default of the timeout or something.... I would suggest you re-test 45 in verbose mode, i.e. open XTerm and type Code:
python /opt/zaploc/zaploc-daemon.py -v a) "A good location fix was acquired within the timeout: Good" or b) "No fix acquired for X seconds - doing a forced location push" EITHER WAY, at that point it should turn the GPS back off. Let me know if that happens or not. It sure happens here...!! /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Code:
~ $ python /opt/zaploc/zaploc-daemon.py -v Code:
4335 user 50076 S /usr/bin/python /opt/zaploc/zaploc-daemon.py -d |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
This is incredibly strange, because there is no functional difference whatsoever between you running the daemon on the command line, and starting it in background.... it's the exact same code doing the same thing (except the background mode doesn't print out a bunch of crap to nowhere) Very Very Strange. Especially if you see a difference w. version 44, because there IS no difference in the daemon (except it reads the number "30" from the config file instead of being hardcoded) .... Edit: Actually I found a bug in that code, it DOESN'T read it properly from the config file, it is ALWAYS 30 seconds. Which means there is even less of a difference!!! Sorry, I have zero explanation what is going on :( /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Code:
4335 user 50076 S /usr/bin/python /opt/zaploc/zaploc-daemon.py -d |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
This is very strange. As I said in the edit above, a bug causes 45 daemon NOT to read the fix timeout correctly. Which means it is always 30 seconds. Which means... it is completley identical 100% to build 44.
I don't quite understand why you find a difference :( /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Code:
python /opt/zaploc/zaploc-daemon.py -v Code:
python /opt/zaploc/zaploc-daemon.py -d Edit: Code:
python /opt/zaploc/zaploc-daemon.py -d -v |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
That's... odd. Very very very very very very very very very odd.
What about without the "-v"? (Only difference is it should print less crap than with "-v") /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Very nice application and it works quite well, but why all selection buttons are empty/without any text? Anyone else seen this?
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Code:
~ $ python /opt/zaploc/zaploc-daemon.py |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Thank you this is helpful. STRANGE... but helpful :)
P.S: I was able to reproduce it here. My problem is that I live in an area with way too good GPS reception I basically have to wrap the phone in grounded aluminium foil or go into our dirt cellar to kill the signal :) LOL, see the error. Some code that actually does stuff had slipped into a case only true when verbose=1. OOPS :) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Ok, when build 47 shows up it will have this fixed (as well as the facebook problem posted before here).
I'm actually more surprised how build 44 ever worked ;) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
EDIT: It works \o/ May I request a feature? It would be nice to add a Facebook Place to my existing Zaplocs. This way I wouldn't have to delete and recreate all my Zaplocs :) |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
(I.e. if a spot references Gowalla place "Bobs House", Fourquare spot "Bobs Rezidenze", and you create a new ZapLoc reffering either of those (or both), the original one will disappear (you can't have two ZapLoc's reffering to the same database item). I have no plan to add an explicit editing interface... really. Not something you do very often, methinks. But who knows. Some day. Maybe. Don't hold your breath, though, unless blue is your color :) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
If good GPS reception then no problems, if not then it never goes to sleep. I could reproduce problems also with v44, so I was just lucky to receive GPS signal then. This just verifies your assumtion about root cause.
Thanks again! Your software is great and support even better :) |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
I have an issue with Zaploc and network connection.
I'm using "AutoDisconnect" to kill unused network connection to save the battery. If there is less than 2kB/min during 3min period, connection will be closed. ZapLoc should update location but without connection it makes an error. Code:
20:13:11: Got loc data xx.465109,yy.356086 (acc 206.965000), head 2.250000, speed 1.584000, Mode 2 (Cell-tower), Try 0 AutoDisconnect Wiki and autosync Phone Control (DBUS) Connect to any saved connection Disconnect internet (This is probably not needed due to usage of AutoDisconnect) Could similar functionality be included to Zaploc? Example: When ZapLoc is trying to update location, then run the dbus command to initiate connection (even if connection is already open). EDIT: This could be like an additional option that user can select from background updates (force to open network connection) |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Heh, I just realized that the GPS code I use is off by an order of magnitude in the "accuracy" returned. No wonder we get so weird accuracies from cell towers et. al.... the value should be 10 times bigger than it was displayed before.
I'll fix this... not that it matters for much usefulness-wise, but it will at least display the accuracies correctly.. /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
It finally works, giving up if no location. Coincidentally, my GPS died.
Off to Nokia it goes. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
I hope I didn't wear out the electrons in your GPS? ;)
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
You obviously did. Either you send me some of your GPS elecrons or the mods will be hearing about this.
Board seems to be on its way out. First GSM modem, now GPS. I have scheduled it for Nokia care these days, they seem to really want to help. With luck, it'll be in shop tomorrow. Man I feel naked without N900. Internet stinks without microb, and capacitive screen with no keyboard is a nightmare. No Series Finale, no hi-precision screen. OTOH, I get home with 75 percent battery left. This is new. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
I just found this, and can't wait to try it out. I have one major question and a request for a feature:
Does this use the v2 API for Facebook? I know BarioSquare does not, and that's what I've been using up till now. The v1 interface is slated to go away very soon. As for the request: Could you have the daemon check for the connected WIFI spot (and/or nearby spots) and just use that if it's something useful, avoiding the need for a GPS fire up? I ask this because I would love to let this check me in to places, but many times the places I am at can't get a valid GPS lock, and AGPS is very inaccurate in my area. In most cases though, there are wifi hot spots that I'm either connected to or that are clearly visible that would indicate my location. It would be great for it to see my work wifi network and just check me in at work. Same with home, and/or a few other places I frequent. And since just checking which SSID I'm connected to takes almost no power (vs a GPS fire-up), it would drain the battery quiet a bit less. I'd be even happier with adding an option to only check the currently connected wifi spot (no GPS check) while the app is not running. That would be the ideal method for me, since most places I go have some form of wifi, but are enclosed enough to make a GPS lock hard to get. And the few that aren't are places I could manually run the app at to check into. Great app though, and thanks for all it does already! I really like the interface, and the ability to group spots from other services into one, and locally correct their GPS spots when they're off a bit on the service! All great features! |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
And it's a quite simple API, I don't know how the v1 looked, but I don't quite get what is holding BarrioSquare up in upgrading it? Quote:
The big issue is really how you would associate a GPS position with a WiFi network... since the nokia location layer doesn't use WiFi at all (as far as I know, anyway), it would mean that you yourself basically have to define "my wifi is over here". Which could be done. Maybe just allow you to associate a WiFi network with a ZapLoc? Could be done. Good thought. May happen. Not guarantee it. And probably not terribly soon... EDIT: Does anyone know how to get the current WLAN id from python? /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Just been looking over my latitude history, and it seems to be off. They're all roughly in the right area (within 100-200m or so), but the accuracy radii shown are far too precise, so clearly something's amiss. It never used to look like this with other updaters.
Incidentally, do you think it'd be worthwhile to get together with the other devs and modularise the service bits of your software, so that we only have one latitude, etc daemon running but used by multiple GUIs? Or even just multiple deamons exporting compatible interfaces so they can all be used interchangeably - UNIX style. Seems like an awful duplication of effort, and it's a pain when I want to use a latitude client to view my friends (which then wants to update my location) whilst zaploc's also trying to update my location, etc....that's all. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Example usage here. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Quote:
But the code isn't really made to be pretty, reusable, or shiny... just to work ;) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
Instead, I found "conic" library which seems to help me a lot with this. It almost works too :) Build 50 has a first stab at implementing this; you'll find your WiFi network as a choice in the list of distances to autocheck in from. Lemme know if it explodes. (Note that also Latitude will be updated from the ZapLoc wifi locatoin in this case, keeping the GPS completely off all the time) /Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
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. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
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. |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
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 |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
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 |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Did everyone fall asleep? :)
/Z |
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
yeah, sorry ;)
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Mine's in the shop.
|
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! I have more complete log if needed. |
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 |
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?
|
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
|
Re: [Announce] ZapLoc - a Gowalla/Foursquare/Facebook places/Latitude aggregator - "All your location based services are belong to us" ;)
Quote:
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:01. |
vBulletin® Version 3.8.8