Location tracking without Google Apps (microG)

Hi there, as the title says.
Can I somehow get location tracking to work?

EDIT: Weird, I got a location now. Not sure if it was just when I enabled precise GPS location, will see when going back home!

Update

Installing the -full version from Github seems to resolve the issue. The f-droid version just doesn’t support location apparently?

Hello, could you elaborate a bit? I’m using microG too (with Mozilla based network location activated) and with other apps it works just fine.
However, the home assistant app didn’t even ask me for location permission. I then gave it manually, also reset the app and registered my HA again, but it doesn’t work.

Specifically, my device doesn’t even seem to have a location sensors under “Companion app” → “manage sensors” I don’t see any location related sensor (geo, GPS, location, etc). And when I search all entities I also find nothing regarding location.

I’m on Lineage OS 21, Android 14, microG 0.3.2.240913, HA App 2024.7.3-minimal.

If anyone could point me to other helpful resources or the relevant code I’d have to look at, this would be greatly appreciated! Thank you in advance

From my side: I am running GrapheneOS with sandboxed Google services…so can’t really tell anything.
Happy it seems to work for you with -full version :slight_smile:

Well, it works, but very unreliably so. Sometimes it takes almost 30min to notice I left my house (sensor update interval=15min), sometimes it doesn’t at all (I’ve set it to send a push notification when my phone leaves the ‘Home’ zone, for testing purposes). Gotta figure out whether this is due to bad GPS signal, the app itself or something else. Will definitely report back.

1 Like

I am struggling with this as well, android permissions say HA requests location but it seems to drop the information.

Is there a different family gps tracking ago that is local network only? We run a vpn. HA is the only option i know of. Would prefer HA to be the reliable option.

I tried what you said about FDroid. I originally had that version. Uninstalled it and installed from aurora, Aurora at least asked for location to be enabled, didn’t get location working though.