New Phone - Remote won't work with Nabu Casa

I had the app working fine for remote access on my old phone (pixel 7), but it won’t work on my pixel 8. The app works fine when I am on my local network.

I have tried going to nabu-casa in the browser and CAN access my instance, so I don’t think it is an issue with the connection of HA - Nabu Casa.

I have verified that “Settings – Companion App – (name of your server) – Home Assistant URL – Use Home Assistant Cloud” Is on (I have also toggled it off, rebooted, and toggled it back on)

I have uninstalled the app, cleared cache, reinstalled and re-set up from scratch

I have tried disconnecting from nabu casa and reconnecting

Oddly, I also can’t test this unless I’m away from home physically. If I turn off wifi it still works, but it doesn’t work if I am physically anywhere else.

When I am not physically at home, I see the image attached. I have tried the refresh option with no luck.

I’m sure I’m missing something simple but please help!

when you toggled it off did you see an incorrect URL in its place? if so try to update that manually

have you also defined your home WiFi SSID and internal URL?

I saw a blank space and I put the casa url there, no luck.

I have defined a home wifi SSID and the internal url (Internal is the ip:port). I suspect that bit is fine since it works on my home network

ok in the pop-up click on settings > troubleshooting > show and share logs and you should see some failure like failed to connect. Check if that URL is what you expect, for example missing http:// is a thing that can happen.

------- beginning of main
09-17 09:38:39.787 29502 29502 D LocBroadcastReceiver: Received location update.
09-17 09:38:39.789 29502 29502 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false
09-17 09:38:39.789 29502 12603 D LocBroadcastReceiver: Last Location: 
09-17 09:38:39.789 29502 12603 D LocBroadcastReceiver: Coords:(36.0293096, -78.8997614)
09-17 09:38:39.789 29502 12603 D LocBroadcastReceiver: Accuracy: 43.117
09-17 09:38:39.789 29502 12603 D LocBroadcastReceiver: Bearing: 0.0
09-17 09:38:39.790 29502 12603 D LocBroadcastReceiver: Begin evaluating if location update should be skipped
09-17 09:38:39.790 29502 12603 D LocBroadcastReceiver: Received location that is 164 milliseconds old, 1726580319626 compared to 1726580319790 with source fused
09-17 09:38:39.797 29502 12603 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:38:40.242 29502 12603 D LocBroadcastReceiver: Location update sent successfully for 1 as exact
09-17 09:38:46.433 29502 12603 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:38:46.438 29502 12603 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:38:46.442 29502 12603 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:38:46.447 29502 12603 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:38:46.448 29502 12603 D WebSocketRepository: Sending message 911: {type=ping, id=911}
09-17 09:38:46.448 29502 12603 D WebSocketRepository: Message number 911 sent
09-17 09:38:46.681 29502 29638 D WebSocketRepository: Websocket: onMessage (text)
09-17 09:38:46.682 29502 29638 D WebSocketRepository: Message number 911 received
09-17 09:39:06.932 29502  3388 D vulkan  : searching for layers in '/data/app/~~2Byv4N_VC2cSiuPaJjpU5g==/io.homeassistant.companion.android-nZz22iUXlyNK6ZE3KV60nA==/lib/arm64'
09-17 09:39:06.932 29502  3388 D vulkan  : searching for layers in '/data/app/~~2Byv4N_VC2cSiuPaJjpU5g==/io.homeassistant.companion.android-nZz22iUXlyNK6ZE3KV60nA==/base.apk!/lib/arm64-v8a'
09-17 09:39:06.933 29502  3388 D vulkan  : searching for layers in '/data/app/~~2Byv4N_VC2cSiuPaJjpU5g==/io.homeassistant.companion.android-nZz22iUXlyNK6ZE3KV60nA==/split_config.arm64_v8a.apk!/lib/arm64-v8a'
09-17 09:39:06.933 29502  3388 D vulkan  : searching for layers in '/data/app/~~2Byv4N_VC2cSiuPaJjpU5g==/io.homeassistant.companion.android-nZz22iUXlyNK6ZE3KV60nA==/split_config.xxhdpi.apk!/lib/arm64-v8a'
09-17 09:39:07.024 29502 29502 I ContentCaptureHelper: Setting logging level to OFF
09-17 09:39:07.029 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10314; state: DISABLED
09-17 09:39:07.037 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.037 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:07.038 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.039 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.039 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:07.040 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.046 29502   533 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.112 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.124 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.131 29502 29502 I cr_CombinedPProvider: #registerProvider() provider:WV.o8@bc2daf2 isPolicyCacheEnabled:false policyProvidersSize:0
09-17 09:39:07.132 29502 29502 I cr_PolicyProvider: #setManagerAndSource() 0
09-17 09:39:07.139 29502 29502 I cr_CombinedPProvider: #linkNativeInternal() 1
09-17 09:39:07.139 29502 29502 I cr_AppResProvider: #getApplicationRestrictionsFromUserManager() Bundle[EMPTY_PARCEL]
09-17 09:39:07.139 29502 29502 I cr_PolicyProvider: #notifySettingsAvailable() 0
09-17 09:39:07.139 29502 29502 I cr_CombinedPProvider: #onSettingsAvailable() 0
09-17 09:39:07.139 29502 29502 I cr_CombinedPProvider: #flushPolicies()
09-17 09:39:07.173 29502  3431 E chromium: [ERROR:simple_file_enumerator.cc(58)] Could not get file info for /data/user/0/io.homeassistant.companion.android/cache/WebView/Default/HTTP Cache/Code Cache/js/03714224f8549e13_0
09-17 09:39:07.173 29502  3431 E chromium: [ERROR:simple_file_enumerator.cc(58)] Could not get file info for /data/user/0/io.homeassistant.companion.android/cache/WebView/Default/HTTP Cache/Code Cache/js/f9e85f19628264f0_0
09-17 09:39:07.175 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 214741472; UID 10314; state: ENABLED
09-17 09:39:07.178 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10314; state: ENABLED
09-17 09:39:07.204 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10314; state: ENABLED
09-17 09:39:07.204 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 63938206; UID 10314; state: DISABLED
09-17 09:39:07.226 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.226 29502 29502 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1726580347226)
09-17 09:39:07.232 29502 29502 D WebviewActivity: Current webview package com.google.android.webview and version 128.0.6613.146
09-17 09:39:07.235 29502 29502 D WebviewActivity: Matter/Thread step changed to NOT_STARTED
09-17 09:39:07.236 29502 29502 I ContentCaptureHelper: Setting logging level to OFF
09-17 09:39:07.238 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.246 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.246 29502 29502 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1726580347246)
09-17 09:39:07.321 29502 29511 I mpanion.android: Background concurrent mark compact GC freed 996532(37MB) AllocSpace objects, 35(1404KB) LOS objects, 75% free, 14MB/57MB, paused 824us,1.282ms total 102.318ms
09-17 09:39:07.321 29502 29511 W mpanion.android: Reducing the number of considered missed Gc histogram windows from 350 to 100
09-17 09:39:07.331 29502 29513 W System  : A resource failed to call AbstractCursor.close. 
09-17 09:39:07.331 29502 29513 W System  : A resource failed to call CursorWrapperInner.close. 
09-17 09:39:07.332 29502 29513 W System  : A resource failed to call AbstractCursor.close. 
09-17 09:39:07.333 29502 29513 W System  : A resource failed to call CursorWrapperInner.close. 
09-17 09:39:07.340 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 193247900; UID 10314; state: ENABLED
09-17 09:39:07.370 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 65536 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 1 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 2 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 524288 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 8 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 65536 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 1 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 2 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 524288 of codec video/avc
09-17 09:39:07.371 29502  3471 W cr_VAUtil: Unknown level: 131072 for profile 8 of codec video/avc
09-17 09:39:07.383 29502 29502 I ContentCaptureHelper: Setting logging level to OFF
09-17 09:39:07.406 29502 29574 I WM-Processor: Moving WorkSpec (8e897256-366e-4e68-ac32-416dc9816278) to the foreground
09-17 09:39:07.410 29502 29648 D SensorWorker: Updating all Sensors in foreground.
09-17 09:39:07.412 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.422 29502 29502 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
09-17 09:39:07.456 29502 29502 D VRI[LaunchActivity]: visibilityChanged oldVisibility=true newVisibility=false
09-17 09:39:07.473 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 258825825; UID 10314; state: DISABLED
09-17 09:39:07.475 29502 29502 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@cfd251a
09-17 09:39:07.476 29502 29567 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.479 29502 29648 E SensorReceiver: Issue requesting updates for Notification sensors
09-17 09:39:07.479 29502 29648 E SensorReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:152)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.sensors.NotificationSensorManager.updateActiveNotificationCount(NotificationSensorManager.kt:236)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.sensors.NotificationSensorManager.requestSensorUpdate(NotificationSensorManager.kt:102)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.common.sensors.SensorManager$DefaultImpls.requestSensorUpdate(SensorManager.kt:138)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.sensors.NotificationSensorManager.requestSensorUpdate(NotificationSensorManager.kt:25)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.common.sensors.SensorReceiverBase.updateSensors(SensorReceiverBase.kt:184)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.common.sensors.SensorWorkerBase$doWork$2.invokeSuspend(SensorWorkerBase.kt:67)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
09-17 09:39:07.479 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
09-17 09:39:07.480 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.480 29502 29502 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1726580347480)
09-17 09:39:07.490 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.490 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.490 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:07.492 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.493 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:07.493 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:07.721 29502 29648 D WebSocketRepository: Sending message 912: {type=auth/current_user, id=912}
09-17 09:39:07.721 29502 29648 D WebSocketRepository: Message number 912 sent
09-17 09:39:07.964 29502 29638 D WebSocketRepository: Websocket: onMessage (text)
09-17 09:39:07.964 29502 29638 D WebSocketRepository: Message number 912 received
09-17 09:39:08.027 29502   533 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:08.194 29502 29648 I SensorReceiver: Sensor updates and sync completed
09-17 09:39:08.195 29502 29573 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=8e897256-366e-4e68-ac32-416dc9816278, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
09-17 09:39:08.849 29502  3508 D WebviewActivity: External bus {"type":"config/get","id":1}
09-17 09:39:08.850 29502 29502 D WebviewActivity: externalBus({"id":1,"type":"result","success":true,"result":{"hasSettingsScreen":true,"canWriteTag":true,"hasExoPlayer":true,"canCommissionMatter":true,"canImportThreadCredentials":true,"hasAssist":true,"hasBarCodeScanner":1}});
09-17 09:39:08.932 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:08.932 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:08.933 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:08.933 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:08.934 29502 29502 D WebviewActivity: Callback null
09-17 09:39:08.944 29502 29502 D WebviewActivity: Color from webview is "#101e24-SPACER-#111111"
09-17 09:39:08.944 29502 29502 D WebviewActivity: Color from webview is "#101e24-SPACER-#111111"
09-17 09:39:08.945 29502 29648 D WebViewPresenterImpl: Try getting color from webview color "#101e24".
09-17 09:39:08.945 29502 29648 I WebViewPresenterImpl: Found color -15720924.
09-17 09:39:08.945 29502 29648 D WebViewPresenterImpl: Try getting color from webview color "#111111".
09-17 09:39:08.945 29502 29648 I WebViewPresenterImpl: Found color -15658735.
09-17 09:39:09.047 29502  2572 D TrafficStats: tagSocket(179) with statsTag=0xffffffff, statsUid=-1
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: Unable to retrieve external auth
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: io.homeassistant.companion.android.common.data.authentication.AuthorizationException
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.refreshSessionWithToken(AuthenticationRepositoryImpl.kt:175)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.access$refreshSessionWithToken(AuthenticationRepositoryImpl.kt:16)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl$refreshSessionWithToken$1.invokeSuspend(Unknown Source:15)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at android.os.Handler.handleCallback(Handler.java:959)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at android.os.Handler.dispatchMessage(Handler.java:100)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at android.os.Looper.loopOnce(Looper.java:232)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at android.os.Looper.loop(Looper.java:317)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at android.app.ActivityThread.main(ActivityThread.java:8592)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at java.lang.reflect.Method.invoke(Native Method)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
09-17 09:39:09.454 29502 29502 E WebViewPresenterImpl: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
09-17 09:39:09.456 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:09.456 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:09.462 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:09.519 29502 29502 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
09-17 09:39:09.868 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:09.868 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:09.870 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:09.870 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: Unable to retrieve external auth
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: io.homeassistant.companion.android.common.data.authentication.AuthorizationException
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.refreshSessionWithToken(AuthenticationRepositoryImpl.kt:175)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.access$refreshSessionWithToken(AuthenticationRepositoryImpl.kt:16)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl$refreshSessionWithToken$1.invokeSuspend(Unknown Source:15)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at android.os.Handler.handleCallback(Handler.java:959)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at android.os.Handler.dispatchMessage(Handler.java:100)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at android.os.Looper.loopOnce(Looper.java:232)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at android.os.Looper.loop(Looper.java:317)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at android.app.ActivityThread.main(ActivityThread.java:8592)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at java.lang.reflect.Method.invoke(Native Method)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
09-17 09:39:09.969 29502 29502 E WebViewPresenterImpl: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
09-17 09:39:09.973 29502 29502 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:09.973 29502 29502 D ServerConnectionInfo: Using cloud / remote UI URL
09-17 09:39:11.169 29502 29502 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Dialog$$ExternalSyntheticLambda2@c2db05b
09-17 09:39:11.171 29502  3388 D HWUI    : endAllActiveAnimators on 0xb400007732714430 (RippleDrawable) with handle 0xb40000787271b910
09-17 09:39:11.175 29502 29502 D IntegrationRepository: setAppActive(): false
09-17 09:39:11.176 29502 29502 D IntegrationRepository: setAppActive(): false
09-17 09:39:11.179 29502 29502 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
09-17 09:39:11.181 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:11.207 29502 29648 E SensorReceiver: Issue requesting updates for Notification sensors
09-17 09:39:11.207 29502 29648 E SensorReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:152)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.sensors.NotificationSensorManager.updateActiveNotificationCount(NotificationSensorManager.kt:236)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.sensors.NotificationSensorManager.requestSensorUpdate(NotificationSensorManager.kt:102)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.common.sensors.SensorManager$DefaultImpls.requestSensorUpdate(SensorManager.kt:138)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.sensors.NotificationSensorManager.requestSensorUpdate(NotificationSensorManager.kt:25)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.common.sensors.SensorReceiverBase.updateSensors(SensorReceiverBase.kt:184)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at io.homeassistant.companion.android.common.sensors.SensorReceiverBase$onReceive$3.invokeSuspend(SensorReceiverBase.kt:154)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
09-17 09:39:11.207 29502 29648 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
09-17 09:39:11.211 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:11.212 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:11.234 29502 29502 I ContentCaptureHelper: Setting logging level to OFF
09-17 09:39:11.234 29502 29502 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1726580351234)
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.278 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.279 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.279 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.279 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.279 29502 29502 W TextView: onProvideContentCaptureStructure(): calling assumeLayout()
09-17 09:39:11.282 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:11.292 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.303 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.310 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:11.421 29502 29502 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1726580351421)
09-17 09:39:11.422 29502 29502 D IntegrationRepository: setAppActive(): true
09-17 09:39:11.509 29502 31459 D TrafficStats: tagSocket(357) with statsTag=0xffffffff, statsUid=-1
09-17 09:39:11.582 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:11.730 29502 29648 I SensorReceiver: Sensor updates and sync completed
09-17 09:39:11.791 29502 29502 D VRI[WebViewActivity]: visibilityChanged oldVisibility=true newVisibility=false
09-17 09:39:13.420 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:13.616 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:13.748 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:13.838 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:13.930 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.203 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.582 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.628 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.645 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.686 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.713 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.769 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.797 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.827 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.854 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.903 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.930 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:14.995 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:15.030 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:15.102 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:15.162 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:15.253 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:15.346 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:15.611 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.408 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.454 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:16.459 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:16.463 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.463 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:16.467 29502 29648 D ServerConnectionInfo: localUrl is: true, usesInternalSsid is: false, usesWifi is: false
09-17 09:39:16.468 29502 29648 D WebSocketRepository: Sending message 913: {type=ping, id=913}
09-17 09:39:16.468 29502 29648 D WebSocketRepository: Message number 913 sent
09-17 09:39:16.494 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.528 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.564 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.604 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.629 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.674 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:16.695 29502 29638 D WebSocketRepository: Websocket: onMessage (text)
09-17 09:39:16.696 29502 29638 D WebSocketRepository: Message number 913 received
09-17 09:39:19.193 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:19.193 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:19.193 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:19.193 29502 29502 E mpanion.android: Invalid resource ID 0x00000000.
09-17 09:39:20.966 29502 29502 D CompatibilityChangeReporter: Compat change id reported: 163400105; UID 10314; state: ENABLED
09-17 09:39:20.968 29502 29629 D LogcatReader: Read logcat for pid 29502

please log out of the app and log back in, make sure to give your username and password and avoid using anything like trusted networks as those logins are only allowed locally and not externally.

Probably a stupid question, but I’m not seeing that option? I can delete the server, I can clear cache, but not sure how to log out

go to your user profile in the sidebar and log out :slight_smile:

Can’t get to my user profile in the side bar, because it won’t open my ha instance. I can only get to settings

ok in that case try the start fresh, maybe something got corrupted when you switched phones https://companion.home-assistant.io/docs/troubleshooting/faqs#starting-fresh-with-the-android-app

note the steps dont list uninstall/reinstall as that triggers auto backup which is what we are trying to avoid

For any who might come on this later, the reset worked when I did it NOT on my home network.

I have the server set so you don’t have to log in when you are on our local network and it seems that is making the app skip an important step in the start up. So either set up the android app not on your home network, or (probably) it would work to temporarily disable the auto login locally while you get things set up

1 Like