Hi,
since I’ve upgraded my Samsung Galaxy S9 and removing Google Play Services (and replacing them with MicroG), I’m not able to retrieve my mobile phone’s location anymore, the location always stays the same (at home), even if I’m 100km away.
device: Samsung Galaxy S9
android version: 12
OS: ArrowOS
Home Assistant version: 2022.2.9
HA Companion application version: 2022.3.0-full (downloaded via GitHub)
I enabled device tracking and the HA app is enabled to access files, media, devices nearby, camera, microphone, location and telephone via Android settings.
That’s quite unfortunate. Shouldn’t an Open Source software community be supporting Open Source solutions for frameworks replacing proprietary stuff?
I did the troubleshooting guide and double-checked everything. I’ll see if it works today.
As for troubleshooting: In order to see if the companion app works, you need to look at the entity for the location of your new phone, not the person. If that shows the right location then the companion app is working well with your location services, and the problem is with the device trackers that are linked to your person in HA.
If the device location entity does not work, then all you can do is fiddle with the phone and the companion app to see if you can get it to work. But it is up to MicroG to be compatible with Google Services, not for the HA companion app to work around the problems that come from failing to do so. HA can probably not even tell that it is MicroG, nor should it attempt to.
Well yes you both got a point there. I somehow got it working, I double-checked all the configuration entries and now everything works fine again. However, I’m not able to provide a working solution guide.