Location work in one phone but not one

Me and my partner each have a redmi phone with MIUI14 , different models,

I get the geofence to work well, but I don’t succeed with her phone.

Have cleared catch then deleted the app then deleted phone in home assistant, installed if it checked so we should have the same settings but still it doesn’t work. Went for a ride today, then she tried to have gogelmaps running to see if it helped to have something that used gps. but when we got home and checked the log, without using the phone during the trip, I had 23 updates under Last Location while she had two.

Have read and tried to follow the documentation but can’t find what’s wrong, usually register it when she’s home but I want via zone or proximeter to be able to trigger before you get home

My partners logg

09-16 11:51:46.175 14854 14854 D LocBroadcastReceiver: Received geofence update.
09-16 11:51:46.181 14854 14928 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Last Location: 
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Coords:(xx.xx27127, xx.xx13105)
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Accuracy: 159.161
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Bearing: 183.25404
09-16 11:51:46.191 14854 15209 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:51:46.191 14854 15209 D LocBroadcastReceiver: Received location that is 5286 milliseconds old, 1694857900905 compared to 1694857906191 with source fused
09-16 11:51:46.232 14854 14923 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.240 14854 14925 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.320 14854 14925 I SensorReceiver: Sensor updates and sync completed
09-16 11:51:46.340 14854 15209 I SensorReceiver: Sensor updates and sync completed
09-16 11:51:46.342 14854 14913 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=15b37d58-2368-4b83-8c9c-35a5e81218e6, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
09-16 11:51:46.345 14854 14926 I SensorReceiver: Sensor updates and sync completed
09-16 11:51:46.362 14854 14854 I WM-SystemFgDispatcher: Stopping foreground service
09-16 11:51:46.392 14854 15209 D LocBroadcastReceiver: Event sent to Home Assistant
09-16 11:51:46.394 14854 14922 D LocBroadcastReceiver: Event sent to Home Assistant
09-16 11:51:46.635 14854 14923 D LocBroadcastReceiver: Location update sent successfully for 4 as exact
09-16 11:51:46.651 14854 14854 D LocBroadcastReceiver: Received location update.
09-16 11:51:46.655 14854 14854 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Last Location: 
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Coords:(xx.xx27127, xx.xx13105)
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Accuracy: 159.161
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Bearing: 183.25404
09-16 11:51:46.664 14854 14923 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:51:46.664 14854 14923 D LocBroadcastReceiver: Skipping old location update since time is before the last one we sent, received: 1694857900905 last sent: {4=1694857906191}
09-16 11:51:48.254 14854 15614 D ProfileInstaller: Skipping profile installation for io.homeassistant.companion.android
09-16 11:51:48.814 14854 14854 D DecorView[]: onWindowFocusChanged hasWindowFocus false
09-16 11:51:50.627 14854 14867 I mpanion.android: Background concurrent copying GC freed 487434(19MB) AllocSpace objects, 46(1684KB) LOS objects, 49% free, 9194KB/17MB, paused 119us,61us total 131.042ms ```

my logg

09-16 11:21:31.236  6845  4268 D WebSocketRepository: Message number 45 received
09-16 11:21:33.490  6845  6845 D LocBroadcastReceiver: Received location update.
09-16 11:21:33.509  6845  6845 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false
09-16 11:21:33.510  6845  4268 D LocBroadcastReceiver: Last Location: 
09-16 11:21:33.510  6845  4268 D LocBroadcastReceiver: Coords:(xx.xx54868, xx.xx13475)
09-16 11:21:33.510  6845  4268 D LocBroadcastReceiver: Accuracy: 27.713
09-16 11:21:33.510  6845  4268 D LocBroadcastReceiver: Bearing: 0.0
09-16 11:21:33.513  6845  4268 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:21:33.513  6845  4268 D LocBroadcastReceiver: Received location that is 1592 milliseconds old, 1694856091921 compared to 1694856093513 with source fused
09-16 11:21:33.523  6845  4266 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:21:34.138  6845  4266 D LocBroadcastReceiver: Location update sent successfully for 1 as exact
09-16 11:22:31.216  6845 13117 D WebSocketRepository: Websocket: onMessage (text)
09-16 11:22:31.220  6845  4266 D WebSocketRepository: Message number 45 received
09-16 11:22:33.004  6845  6845 D LocBroadcastReceiver: Received location update.
09-16 11:22:33.012  6845  6845 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false
09-16 11:22:33.013  6845  4266 D LocBroadcastReceiver: Last Location: 
09-16 11:22:33.013  6845  4266 D LocBroadcastReceiver: Coords:(xx.xx54406, xx.xx13281)
09-16 11:22:33.013  6845  4266 D LocBroadcastReceiver: Accuracy: 24.901
09-16 11:22:33.013  6845  4266 D LocBroadcastReceiver: Bearing: 0.0
09-16 11:22:33.014  6845  4266 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:22:33.014  6845  4266 D LocBroadcastReceiver: Received location that is 981 milliseconds old, 1694856152033 compared to 1694856153014 with source fused
09-16 11:22:33.017  6845  4266 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:22:33.223  6845  4266 D LocBroadcastReceiver: Location update sent successfully for 1 as exact
09-16 11:23:31.768  6845 13117 D WebSocketRepository: Websocket: onMessage (text)
09-16 11:23:31.779  6845  6085 D WebSocketRepository: Message number 45 received
09-16 11:23:33.101  6845  6845 D LocBroadcastReceiver: Received location update.
09-16 11:23:33.107  6845  6845 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false
09-16 11:23:33.108  6845  4266 D LocBroadcastReceiver: Last Location: 
09-16 11:23:33.108  6845  4266 D LocBroadcastReceiver: Coords:(xx.xx51061, xx.xx16106)
09-16 11:23:33.108  6845  4266 D LocBroadcastReceiver: Accuracy: 21.572
09-16 11:23:33.108  6845  4266 D LocBroadcastReceiver: Bearing: 0.0
09-16 11:23:33.109  6845  4266 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:23:33.109  6845  4266 D LocBroadcastReceiver: Received location that is 989 milliseconds old, 1694856212120 compared to 1694856213109 with source fused
09-16 11:23:33.114  6845  4268 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:23:33.207  6845  6845 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-16 11:23:33.214  6845  6116 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:23:33.281  6845  4268 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:23:33.282  6845  7355 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=21866ba3-f42a-47b1-ad70-00adb3be013b, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] ```

both of your logs look like they sent updates successfully, may need to look at the logs when the issue occurs.

generally speaking for location issues we refer to the following troubleshooting steps

https://companion.home-assistant.io/docs/troubleshooting/faqs/#device-tracker-is-not-updating-in-android-app

I have gone through these points on both phones and compared all the different settings between the two different phones both running the same MIUI 14 but two different models on the phone. The difference between me and my partner is that I am an admin and she is a “regular” user.

I have tried clearing app data delete the app removed this device in home assistant then reinstalled everything and double checked the settings (this was done before the test trip)

I have previously set up two different promixity home, one for wading and had different distances as triggers, but hers send type when she leaves home and when she is about 12 km from home, then I have had triggers every 500 m approximately to start seeing when the react.

my partners logg

--------- beginning of system
09-16 11:51:42.715 14854 14854 W Activity: PerfMonitor: Slow Operation: Activity io.homeassistant.companion.android/.webview.WebViewActivity onCreate took 1348ms
09-16 11:51:42.995 14854 14854 W Activity: PerfMonitor: Slow Operation: Activity io.homeassistant.companion.android/.webview.WebViewActivity onResume took 274ms
09-16 11:51:43.020 14854 14854 W Looper  : PerfMonitor longMsg : seq=3 plan=11:51:40.684 late=606ms wall=1729ms h=android.app.ActivityThread$H w=159 procState=-1
09-16 11:51:43.020 14854 14854 W Looper  : PerfMonitor looperActivity : package=io.homeassistant.companion.android/.webview.WebViewActivity time=1729ms latency=606ms  procState=-1  historyMsgCount=2 (msgIndex=2 wall=594ms seq=2 late=52ms h=android.app.ActivityThread$H w=110)
09-16 11:51:43.035 14854 14854 W Looper  : PerfMonitor looperActivity : package=io.homeassistant.companion.android/.webview.WebViewActivity time=0ms latency=2346ms  procState=-1  historyMsgCount=3 (msgIndex=2 wall=594ms seq=2 late=52ms h=android.app.ActivityThread$H w=110) (msgIndex=3 wall=1729ms seq=3 late=606ms h=android.app.ActivityThread$H w=159)
09-16 11:51:43.046 14854 14854 D FramePredict: FramePredict init: false
09-16 11:51:43.219 14854 14854 W Looper  : PerfMonitor doFrame : time=174ms vsyncFrame=0 latency=1872ms procState=-1 historyMsgCount=6 (msgIndex=1 wall=594ms seq=2 late=52ms h=android.app.ActivityThread$H w=110) (msgIndex=2 wall=1729ms seq=3 late=606ms h=android.app.ActivityThread$H w=159)
09-16 11:51:43.439 14854 15064 W Looper  : PerfMonitor longMsg : seq=1 plan=11:51:42.160 late=1ms wall=1277ms h=android.os.Handler c=WV.V80 procState=-1
--------- beginning of main
09-16 11:51:44.363 14854 14854 D DecorView[]: getWindowModeFromSystem  windowmode is 1
09-16 11:51:44.363 14854 14854 D DecorView[]: updateDecorCaptionStatus windowMode is 1
09-16 11:51:44.377 14854 15297 D TrafficStats: tagSocket(271) with statsTag=0xffffffff, statsUid=-1
09-16 11:51:44.379 14854 15300 D TrafficStats: tagSocket(273) with statsTag=0xffffffff, statsUid=-1
09-16 11:51:44.394 14854 15296 D TrafficStats: tagSocket(272) with statsTag=0xffffffff, statsUid=-1
09-16 11:51:44.425 14854 15298 D TrafficStats: tagSocket(274) with statsTag=0xffffffff, statsUid=-1
09-16 11:51:44.454 14854 14923 W mpanion.android: Long monitor contention with owner DefaultDispatcher-worker-5 (14928) at retrofit2.ServiceMethod retrofit2.Retrofit.loadServiceMethod(java.lang.reflect.Method)(Retrofit.java:205) waiters=4 in retrofit2.ServiceMethod retrofit2.Retrofit.loadServiceMethod(java.lang.reflect.Method) for 242ms
09-16 11:51:44.464 14854 15325 D TrafficStats: tagSocket(275) with statsTag=0xffffffff, statsUid=-1
09-16 11:51:44.470 14854 15326 D TrafficStats: tagSocket(278) with statsTag=0xffffffff, statsUid=-1
09-16 11:51:44.658 14854 14934 W RenderInspector: DequeueBuffer time out on io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity, count=3, avg=30 ms, max=41 ms.
09-16 11:51:44.876 14854 14926 D LocBroadcastReceiver: Registering for location updates.
09-16 11:51:44.907 14854 14923 D LocBroadcastReceiver: High accuracy mode geo parameters changed. Reconfigure zones.
09-16 11:51:44.907 14854 14923 D LocBroadcastReceiver: Removing geofence location requests.
09-16 11:51:44.920 14854 14922 D LocBroadcastReceiver: Background location updates appear to have stopped, restarting location updates
09-16 11:51:44.920 14854 14922 D LocBroadcastReceiver: Removing background location requests.
09-16 11:51:44.933 14854 14923 W LocBroadcastReceiver: Not registering for zones as we already have / haven't
09-16 11:51:44.986 14854 14922 D LocBroadcastReceiver: Registering for location updates.
09-16 11:51:45.520 14854 15288 D WebviewActivity: External bus {"type":"connection-status","payload":{"event":"connected"},"id":2}
09-16 11:51:45.531 14854 14854 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:45.877 14854 14925 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:45.922 14854 15209 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:45.937 14854 14928 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.133 14854 15288 D WebviewActivity: External bus {"type":"theme-update","id":3}
09-16 11:51:46.144 14854 14854 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa"
09-16 11:51:46.145 14854 14854 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa"
09-16 11:51:46.145 14854 14928 D WebViewPresenterImpl: Try getting color from webview color "#03a9f4".
09-16 11:51:46.145 14854 14928 I WebViewPresenterImpl: Found color -16537100.
09-16 11:51:46.146 14854 14928 D WebViewPresenterImpl: Try getting color from webview color "#fafafa".
09-16 11:51:46.146 14854 14928 I WebViewPresenterImpl: Found color -328966.
09-16 11:51:46.175 14854 14854 D LocBroadcastReceiver: Received geofence update.
09-16 11:51:46.181 14854 14928 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Last Location: 
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Coords:(XX.1127127, XX1713105)
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Accuracy: 159.161
09-16 11:51:46.188 14854 15209 D LocBroadcastReceiver: Bearing: 183.25404
09-16 11:51:46.191 14854 15209 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:51:46.191 14854 15209 D LocBroadcastReceiver: Received location that is 5286 milliseconds old, 1694857900905 compared to 1694857906191 with source fused
09-16 11:51:46.232 14854 14923 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.240 14854 14925 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:46.320 14854 14925 I SensorReceiver: Sensor updates and sync completed
09-16 11:51:46.340 14854 15209 I SensorReceiver: Sensor updates and sync completed
09-16 11:51:46.342 14854 14913 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=15b37d58-2368-4b83-8c9c-35a5e81218e6, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
09-16 11:51:46.345 14854 14926 I SensorReceiver: Sensor updates and sync completed
09-16 11:51:46.362 14854 14854 I WM-SystemFgDispatcher: Stopping foreground service
09-16 11:51:46.392 14854 15209 D LocBroadcastReceiver: Event sent to Home Assistant
09-16 11:51:46.394 14854 14922 D LocBroadcastReceiver: Event sent to Home Assistant
09-16 11:51:46.635 14854 14923 D LocBroadcastReceiver: Location update sent successfully for 4 as exact
09-16 11:51:46.651 14854 14854 D LocBroadcastReceiver: Received location update.
09-16 11:51:46.655 14854 14854 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Last Location: 
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Coords:(XX.1127127, XX1713105)
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Accuracy: 159.161
09-16 11:51:46.662 14854 14923 D LocBroadcastReceiver: Bearing: 183.25404
09-16 11:51:46.664 14854 14923 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-16 11:51:46.664 14854 14923 D LocBroadcastReceiver: Skipping old location update since time is before the last one we sent, received: 1694857900905 last sent: {4=1694857906191}
09-16 11:51:48.254 14854 15614 D ProfileInstaller: Skipping profile installation for io.homeassistant.companion.android
09-16 11:51:48.814 14854 14854 D DecorView[]: onWindowFocusChanged hasWindowFocus false
09-16 11:51:50.627 14854 14867 I mpanion.android: Background concurrent copying GC freed 487434(19MB) AllocSpace objects, 46(1684KB) LOS objects, 49% free, 9194KB/17MB, paused 119us,61us total 131.042ms
09-16 11:51:54.937 14854 14854 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-16 11:51:54.940 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:55.029 14854 14923 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:55.031 14854 14929 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=c917eda2-cedc-4d7c-b38a-ba996667f8b4, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-16 11:51:55.203 14854 14926 D NextAlarm: Next alarm is scheduled by com.android.deskclock with trigger time 1695010800000
09-16 11:51:55.252 14854 14926 D ProximitySensor: Proximity sensor listener registered
09-16 11:51:55.280 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:55.283 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:51:55.852 14854 14854 D ProximitySensor: Proximity sensor listener unregistered
09-16 11:52:02.109 14854 14854 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:52:02.111 14854 14854 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1694803686897, currentMillis: 1694857922111)
09-16 11:52:02.112 14854 14854 D DecorView[]: onWindowFocusChanged hasWindowFocus true
09-16 11:52:02.116 14854 14854 I HandWritingStubImpl: refreshLastKeyboardType: 1
09-16 11:52:02.116 14854 14854 I HandWritingStubImpl: getCurrentKeyboardType: 1
09-16 11:52:02.123 14854 14854 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:52:02.123 14854 14854 D ServerConnectionInfo: Using external URL
09-16 11:52:02.125 14854 14854 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false
09-16 11:52:02.125 14854 14854 D ServerConnectionInfo: Using external URL
09-16 11:52:09.775 14854 14854 W MirrorManager: this model don't Support
09-16 11:52:09.856 14854 14854 I HandWritingStubImpl: refreshLastKeyboardType: 1
09-16 11:52:09.856 14854 14854 I HandWritingStubImpl: getCurrentKeyboardType: 1
09-16 11:52:11.325 14854 15288 D WebviewActivity: External bus {"type":"config_screen/show","id":4}
09-16 11:52:11.389 14854 14854 D IntegrationRepository: setAppActive(): false
09-16 11:52:11.394 14854 14854 D IntegrationRepository: setAppActive(): false
09-16 11:52:11.419 14854 14854 D MiuiMultiWindowAdapter: MiuiMultiWindowAdapter::getFreeformVideoWhiteListInSystem::LIST_ABOUT_SUPPORT_LANDSCAPE_VIDEO = [com.hunantv.imgo.activity, com.tencent.qqlive, com.qiyi.video, com.hunantv.imgo.activity.inter, com.tencent.qqlivei18n, com.iqiyi.i18n, tv.danmaku.bili]
09-16 11:52:11.442 14854 14854 D IS_CTS_MODE: false
09-16 11:52:11.442 14854 14854 D MULTI_WINDOW_ENABLED: false
09-16 11:52:11.443 14854 14854 D DecorView[]: getWindowModeFromSystem  windowmode is 1
09-16 11:52:11.581 14854 14854 W Activity: PerfMonitor: Slow Operation: Activity io.homeassistant.companion.android/.settings.SettingsActivity onStart took 104ms
09-16 11:52:11.584 14854 14854 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1694803686897, currentMillis: 1694857931584)
09-16 11:52:11.590 14854 14854 D DecorView[]: getWindowModeFromSystem  windowmode is 1
09-16 11:52:11.590 14854 14854 D DecorView[]: updateDecorCaptionStatus windowMode is 1
09-16 11:52:11.596 14854 14854 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
09-16 11:52:11.600 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:11.715 14854 14926 D NextAlarm: Next alarm is scheduled by com.android.deskclock with trigger time 1695010800000
09-16 11:52:11.759 14854 14926 D ProximitySensor: Proximity sensor listener registered
09-16 11:52:11.770 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:11.773 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:11.778 14854 14854 D VRI[SettingsActivity]: vri.reportNextDraw android.view.ViewRootImpl.performTraversals:3876 android.view.ViewRootImpl.doTraversal:2608 android.view.ViewRootImpl$TraversalRunnable.run:9617 android.view.Choreographer$CallbackRecord.run:1491 android.view.Choreographer$CallbackRecord.run:1499 
09-16 11:52:11.778 14854 14854 D VRI[SettingsActivity]: vri.Setup new sync id=0 syncSeqId=0
09-16 11:52:11.817 14854 14934 E perf_hint: Session creation failed, mPreferredRateNanos: -1
09-16 11:52:11.820 14854 14854 D VRI[SettingsActivity]: vri.reportDrawFinished syncSeqId=0 android.view.ViewRootImpl.lambda$createSyncIfNeeded$4$android-view-ViewRootImpl:3944 android.view.ViewRootImpl$$ExternalSyntheticLambda1.run:6 android.os.Handler.handleCallback:942 android.os.Handler.dispatchMessage:99 android.os.Looper.loopOnce:211 
09-16 11:52:11.824 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:11.830 14854 14854 D DecorView[]: onWindowFocusChanged hasWindowFocus false
09-16 11:52:11.898 14854 14854 D SettingsWearDetection: API unavailable for discovering nodes (no Wear)
09-16 11:52:11.947 14854 14854 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1694803686897, currentMillis: 1694857931947)
09-16 11:52:11.947 14854 14854 D IntegrationRepository: setAppActive(): true
09-16 11:52:11.947 14854 14854 D DecorView[]: onWindowFocusChanged hasWindowFocus true
09-16 11:52:11.948 14854 14854 I HandWritingStubImpl: refreshLastKeyboardType: 1
09-16 11:52:11.948 14854 14854 I HandWritingStubImpl: getCurrentKeyboardType: 1
09-16 11:52:11.997 14854 15298 D TrafficStats: tagSocket(279) with statsTag=0xffffffff, statsUid=-1
09-16 11:52:12.325 14854 14854 D ProximitySensor: Proximity sensor listener unregistered
09-16 11:52:18.230 14854 14854 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE
09-16 11:52:18.233 14854 14923 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:18.310 14854 14926 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:18.313 14854 15192 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=2512a12e-b292-47bf-babd-2956c178c1b0, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-16 11:52:18.393 14854 14923 D NextAlarm: Next alarm is scheduled by com.android.deskclock with trigger time 1695010800000
09-16 11:52:18.407 14854 14923 D ProximitySensor: Proximity sensor listener registered
09-16 11:52:18.415 14854 14922 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:18.417 14854 14922 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:18.940 14854 14854 D ProximitySensor: Proximity sensor listener unregistered
09-16 11:52:21.385 14854 14934 W RenderInspector: DequeueBuffer time out on io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity, count=1, avg=12 ms, max=12 ms.
09-16 11:52:25.319 14854 14922 E SensorReceiver: Error while getting core config to sync sensor status
09-16 11:52:25.319 14854 14922 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.io.InterruptedIOException: timeout
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.getConfig(IntegrationRepositoryImpl.kt:512)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$getConfig$1.invokeSuspend(Unknown Source:14)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
09-16 11:52:25.319 14854 14922 E SensorReceiver: Caused by: java.io.InterruptedIOException: timeout
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.timeoutExit(RealCall.kt:398)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.callDone(RealCall.kt:360)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.noMoreExchanges$okhttp(RealCall.kt:325)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:209)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at java.lang.Thread.run(Thread.java:1012)
09-16 11:52:25.319 14854 14922 E SensorReceiver: Caused by: java.io.IOException: Canceled
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:72)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
09-16 11:52:25.319 14854 14922 E SensorReceiver: 	... 4 more
09-16 11:52:25.439 14854 14922 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:25.491 14854 14854 D SensorReceiver: Received intent: android.bluetooth.device.action.ACL_DISCONNECTED
09-16 11:52:25.494 14854 14854 D SensorReceiver: Sensor bluetooth_connection corresponding to received event android.bluetooth.device.action.ACL_DISCONNECTED is disabled, skipping sensors update
09-16 11:52:25.557 14854 14922 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
09-16 11:52:25.558 14854 14929 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=36214674-15ce-4369-9578-a2b73738abce, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
09-16 11:52:26.132 14854 14926 D LogcatReader: Read logcat for pid 14854

My logg was to big to post :slight_smile:

What I can see now is that she only has a log from 11:51-11:52 while mine has a log from 11:20 to 11:52

still successful to send a location update

if this error occurs wehn sending a location update then yes you will see a failure but in this case it only impacted sensor updates. The error is that the app could not communicate to the server.

app logs only contain data from our assigned PID which can change at any moment by the app. Best to open the app, reproduce the issue then check the logs. If the logs are still not long enough then you may need to use an app like Logcat Reader to look at more historical logs.

Thanks for the help I’ll try to check why her phone can’t communicate with the server when she’s not at home.

Work when she’s at work.

Data traffic works both via wifi and the telephone network.