11 ms·
Is there a self hosted app to track your location? I use Google maps to keep granular history so I can use it later for whatever. But if I could self host that’
by dawnerd 5y ago
Is there a self hosted app to track your location? I use Google maps to keep granular history so I can use it later for whatever. But if I could self host that’d be better.
- privong 5y agoThere are standalone GPS loggers that lack transmitters and log location to SD cards in CSV / GPX formats (e.g., [0]). It's one more thing to carry, but it's small and you can be reasonably confident that it won't transmit your location to anyone. But the particular one I've posted doesn't have the ability to encrypt the data as its being saved, so if someone physically steals the device, they'll have easy access to your past location history. [0] https://canadagps.ca/collections/gps-data-logger/products/columbus-v-990-gps-data-logger-microsd-slot-4gb-capacity-50-million-waypoints-voice-tag-g-sensor-66-channels-mtk2-chipset-windows-mac-linux-compatible https://canadagps.ca/collections/gps-data-logger/products/co...
- tyingq 5y agoSee UnifiedNLP (https://github.com/microg/UnifiedNlp/blob/master/README.md https://github.com/microg/UnifiedNlp/blob/master/README.md) <ctrl-f> down to "List of backends for geolocation".
- literallyaduck 5y agoLook at Automatic Packet Reporting System (APRS) you will find lots of tools related to telemetry.
- shivam543 5y agoYou can self-host nextcloud and try phonetrack app. https://apps.nextcloud.com/apps/phonetrack https://apps.nextcloud.com/apps/phonetrack
- hundchenkatze 5y agoThere's Trackbook for Android. It records locally to a GPX file and also has the option to use GPS only. https://f-droid.org/en/packages/org.y20k.trackbook/ https://f-droid.org/en/packages/org.y20k.trackbook/ https://github.com/y20k/trackbook https://github.com/y20k/trackbook
- imglorp 5y agoAnything on Android is totally moot. You can "turn off locations" but you don't know if it has. It also has a dozen other ways to track you when correlated with others, such as inertial, wifi, cell cgi, audio, magnetic, bluetooth, optical, pressure, etc; some of which are in the baseband and inaccessible to the OS. You can keep it in a faraday bag but it can still record and upload later. Same thing could be said about IOS with the additional constraint that the vendor can do whatever it wants and we don't know what it's actually doing. If you care about privacy just don't carry a phone.
- Forbo 5y ago> If you care about privacy just don't carry a phone. I feel like this position is unrealistic. Privacy is possible with a modern smartphone. Using an alternative OS on Android devices can help facilitate this. I've been using GrapheneOS as a daily driver for nearly six months now. Any issues I've run into have largely been due to my own configuration of the device. You can also get a lot of useful information from Michael Bazzell's books or podcasts. It may involve jumping through hoops but it is possible to go "off grid" in many regards. If your threat model includes your cell provider, then yes, a faraday bag may be worth looking into. There are also open alternatives like the Librem 5 or PinePhone that offer hardware kill switches. These types of cases are rare, but one doesn't need to become a complete technophobe. As it stands, true privacy is relegated to the technologically elite, the truly paranoid, or those that can pay to play. I would love for that to change, but unfortunately that's the current state of affairs.
- Syonyk 5y ago> As it stands, true privacy is relegated to the technologically elite, the truly paranoid, or those that can pay to play. I would love for that to change, but unfortunately that's the current state of affairs. Or the broke who can't afford the devices now more and more used against us. Or those who are willing to forgo the conveniences of such devices in exchange for privacy. Or, simply for the sanity of not having to deal with them. I'm firmly in the boat of "Could do any or all of those things" - I considered a PinePhone, have a PineBook Pro, could easily do GrapheneOS, and... I'm currently using none of them. I'm using an AT&T Flip IV that I leave at home regularly. If I have some fancy requirement, I can tether a laptop to it. You start from the assumption that a smartphone of some variety or another is a requirement - and I'll counter that, while it's certainly the default option of modern life, the smartphone is really only a decade old, and there are ways of doing things without it we can go back to - and those things do generally still work. I'm at a point in my life where both I can be a bit annoying about things like reachability, and, interestingly, I'm hostile enough to tech that people expect me to be a bit weird about things. Nobody was surprised when I showed up with a flip phone - but they were surprised that I still had things like email and Google Maps capability on it (KaiOS). At which point, the gears started turning. Trying to find a way to de-evil what is looking more and more like a corrupted, user-hostile system through and through doesn't seem worth the time, when one can work towards not requiring people to be in that system in the first place.
- progman32 5y agoI have played with storing location history using Home Assistant. Works, data never lands anywhere other than my home server. EDIT: I use it to do home automation actions depending on where I am. I.e. when I leave, it automatically arms the alarm and turns off the lights.
- dawnerd 5y agoI never thought about using HA to log location. I already use HA so this might make the most sense.
- fencepost 5y agoThere have been a variety of such apps, going at least as far back as "Backitude" (now gone) on Android that could log to a local KML file that could then be uploaded to storage of your choice on a schedule. It could also connect to a URL of your specification to upload real-time updates. Keep in mind that if you're not concerned about immediate tracking you can log locally then use any of many options (e.g. FolderSync) to do scheduled uploads of a log file.
- Syonyk 5y agoI use a trained neural network I keep between my ears... Recall is sometimes fuzzy with age, but it works well enough, and I don't have to worry about external queries violating my various rights nearly as much as with tech companies. At this point, I think every piece of modern consumer electronics ought to be considered hostile until proven benign. I've worked with enough of them over the years, on different ends, to no longer trust any of them. I'm also old enough to remember the before-times - when there wasn't the technology to track us everywhere, or, when we did have something breadcrumbing, it wasn't being automatically uploaded to whoever, wherever, etc. My first question, though, would be "Why?" What value do you get out of tracking your location with any great detail that self hosting it would be of much value? However, various cheap GPS loggers and Google Earth import probably would do a lot of what you're looking for.
- flanbiscuit 5y agoI recently set my google location history to auto-delete. At first I wanted to keep it recording my location history forever because "just in case" I needed to know where I was for something that was extremely unimportant. Overall, I've looked at it only handful of times over the many years it has been running so in the end it really helps Google more than it helps me. I might even just turn it off completely. I'm slowly shirking this data-hoarding, "I might need it one day", mentality.
- Syonyk 5y agoI love Google Location History. If you're trying to make a point to someone about how much of a problem data collection, use, abuse, etc, is - link them to the place they can view their own history. It's even more fun if you're with them and can watch the expression of utter horror form as they realize just what, exactly, literally everywhere they've been can tell someone else about them. "Hey, isn't that the kink club out there?"
- genewitch 5y agoI check this from time to time and mine has always been completely blank. Even on my phone when I search for "tires in <city>" it assumes I mean a city in the east coast of the US. Maps/Waze are only marginally better, showing me results 170+ miles from my current location, generally. I use trackmenot and ad nauseam plugins on my main computer, so my ads are always 100% irrelevant - if I see them at all. Ad nauseam clicks every ad it sees, and stores the banner. It tries to track how many dollars of ad spend its wasted on your behalf, too. I'm somewhere north of $17k at this point lifetime clicks. I know I'm not winning this fight but I can make it more hilarious for me in the meantime.
- Forbo 5y agoOsmAnd allows you to record your movement and leverages OpenStreetMap.
- whoisburbansky 5y agoThere's https://owntracks.org/ https://owntracks.org/, which has iOS and Android apps and instructions on setting up your own server. If you run NextCloud self-hosted already, there's PhoneTrack (https://apps.nextcloud.com/apps/phonetrack https://apps.nextcloud.com/apps/phonetrack), which has a list of supported/suggested apps that send data back to it in a compatible format.
- simcop2387 5y agoThis also has integrations for home assistant to use owntracks for logging and automations for smart home stuff too.
- kelnos 5y agoI've been using OwnTracks (plus ot-recorder) for a few years now, in parallel with Google's location tracking/timeline, and I find that OwnTracks tends not to update all that well or frequently. If I switch OwnTracks to "move mode", it's great, but then it drains battery like crazy. "Significant changes mode" doesn't really cut it to map out my track as I move around during the day. And it's especially annoying because I do have it set up to trigger some lights to turn on in my house when I get within 500 feet of home. Sometimes it'll finally trigger an hour or two after I get home, which isn't particularly useful. I've exempted the app from Android's "battery optimization" thing, and I'm using a Pixel 4, which shouldn't have any shenanigans like killing background apps frequently like some other manufacturers do.
- whoisburbansky 5y agoAh, that's good to know. I've been meaning to set up OwnTracks with iOS, so I'll report back with how that goes, see if the accuracy/battery tradeoff is any different from what you're seeing on Android.
- 29083011397778 5y ago> I'll report back with how that goes Out of self-interest, where would one check to (eventually) find this write-up? Sounds like OP hadn't known just how long OT takes to update on Android, which makes me assume other information out there may be out of date, or someone else's best case scenario (as opposed to real-world usage).
- kawsper 5y agoI use OwnTracks, it's opensource and available for both iOS and Android. You can configure a custom https endpoint and then your devices will ping the endpoint when there's significant movement.
- deleted 5y ago[deleted]
- caymanjim 5y agoDo you want a self-hosted location tracker because you don't want someone else tracking you? Because it's not going to help. Your cell company knows where you are at all times, and even with location turned off, your OS is reporting enough information to either Google or Apple at all times to know where you are to within a few feet.
- refulgentis 5y agoThat's not true: when location is turned off, location is turned off. Apple still has a loophole where turning off Bluetooth doesn't turn off Bluetooth, but location should be "fixed"
- Forbo 5y agoI thought the Bluetooth thing only applied from the quick menu. I've been told if you disable it in Settings that it will actually turn it off.
- judge2020 5y agoThis is true. And when you turn it off from control center, it says 'disconnecting bluetooth devices until tomorrow', so it's clear that disabling it means "stop all BT connections except for my Watch".
- jjoonathan 5y agoYour cell phone company knows the tower you are talking to and probably which (directional) antenna you are talking to. Antennas are in the process of getting a lot more directional with 5G, so they'll soon go from trivially being able to track you within a block or two to within a meter or two. It's not great.
- PeterisP 5y agoThe core records of a cell phone company are at a cell level, which often are configured in a 120-degree sectors from a tower. If they really want, they can see the distance from the tower because that's a requirement for the communications protocol to work (LTE at least expects to account for lightspeed delay in allocating transmission slots) and gets measured during the communications, so the operator should be able to see that distance to the granularity of something like 100m (or is it less nowadays?); but AFAIK that's usually not stored unless you're in a 911 call or perhaps with some tracing warrant.
- comeonseriously 5y agoNot _exactly_ what you were asking for, but I use this: https://gpslogger.app/ https://gpslogger.app/ I can export my data and then use that how I want.
- fullstop 5y agoOwntracks [1] is likely what you're looking for. 1. https://owntracks.org/ https://owntracks.org/
- specto 5y agoI use home assistant with their android app. It can/does use google location services, however I believe you can also set it to use gps.
- dudus 5y agoI just had to provide records of my past travel history for immigration purposes and I couldn't find any of my i-94 records. I could sort through emails to find past flight tickets but the data from my Google location tracking history proved to be much more reliable and easy to parse. I was able to get all my flight dates from past 5 years easily with it. I also like to look for places I've been in the past and Google maps can tell me the dates I've been to a specific place in the past. So it does provide quite a lot of value at least for me. I completely understand the sentiment that seems to be a majority on hacker news how that's quite a bad idea, how I'm giving away my privacy for convenience and yada yada. But I made the personal decision that Yes it's worth exposing this data to Google and possibly law enforcement that require Google to disclose this information for the convenience I get in return.
- Scoundreller 5y agoYou couldn’t use CBP’s travel history page? https://i94.cbp.dhs.gov/I94/#/history-search https://i94.cbp.dhs.gov/I94/#/history-search
- dudus 5y agoI've used this in the past but currently it's showing no records for all my 3 passports.
- Scoundreller 5y agoWeird, but my experience is mostly with the land border so maybe it’s different
- raxxorrax 5y agoThat is fine as long as it never becomes an expectation. Not a good idea to lie on visa applications, but I don't really disclose travel within the EU for example (I am from the EU). I don't leave obvious digital traces and I think people wanting to know this info can find different hobbies and better jobs.
- polote 5y agohttps://gpslogger.app/ https://gpslogger.app/ open source has plenty of settings can make a GET call every x minutes to url of your choice, you can either collect data by logging GET calls on your nginx or build an API for that specifically. Or you save to Gpx files and see history with any Gpx File Viewer
- njkleiner 5y agoThere is an open source iOS app called Overland[0] that can continuously track your location history in the background and upload the data to an arbitrary endpoint as GeoJSON. The "protocol" consists of a single HTTP request and response, so you can easily write your own server software to store the data however you want, which is what I did. If you don't want to write your own backend, you can also just use the server software[1] the author of the app uses, which is also open source. [0]: https://github.com/aaronpk/Overland-iOS https://github.com/aaronpk/Overland-iOS [1]: https://github.com/aaronpk/Compass https://github.com/aaronpk/Compass