GPS on android
android aosp :
if location [service] is disabled on the device
or permissions are denied [to the app]
then the location sensors will be disabled (only for the apps)
sensor is hier waarschijnlijk een software sensor (a sensor entity) geen fysieke sensor
One of android the permissions is location access,
if this permission is denied then you will not get a device_tracker or any sensor entity created for the device
from third party info
via “Home Assistant” = a tracking device app / solution
difference gps sensors & geocoded location ?
device tracking work when outside the home wifi range
The phone simply can’t communicate with Home Assistant to update its location…
permissions that are requested are:
- Location: Allows your device to provide location to Home Assistant, a
device_trackerentity will be created which can be used in automations and conditions within Home Assistant. As mentioned above, due to changes in iOS 13, this permission is requested before logging into Home Assistant. For Android this permission is requested as part of the onboarding process when you first log in. If this permission is denied thendevice_trackerandsensorentities will not be created. - Motion & Pedometer:
Allows Home Assistant to access pedometer data from your iOS device, this creates sensors for number of steps taken today, floors ascended and descended, distance walked today, and current activity. It does not provide any access to data held within the Health app or any other data beyond basic motion data from the device’s motion chip.
- Notifications: Allows notifications to be sent to your device by Home Assistant. Along with normal notifications, Home Assistant can send Critical Notifications; these are intended for high-priority messages and will always play a sound even if the device is in silent mode
. You will be asked to give permission for both notification types. Check for the
Android logo to see what is currently supported on Android devices. You may need to restart Home Assistant once after logging in for the notification service call to register.