home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.23k stars 623 forks source link

Entity State Widget sometimes gets stuck #4200

Open ericswpark opened 6 months ago

ericswpark commented 6 months ago

Home Assistant Android app version(s): 2024.1.5-full

Android version(s): Android 14

Device model(s): Z Fold 5

Home Assistant version: 2024.2.1

Last working Home Assistant release (if known): N/A

Description of problem, include YAML if issue is related to notifications:

Sometimes the Home Assistant app get stuck trying to refresh the widget. See attached screenshot. The loading circle continues to spin, sometimes even after entering the app, flipping the entity connected to the toggle widget, and exiting.

Companion App Logs:

I can share logs privately if needed.

Screenshot or video of problem:

Screenshot_20240209_210918_One UI Home

Additional information:

dshokouhi commented 6 months ago

I can share logs privately if needed.

we cannot proceed without logs, please get us the logs when the issue is reproduced.

ericswpark commented 6 months ago

I managed to reproduce the issue and capture the logs. Hoping it doesn't contain anything private:

 02-12 10:38:28.723 10287 10287 D ButtonWidget: Broadcast received: 
02-12 10:38:28.723 10287 10287 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_OFF
02-12 10:38:28.723 10287 10287 D ButtonWidget: AppWidgetId: -1
02-12 10:38:28.726 10287 10287 D MediaPlayCtrlsWidget: Broadcast received: 
02-12 10:38:28.726 10287 10287 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_OFF
02-12 10:38:28.726 10287 10287 D MediaPlayCtrlsWidget: AppWidgetId: -1
02-12 10:38:28.755 10287 14030 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:28.758 10287 10336 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=9c0b1934-17b1-4817-a2b9-c33e18cce43f, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
02-12 10:38:29.928 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=1 newDisplayState=3
02-12 10:38:29.942 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=1 newDisplayState=3
02-12 10:38:29.972 10287 10287 D SurfaceView@d913ebb: 227622587 updateSurface: has no frame
02-12 10:38:30.201 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=3
02-12 10:38:30.201 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=3
02-12 10:38:31.247 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=4
02-12 10:38:31.247 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=4
02-12 10:38:31.276 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=4 newDisplayState=4
02-12 10:38:31.277 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=4 newDisplayState=4
02-12 10:38:35.022 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=4 newDisplayState=3
02-12 10:38:35.023 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=4 newDisplayState=3
02-12 10:38:35.052 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=3
02-12 10:38:35.052 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=3
02-12 10:38:35.085 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=1
02-12 10:38:35.086 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=3 newDisplayState=1
02-12 10:38:35.336 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=1 newDisplayState=1
02-12 10:38:35.337 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=1 newDisplayState=1
02-12 10:38:55.060 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=1 newDisplayState=2
02-12 10:38:55.061 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=1 newDisplayState=2
02-12 10:38:55.078 10287 10287 D SurfaceView@d913ebb: 227622587 updateSurface: has no frame
02-12 10:38:55.204 10287 10287 D SensorReceiver: Received intent: android.intent.action.SCREEN_ON
02-12 10:38:55.204 10287 10287 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_ON is disabled, skipping sensors update
02-12 10:38:55.207 10287 10287 D ButtonWidget: Broadcast received: 
02-12 10:38:55.207 10287 10287 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_ON
02-12 10:38:55.207 10287 10287 D ButtonWidget: AppWidgetId: -1
02-12 10:38:55.208 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.220 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.220 10287 10287 D ServerConnectionInfo: Using external URL
02-12 10:38:55.235 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.235 10287 10287 D ServerConnectionInfo: Using external URL
02-12 10:38:55.239 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.239 10287 10287 D ServerConnectionInfo: Using external URL
02-12 10:38:55.244 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.244 10287 10287 D ServerConnectionInfo: Using external URL
02-12 10:38:55.245 10287 10287 D MediaPlayCtrlsWidget: Broadcast received: 
02-12 10:38:55.245 10287 10287 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_ON
02-12 10:38:55.245 10287 10287 D MediaPlayCtrlsWidget: AppWidgetId: -1
02-12 10:38:55.250 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.253 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:38:55.254 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:38:55.288 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.288 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:38:55.288 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:38:55.295 10287 10287 D TrafficStats: tagSocket(222) with statsTag=0xffffffff, statsUid=-1
02-12 10:38:55.303 10287 10287 E StaticWidget: Unable to fetch entity
02-12 10:38:55.303 10287 10287 E StaticWidget: retrofit2.HttpException: HTTP 404 Not Found
02-12 10:38:55.303 10287 10287 E StaticWidget:  at retrofit2.KotlinExtensions$await$2$2.onResponse(KotlinExtensions.kt:53)
02-12 10:38:55.303 10287 10287 E StaticWidget:  at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:161)
02-12 10:38:55.303 10287 10287 E StaticWidget:  at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
02-12 10:38:55.303 10287 10287 E StaticWidget:  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
02-12 10:38:55.303 10287 10287 E StaticWidget:  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
02-12 10:38:55.303 10287 10287 E StaticWidget:  at java.lang.Thread.run(Thread.java:1012)
02-12 10:38:55.313 10287 10287 I AppWidgetManager: updateAppWidget() appWidgetIds = [7]
02-12 10:38:55.314 10287 14030 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:38:55.315 10287 10330 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=20ec44f5-39d6-4842-97d8-e37a2d90f620, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
02-12 10:38:55.316 10287 10287 I AppWidgetManager: updateAppWidget() appWidgetIds = [8]
02-12 10:38:57.945 10287 10287 D AppWidgetManager: partiallyUpdateAppWidget() appWidgetIds = [8]
02-12 10:38:57.947 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:39:01.228 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:39:01.228 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:39:10.349 10287 10287 D TrafficStats: tagSocket(222) with statsTag=0xffffffff, statsUid=-1
02-12 10:39:16.408 10287 10287 D TrafficStats: tagSocket(222) with statsTag=0xffffffff, statsUid=-1
02-12 10:39:18.530 10287 10287 I ViewRootImpl@66f2580[WebViewActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:39:18.530 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2
02-12 10:39:18.569 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: handleAppVisibility mAppVisible = false visible = true
02-12 10:39:18.593 10287 10287 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@97c92b8
02-12 10:39:18.627 10287 10287 I ViewRootImpl@240e5cc[SettingsActivity]: dispatchDetachedFromWindow
02-12 10:39:18.629 10287 10287 D InputTransport: Input channel destroyed: '4c60e70', fd=374
02-12 10:39:18.695 10287 10287 I DecorView: setWindowBackground: isPopOver=false color=ffffffff d=android.graphics.drawable.ColorDrawable@882003
02-12 10:39:18.722 10287 10287 D ScrollView: initGoToTop
02-12 10:39:18.735 10287 10287 E TextView: Saved cursor position 645/645 out of range for text 
02-12 10:39:18.738 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1707744320937, currentMillis: 1707752358737)
02-12 10:39:18.739 10287 15456 D NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
02-12 10:39:18.750 10287 10287 I InsetsController: onStateChanged: host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity, from=android.view.ViewRootImpl.setView:1744, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 904, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 85 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(423, 0 - 482, 85), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=904 displayHeight=2316 physicalDisplayWidth=904 physicalDisplayHeight=2316 density={2.625} cutoutSpec={M 0,0 H -11.23809523809524 V 32.38095238095238 H 11.23809523809524 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]}  mRoundedCornerFrame=Rect(0, 0 - 904, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(788, 0 - 904, 85) rotation=0}, mDisplayShape=DisplayShape{ spec=-1016533545 displayWidth=904 displayHeight=2316 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0000 mType=statusBars mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0005 mType=mandatorySystemGestures mFrame=[0,0][904,117] mVisible=true mFlags=[]}, InsetsSource: {e3a0006 mType=tappableElement mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {26b70001 mType=navigationBars mFrame=[0,0][0,0] mVisible=true mFlags=[SUPPRESS_SCRIM]}, InsetsSource: {26b70004 mType=systemGestures mFrame=[0,0][83,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70005 mType=mandatorySystemGestures mFrame=[0,2251][904,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70006 mType=tappableElement mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {26b70024 mType=systemGestures mFrame=[821,0][904,2316] mVisible=true mFlags=[]}, InsetsSource: {48a10004 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10005 mType=mandatorySystemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10006 mType=tappableElement mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10024 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]} }
02-12 10:39:18.750 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: synced displayState. AttachInfo displayState=2
02-12 10:39:18.753 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: setView = com.android.internal.policy.DecorView@c87f7ab TM=true
02-12 10:39:18.796 10287 10287 I BLASTBufferQueue_Java: new BLASTBufferQueue, mName= ViewRootImpl@4a898ee[SettingsActivity] mNativeObject= 0xb40000784af22400 sc.mNativeObject= 0xb40000784ae7de00 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 
02-12 10:39:18.796 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@4a898ee[SettingsActivity] mNativeObject= 0xb40000784af22400 sc.mNativeObject= 0xb40000784ae7de00 format= -1 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 
02-12 10:39:18.797 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)0 dur=33 res=0x403 s={true 0xb400007869d86800} ch=true seqId=0
02-12 10:39:18.797 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: performConfigurationChange setNightDimText nightDimLevel=0
02-12 10:39:18.797 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb400007869d86800} hwInitialized=true
02-12 10:39:18.798 10287 10287 D ScrollView:  onsize change changed 
02-12 10:39:18.799 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4694 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 
02-12 10:39:18.799 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: Setup new sync=wmsSync-ViewRootImpl@4a898ee[SettingsActivity]#98
02-12 10:39:18.799 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: Creating new active sync group ViewRootImpl@4a898ee[SettingsActivity]#99
02-12 10:39:18.799 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: registerCallbacksForSync syncBuffer=false
02-12 10:39:18.803 10287 15556 D ViewRootImpl@4a898ee[SettingsActivity]: Received frameDrawingCallback syncResult=0 frameNum=1.
02-12 10:39:18.803 10287 15556 I ViewRootImpl@4a898ee[SettingsActivity]: mWNT: t=0xb40000784ae94f00 mBlastBufferQueue=0xb40000784af22400 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13674 android.view.ThreadedRenderer$1.onFrameDraw:788 <bottom of call stack> 
02-12 10:39:18.803 10287 15556 D ViewRootImpl@4a898ee[SettingsActivity]: Setting up sync and frameCommitCallback
02-12 10:39:18.816 10287 15456 I BLASTBufferQueue: [ViewRootImpl@4a898ee[SettingsActivity]#35](f:0,a:0,s:0) onFrameAvailable the first frame is available
02-12 10:39:18.817 10287 15456 D ViewRootImpl@4a898ee[SettingsActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
02-12 10:39:18.817 10287 15456 D OpenGLRenderer: CFMS:: SetUp Pid : 10287    Tid : 15456
02-12 10:39:18.817 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: reportDrawFinished
02-12 10:39:18.819 10287 13774 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
02-12 10:39:18.821 10287 13774 D LogcatReader: Read logcat for pid 10287
02-12 10:39:18.828 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: registerCallbackForPendingTransactions
02-12 10:39:18.828 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity
02-12 10:39:18.829 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=statusBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity
02-12 10:39:18.829 10287 15555 I ViewRootImpl@4a898ee[SettingsActivity]: mWNT: t=0xb40000784ae38380 mBlastBufferQueue=0xb40000784af22400 fn= 3 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 
02-12 10:39:18.829 10287 10287 D SettingsWearDetection: API unavailable for discovering nodes (no Wear)
02-12 10:39:18.837 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0
02-12 10:39:18.838 10287 10287 D ViewRootImpl@4a898ee[SettingsActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007869d86800}
02-12 10:39:18.838 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 1707744320937, currentMillis: 1707752358838)
02-12 10:39:18.838 10287 10287 D IntegrationRepository: setAppActive(): true
02-12 10:39:18.838 10287 10287 D InputMethodManagerUtils: startInputInner - Id : 0
02-12 10:39:18.838 10287 10287 I InputMethodManager: startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
02-12 10:39:18.862 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=false, type=ime, host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity
02-12 10:39:18.863 10287 12075 I ViewRootImpl@4a898ee[SettingsActivity]: Resizing android.view.ViewRootImpl@69eb975: frame = [0,0][904,2316] reportDraw = false forceLayout = false syncSeqId = -1
02-12 10:39:18.863 10287 10287 I ViewRootImpl@4a898ee[SettingsActivity]: handleResized, msg = 4 frames=ClientWindowFrames{frame=[0,0][904,2316] display=[0,0][904,2316] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
02-12 10:39:18.872 10287 18907 D TrafficStats: tagSocket(249) with statsTag=0xffffffff, statsUid = -1

The button widget was pressed sometime around 10:39.

dshokouhi commented 6 months ago
02-12 10:38:55.303 10287 10287 E StaticWidget: Unable to fetch entity
02-12 10:38:55.303 10287 10287 E StaticWidget: retrofit2.HttpException: HTTP 404 Not Found

your server is returning a 404 error , this needs to be solved anything unique about your setup? can you try logging out and logging back in to the app?

ericswpark commented 6 months ago

@dshokouhi only thing I can think of is the Home Assistant instance works over Tailscale.

But, this happens even on home Wi-Fi, where Tailscale is not required for mDNS discovery.

I don't believe it's an authentication issue as when I launch the app it loads the dashboard after a second or two.

dshokouhi commented 6 months ago

the issue is that the server is returning a 404 error and that is not an error the app can solve, this must be solved on teh server end.

ericswpark commented 6 months ago

@dshokouhi Well is there a way to see where it got that error from? If it's from the server, is there a way to see why the server returned a 404 in the HA logs?

dshokouhi commented 6 months ago

@dshokouhi Well is there a way to see where it got that error from? If it's from the server, is there a way to see why the server returned a 404 in the HA logs?

you can try checking HA core logs to see if any error correlates there but as you mentioned you use tailscale the error may originate from elsewhere. Its not as easy to tell but the API the app is using looks to be failing due to a 404 error so I would start checking things on the network. Make sure all APIs are open in case you are restricting something. A 404 error is a bit unexpected here as I would imagine we would see a failed to connect error or something similar.

So just to confirm the issue you are seeing is that the widget gets stuck in this state presumably with the same error and never it recovers? or it eventually recovers? Do you ever see the widget with an error message? You only have this one Entity State widget correct?

ericswpark commented 6 months ago

@dshokouhi

Make sure all APIs are open in case you are restricting something.

No restrictions, as far as I'm aware.

with the same error and never it recovers? or it eventually recovers? Do you ever see the widget with an error message?

The widget:

No error messages are shown, through toasts or notifications, as far as I'm aware, other than the third aforementioned state where the error symbol is shown.

It eventually recovers when I do other stuff on the phone and then come back to the widget. I find that it has recovered in the background, but am unsure how long this recovery process takes. Sometimes launching the HA companion app, quitting it, and then repeating a couple of times makes the widget recover, but not always.

You only have this one Entity State widget correct?

Yup, just this entity widget.

EDIT: updated when the widget "recovers" from this bugged state

EDIT2:

you can try checking HA core logs to see if any error correlates there

Forgot to mention, I did check, but there's nothing of note.

dshokouhi commented 6 months ago
  • sometimes gets stuck in this infinite loading loop
  • sometimes shows the error symbol (the one with the red exclamation mark and refresh icon). Pressing it usually leads to the infinite loading circle (I don't think I've seen it recover to the "function correctly" state when the error symbol is shown)

Can you check if its always the same error here and the same amount of time things take? Our error handling here is always the same so it sorta suggests some calls just take forever to get a response back which is why the loader looks to be stuck. Although that is also odd because we set a timeout to 30 seconds. However teh 404 error the server is returning is also unexpected and not common.

I would also suggest bypassing the entire tailscale setup and connect directly to the server to rule out a configuration issue.

ericswpark commented 6 months ago

I can test with Tailscale disabled when I get back home today, but in the meantime I think that timeout might be too high. Is there a way for the user to tweak that setting? I think ideally it should be around 10 seconds or so, and it should retry once before showing an error screen. So it'll allow for transient network failures (or switching from Wi-Fi to mobile data), and it'll be shorter than 30 seconds.

dshokouhi commented 6 months ago

Is there a way for the user to tweak that setting? I think ideally it should be around 10 seconds or so, and it should retry once before showing an error screen. So it'll allow for transient network failures (or switching from Wi-Fi to mobile data), and it'll be shorter than 30 seconds.

no these are sane defaults to work with majority of setups and use cases. Retries are already configured in places appropriate. This current code works fine for most users. As mentioned before the 404 error you are facing is unique and not common which may also relate to why the widget looks stuck. In your logs the error returned immediately but we are not sure this is always the case, even in the event a timeout has reached we should still show the error.

dshokouhi commented 6 months ago

1 more request, can you please share teh configuration of the widget having the issue please?

ericswpark commented 6 months ago

@dshokouhi sure:

Screenshot_20240212_131643_Home Assistant

ericswpark commented 6 months ago

@dshokouhi just got back home, enabled and connected to Wi-Fi, disabled Tailscale, and re-tested. Widget got stuck on the first try, which is good for repro :) So we can definitely rule out Tailscale from the equation.

I let the widget load, and it continuously ran for way longer than 30 seconds. After 90 seconds, I decided to collect logs (attached below). When I exited out of the Home Assistant app it was still loading. I checked it a couple of minutes later and it correctly showed the entity state, although I am not sure when it got unstuck.

So when the widget gets into this state it doesn't time out, nor does it retry the operation. Or at least it appears to behave that way. Tapping on the widget during this infinite load state does nothing.

The widget was pressed at around 15:48 or 49. (It got unstuck between then and 56.)

Logs ``` 02-12 15:48:23.270 10287 10297 W mpanion.android: Reducing the number of considered missed Gc histogram windows from 136 to 100 02-12 15:48:23.281 10287 29339 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:23.281 10287 29339 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:23.285 10287 13774 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:23.286 10287 13774 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:23.292 10287 25730 D TrafficStats: tagSocket(215) with statsTag=0xffffffff, statsUid=-1 02-12 15:48:23.967 10287 13774 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:48:23.968 10287 13774 I SensorReceiver: Sensor updates and sync completed 02-12 15:48:24.323 10287 13774 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:48:24.323 10287 13774 I SensorReceiver: Sensor updates and sync completed 02-12 15:48:24.418 10287 13774 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:48:24.418 10287 13774 I SensorReceiver: Sensor updates and sync completed 02-12 15:48:26.879 10287 10287 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE 02-12 15:48:26.882 10287 13774 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:26.923 10287 29339 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:26.924 10287 10324 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=04e7de99-f6aa-47b0-98ba-f6d40d79fed7, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] 02-12 15:48:26.945 10287 10287 D SensorReceiver: Received intent: android.net.wifi.STATE_CHANGE 02-12 15:48:26.946 10287 14032 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:26.989 10287 29339 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:26.989 10287 10336 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=fa43443a-a67f-4ad2-9da9-ae4c1c3214f0, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] 02-12 15:48:27.108 10287 13774 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:27.108 10287 13774 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:27.139 10287 14032 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:27.140 10287 14032 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: false 02-12 15:48:27.891 10287 14032 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:48:27.891 10287 14032 I SensorReceiver: Sensor updates and sync completed 02-12 15:48:28.164 10287 14032 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:48:28.164 10287 14032 I SensorReceiver: Sensor updates and sync completed 02-12 15:48:30.347 10287 30628 E WebSocketRepository: Websocket: onFailure 02-12 15:48:30.347 10287 30628 E WebSocketRepository: java.net.SocketException: Software caused connection abort 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.net.SocketInputStream.socketRead0(Native Method) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.net.SocketInputStream.socketRead(SocketInputStream.java:118) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.net.SocketInputStream.read(SocketInputStream.java:173) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.net.SocketInputStream.read(SocketInputStream.java:143) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okio.InputStreamSource.read(JvmOkio.kt:93) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:128) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okio.RealBufferedSource.request(RealBufferedSource.kt:209) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okio.RealBufferedSource.require(RealBufferedSource.kt:202) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okio.RealBufferedSource.readByte(RealBufferedSource.kt:212) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 02-12 15:48:30.347 10287 30628 E WebSocketRepository: at java.lang.Thread.run(Thread.java:1012) 02-12 15:48:33.192 10287 10287 D AppWidgetManager: partiallyUpdateAppWidget() appWidgetIds = [8] 02-12 15:48:33.194 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:48:33.222 10287 23148 D TrafficStats: tagSocket(114) with statsTag=0xffffffff, statsUid=-1 02-12 15:48:36.471 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:48:40.356 10287 14033 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:48:40.357 10287 14033 D ServerConnectionInfo: Using external URL 02-12 15:48:40.363 10287 14033 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:48:40.363 10287 14033 D ServerConnectionInfo: Using external URL 02-12 15:48:40.391 10287 30628 D TrafficStats: tagSocket(126) with statsTag=0xffffffff, statsUid=-1 02-12 15:48:40.410 10287 30628 D WebSocketRepository: Websocket: onOpen 02-12 15:48:40.410 10287 30628 D WebSocketRepository: Websocket: onMessage (text) 02-12 15:48:40.420 10287 30628 D WebSocketRepository: Message number null received 02-12 15:48:40.423 10287 30628 D WebSocketRepository: Websocket: onMessage (text) 02-12 15:48:40.423 10287 29339 D WebSocketRepository: Auth Requested 02-12 15:48:40.423 10287 30628 D WebSocketRepository: Message number null received 02-12 15:48:40.424 10287 14033 D WebSocketRepository: Sending message 60: {type=supported_features, id=60, features={coalesce_messages=1}} 02-12 15:48:40.425 10287 14033 D WebSocketRepository: Resubscribing to active subscriptions... 02-12 15:48:40.425 10287 14033 D WebSocketRepository: Sending message 61: {type=subscribe_trigger, trigger={platform=state, entity_id=[input_boolean.arm]}, id=61} 02-12 15:48:40.426 10287 14033 D WebSocketRepository: Message number 61 sent 02-12 15:48:40.433 10287 30628 D WebSocketRepository: Websocket: onMessage (text) 02-12 15:48:40.435 10287 30628 D WebSocketRepository: Message number 60 received 02-12 15:48:40.442 10287 30628 D WebSocketRepository: Websocket: onMessage (text) 02-12 15:48:40.443 10287 30628 D WebSocketRepository: Message number 61 received 02-12 15:48:40.444 10287 13774 D WebSocketRepository: Sending message 62: {type=subscribe_trigger, trigger={platform=state, entity_id=[input_boolean.arm_bedroom]}, id=62} 02-12 15:48:40.445 10287 13774 D WebSocketRepository: Message number 62 sent 02-12 15:48:40.456 10287 30628 D WebSocketRepository: Websocket: onMessage (text) 02-12 15:48:40.456 10287 30628 D WebSocketRepository: Message number 62 received 02-12 15:48:43.947 10287 10287 D LocBroadcastReceiver: Received location update. 02-12 15:48:43.949 10287 10287 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false 02-12 15:48:43.950 10287 29340 D LocBroadcastReceiver: Last Location: 02-12 15:48:43.950 10287 29340 D LocBroadcastReceiver: Coords:(REDACTED) 02-12 15:48:43.950 10287 29340 D LocBroadcastReceiver: Accuracy: 26.4 02-12 15:48:43.950 10287 29340 D LocBroadcastReceiver: Bearing: 0.0 02-12 15:48:43.951 10287 29340 D LocBroadcastReceiver: Begin evaluating if location update should be skipped 02-12 15:48:43.952 10287 29340 D LocBroadcastReceiver: Received location that is 2601 milliseconds old, 1707770921350 compared to 1707770923951 with source fused 02-12 15:48:43.953 10287 29340 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:48:43.996 10287 29340 D LocBroadcastReceiver: Location update sent successfully for 1 as exact 02-12 15:48:54.395 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:48:57.970 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:49:15.584 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:49:19.062 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:49:36.673 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:49:40.160 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:49:43.948 10287 10287 D LocBroadcastReceiver: Received location update. 02-12 15:49:43.952 10287 10287 D ForegrndServiceLauncher: Check if service HighAccuracyLocationService is running. Service running = false 02-12 15:49:43.952 10287 29340 D LocBroadcastReceiver: Last Location: 02-12 15:49:43.952 10287 29340 D LocBroadcastReceiver: Coords:(REDACTED) 02-12 15:49:43.952 10287 29340 D LocBroadcastReceiver: Accuracy: 100.0 02-12 15:49:43.952 10287 29340 D LocBroadcastReceiver: Bearing: 0.0 02-12 15:49:43.953 10287 29340 D LocBroadcastReceiver: Begin evaluating if location update should be skipped 02-12 15:49:43.953 10287 29340 D LocBroadcastReceiver: Received location that is 33 milliseconds old, 1707770983920 compared to 1707770983953 with source fused 02-12 15:49:43.953 10287 29340 D LocBroadcastReceiver: Duplicate location received, not sending to HA 02-12 15:49:51.617 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:49:55.219 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:50:01.330 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: onDisplayChanged oldDisplayState=2 newDisplayState=2 02-12 15:50:01.395 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: handleAppVisibility mAppVisible = false visible = true 02-12 15:50:01.400 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: stopped(false) old = true 02-12 15:50:01.400 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: WindowStopped on io.homeassistant.companion.android/io.homeassistant.companion.android.widgets.entity.EntityWidgetConfigureActivity set to false 02-12 15:50:01.462 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.widgets.entity.EntityWidgetConfigureActivity 02-12 15:50:01.462 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=statusBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.widgets.entity.EntityWidgetConfigureActivity 02-12 15:50:01.464 10287 10287 I BLASTBufferQueue_Java: new BLASTBufferQueue, mName= ViewRootImpl@2073d68[EntityWidgetConfigureActivity] mNativeObject= 0xb4000079771a0c00 sc.mNativeObject= 0xb40000796d379a40 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 02-12 15:50:01.464 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@2073d68[EntityWidgetConfigureActivity] mNativeObject= 0xb4000079771a0c00 sc.mNativeObject= 0xb40000796d379a40 format= -1 caller= android.graphics.BLASTBufferQueue.:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 02-12 15:50:01.465 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)0 dur=15 res=0x403 s={true 0xb400007978478800} ch=true seqId=0 02-12 15:50:01.465 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb400007978478800} hwInitialized=true 02-12 15:50:01.466 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4694 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 02-12 15:50:01.466 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Setup new sync=wmsSync-ViewRootImpl@2073d68[EntityWidgetConfigureActivity]#26 02-12 15:50:01.466 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Creating new active sync group ViewRootImpl@2073d68[EntityWidgetConfigureActivity]#27 02-12 15:50:01.466 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: registerCallbacksForSync syncBuffer=false 02-12 15:50:01.479 10287 15556 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Received frameDrawingCallback syncResult=0 frameNum=1. 02-12 15:50:01.479 10287 15556 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: mWNT: t=0xb40000796d38f580 mBlastBufferQueue=0xb4000079771a0c00 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13674 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:01.479 10287 15556 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Setting up sync and frameCommitCallback 02-12 15:50:01.495 10287 15456 I BLASTBufferQueue: [ViewRootImpl@2073d68[EntityWidgetConfigureActivity]#70](f:0,a:0,s:0) onFrameAvailable the first frame is available 02-12 15:50:01.495 10287 15456 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true 02-12 15:50:01.496 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: reportDrawFinished 02-12 15:50:01.497 10287 10287 D CompatibilityChangeReporter: Compat change id reported: 163400105; UID 10355; state: ENABLED 02-12 15:50:01.504 10287 10287 I AssistStructure: Flattened final assist data: 4876 bytes, containing 1 windows, 24 views 02-12 15:50:01.504 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: registerCallbackForPendingTransactions 02-12 15:50:01.509 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0 02-12 15:50:01.509 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007978478800} 02-12 15:50:01.510 10287 10287 D InputMethodManagerUtils: startInputInner - Id : 0 02-12 15:50:01.510 10287 10287 I InputMethodManager: startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus 02-12 15:50:01.520 10287 15555 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: mWNT: t=0xb4000079009aa080 mBlastBufferQueue=0xb4000079771a0c00 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:01.532 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=false, type=ime, host=io.homeassistant.companion.android/io.homeassistant.companion.android.widgets.entity.EntityWidgetConfigureActivity 02-12 15:50:01.534 10287 4646 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Resizing android.view.ViewRootImpl@dbeca73: frame = [0,0][904,2316] reportDraw = false forceLayout = false syncSeqId = -1 02-12 15:50:01.534 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: handleResized, msg = 4 frames=ClientWindowFrames{frame=[0,0][904,2316] display=[0,0][904,2316] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false 02-12 15:50:02.588 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: ViewPostIme pointer 0 02-12 15:50:02.837 10287 10287 D WindowOnBackDispatcher: onBackInvoked, owner=ViewRootImpl@2073d68[EntityWidgetConfigureActivity], callback=android.app.Activity$$ExternalSyntheticLambda0@e682eb2 02-12 15:50:02.881 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: handleWindowFocusChanged: 0 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0 02-12 15:50:02.881 10287 10287 I ImeFocusController: onPreWindowFocus: skipped, hasWindowFocusfalse mHasImeFocus=true 02-12 15:50:02.881 10287 10287 I ImeFocusController: onPostWindowFocus: skipped, hasWindowFocusfalse mHasImeFocus=true 02-12 15:50:02.946 10287 10287 D InputTransport: Input channel destroyed: 'ClientS', fd=254 02-12 15:50:03.297 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: handleAppVisibility mAppVisible = true visible = false 02-12 15:50:03.314 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)8 dur=6 res=0x402 s={false 0x0} ch=true seqId=0 02-12 15:50:03.315 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: stopped(true) old = false 02-12 15:50:03.315 10287 10287 D ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: WindowStopped on io.homeassistant.companion.android/io.homeassistant.companion.android.widgets.entity.EntityWidgetConfigureActivity set to true 02-12 15:50:03.322 10287 10287 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@e682eb2 02-12 15:50:03.338 10287 10287 I ViewRootImpl@2073d68[EntityWidgetConfigureActivity]: dispatchDetachedFromWindow 02-12 15:50:03.346 10287 10287 D InputTransport: Input channel destroyed: '924c7a1', fd=243 02-12 15:50:03.658 10287 10287 I DecorView: setWindowBackground: isPopOver=false color=fffafafa d=android.graphics.drawable.ColorDrawable@fae8bc1 02-12 15:50:03.676 10287 15456 D NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager() 02-12 15:50:03.682 10287 10287 I InsetsController: onStateChanged: host=io.homeassistant.companion.android/io.homeassistant.companion.android.launch.LaunchActivity, from=android.view.ViewRootImpl.setView:1744, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 904, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 85 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(423, 0 - 482, 85), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=904 displayHeight=2316 physicalDisplayWidth=904 physicalDisplayHeight=2316 density={2.625} cutoutSpec={M 0,0 H -11.23809523809524 V 32.38095238095238 H 11.23809523809524 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 904, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(788, 0 - 904, 85) rotation=0}, mDisplayShape=DisplayShape{ spec=-1016533545 displayWidth=904 displayHeight=2316 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0000 mType=statusBars mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0005 mType=mandatorySystemGestures mFrame=[0,0][904,117] mVisible=true mFlags=[]}, InsetsSource: {e3a0006 mType=tappableElement mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {26b70001 mType=navigationBars mFrame=[0,0][0,0] mVisible=true mFlags=[SUPPRESS_SCRIM]}, InsetsSource: {26b70004 mType=systemGestures mFrame=[0,0][83,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70005 mType=mandatorySystemGestures mFrame=[0,2251][904,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70006 mType=tappableElement mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {26b70024 mType=systemGestures mFrame=[821,0][904,2316] mVisible=true mFlags=[]}, InsetsSource: {48a10004 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10005 mType=mandatorySystemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10006 mType=tappableElement mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10024 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]} } 02-12 15:50:03.682 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: synced displayState. AttachInfo displayState=2 02-12 15:50:03.685 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: setView = com.android.internal.policy.DecorView@5d0e731 TM=true 02-12 15:50:03.685 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.685 10287 10287 D ServerConnectionInfo: Using external URL 02-12 15:50:03.685 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.686 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.686 10287 10287 D ServerConnectionInfo: Using external URL 02-12 15:50:03.686 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.690 10287 29339 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.749 10287 26707 D TrafficStats: tagSocket(114) with statsTag=0xffffffff, statsUid=-1 02-12 15:50:03.761 10287 10287 W mpanion.android: Accessing hidden method Landroid/content/res/Resources$Theme;->getKey()Landroid/content/res/Resources$ThemeKey; (max-target-o, reflection, denied) 02-12 15:50:03.777 10287 29339 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.789 10287 29339 D WebSocketRepository: Sending message 63: {type=auth/current_user, id=63} 02-12 15:50:03.789 10287 29339 D WebSocketRepository: Message number 63 sent 02-12 15:50:03.792 10287 10287 I BLASTBufferQueue_Java: new BLASTBufferQueue, mName= ViewRootImpl@f66474a[LaunchActivity] mNativeObject= 0xb4000079770e6900 sc.mNativeObject= 0xb4000079786d0000 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 02-12 15:50:03.792 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@f66474a[LaunchActivity] mNativeObject= 0xb4000079770e6900 sc.mNativeObject= 0xb4000079786d0000 format= -1 caller= android.graphics.BLASTBufferQueue.:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 02-12 15:50:03.792 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)0 dur=14 res=0x403 s={true 0xb4000079784e9800} ch=true seqId=0 02-12 15:50:03.792 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: performConfigurationChange setNightDimText nightDimLevel=0 02-12 15:50:03.793 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb4000079784e9800} hwInitialized=true 02-12 15:50:03.795 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4694 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 02-12 15:50:03.795 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: Setup new sync=wmsSync-ViewRootImpl@f66474a[LaunchActivity]#28 02-12 15:50:03.795 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: Creating new active sync group ViewRootImpl@f66474a[LaunchActivity]#29 02-12 15:50:03.795 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: registerCallbacksForSync syncBuffer=false 02-12 15:50:03.796 10287 15556 D ViewRootImpl@f66474a[LaunchActivity]: Received frameDrawingCallback syncResult=0 frameNum=1. 02-12 15:50:03.796 10287 15556 I ViewRootImpl@f66474a[LaunchActivity]: mWNT: t=0xb400007877e0f080 mBlastBufferQueue=0xb4000079770e6900 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13674 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:03.796 10287 15556 D ViewRootImpl@f66474a[LaunchActivity]: Setting up sync and frameCommitCallback 02-12 15:50:03.798 10287 30628 D WebSocketRepository: Websocket: onMessage (text) 02-12 15:50:03.799 10287 30628 D WebSocketRepository: Message number 63 received 02-12 15:50:03.800 10287 15456 I BLASTBufferQueue: [ViewRootImpl@f66474a[LaunchActivity]#71](f:0,a:0,s:0) onFrameAvailable the first frame is available 02-12 15:50:03.800 10287 15456 D ViewRootImpl@f66474a[LaunchActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true 02-12 15:50:03.801 10287 15456 D OpenGLRenderer: CFMS:: SetUp Pid : 10287 Tid : 15456 02-12 15:50:03.801 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: reportDrawFinished 02-12 15:50:03.801 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.841 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: registerCallbackForPendingTransactions 02-12 15:50:03.841 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.launch.LaunchActivity 02-12 15:50:03.841 10287 15555 I ViewRootImpl@f66474a[LaunchActivity]: mWNT: t=0xb400007877ec1300 mBlastBufferQueue=0xb4000079770e6900 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:03.842 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=statusBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.launch.LaunchActivity 02-12 15:50:03.847 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.881 10287 10287 D ConnectivityManager: StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4886)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4853)] [WV.qD.e(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:38)] [WV.qD.b(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:1)] [org.chromium.android_webview.AwContentsLifecycleNotifier.onFirstWebViewCreated(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:24)] [J.N.MFiR_zHY(Native Method)] [org.chromium.android_webview.AwContents.(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:439)] [com.android.webview.chromium.k.run(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:129)] [WV.uZ.b(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:20)] [WV.tZ.run(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:3)] [org.chromium.base.task.PostTask.d(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:11)] [WV.uZ.a(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:23)] [com.android.webview.chromium.WebViewChromiumFactoryProvider.a(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:3)] [com.android.webview.chromium.WebViewChromium.init(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:341)] [android.webkit.WebView.(WebView.java:444)] [android.webkit.WebView.(WebView.java:364)] [android.webkit.WebView.(WebView.java:346)] [android.webkit.WebView.(WebView.java:333)] [java.lang.reflect.Constructor.newInstance0(Native Method)] [java.lang.reflect.Constructor.newInstance(Constructor.java:343)] [android.view.LayoutInflater.createView(LayoutInflater.java:882)] [android.view.LayoutInflater.createView(LayoutInflater.java:804)] [com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:958)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:978)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1032)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:989)] [android.view.LayoutInflater.rInflate(LayoutInflater.java:1151)] [android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1112)] [android.view.LayoutInflater.inflate(LayoutInflater.java:700)] [android.view.LayoutInflater.inflate(LayoutInflater.java:544)] [io.homeassistant.companion.android.databinding.ActivityWebviewBinding.inflate(ActivityWebviewBinding.java:65)] [io.homeassistant.companion.android.databinding.ActivityWebviewBinding.inflate(ActivityWebviewBinding.java:59)] [io.homeassistant.companion.android.webview.WebViewActivity.onCreate(WebViewActivity.kt:243)] [android.app.Activity.performCreate(Activity.java:8960)] [android.app.Activity.performCreate(Activity.java:8929)] [android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)] [android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4146)] [android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4322)] [android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)] [android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)] 02-12 15:50:03.886 10287 10287 D ConnectivityManager: StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4364)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4746)] [WV.qD.e(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:118)] [WV.qD.b(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:1)] [org.chromium.android_webview.AwContentsLifecycleNotifier.onFirstWebViewCreated(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:24)] [J.N.MFiR_zHY(Native Method)] [org.chromium.android_webview.AwContents.(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:439)] [com.android.webview.chromium.k.run(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:129)] [WV.uZ.b(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:20)] [WV.tZ.run(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:3)] [org.chromium.base.task.PostTask.d(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:11)] [WV.uZ.a(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:23)] [com.android.webview.chromium.WebViewChromiumFactoryProvider.a(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:3)] [com.android.webview.chromium.WebViewChromium.init(chromium-TrichromeWebViewGoogle6432.aab-stable-616714333:341)] [android.webkit.WebView.(WebView.java:444)] [android.webkit.WebView.(WebView.java:364)] [android.webkit.WebView.(WebView.java:346)] [android.webkit.WebView.(WebView.java:333)] [java.lang.reflect.Constructor.newInstance0(Native Method)] [java.lang.reflect.Constructor.newInstance(Constructor.java:343)] [android.view.LayoutInflater.createView(LayoutInflater.java:882)] [android.view.LayoutInflater.createView(LayoutInflater.java:804)] [com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:958)] [android.view.LayoutInflater.onCreateView(LayoutInflater.java:978)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1032)] [android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:989)] [android.view.LayoutInflater.rInflate(LayoutInflater.java:1151)] [android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1112)] [android.view.LayoutInflater.inflate(LayoutInflater.java:700)] [android.view.LayoutInflater.inflate(LayoutInflater.java:544)] [io.homeassistant.companion.android.databinding.ActivityWebviewBinding.inflate(ActivityWebviewBinding.java:65)] [io.homeassistant.companion.android.databinding.ActivityWebviewBinding.inflate(ActivityWebviewBinding.java:59)] [io.homeassistant.companion.android.webview.WebViewActivity.onCreate(WebViewActivity.kt:243)] [android.app.Activity.performCreate(Activity.java:8960)] [android.app.Activity.performCreate(Activity.java:8929)] [android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)] [android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4146)] [android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4322)] [android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)] [android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)] 02-12 15:50:03.892 10287 10287 I DecorView: setWindowBackground: isPopOver=false color=ffffffff d=android.graphics.drawable.ColorDrawable@7aab9d0 02-12 15:50:03.923 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:03.932 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:03.933 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.933 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1707771003933) 02-12 15:50:03.939 10287 10287 D WebviewActivity: Current webview package com.google.android.webview and version 121.0.6167.143 02-12 15:50:03.940 10287 10287 D WebviewActivity: Matter/Thread step changed to NOT_STARTED 02-12 15:50:03.941 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.942 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:03.942 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1707771003942) 02-12 15:50:03.983 10287 10335 D ConnectivityManager: StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4886)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4853)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4827)] [androidx.tracing.Trace$$ExternalSyntheticApiModelOutline0.m(Unknown Source:0)] [androidx.work.impl.utils.NetworkApi24.registerDefaultNetworkCallbackCompat(NetworkApi24.kt:28)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.startTracking(NetworkStateTracker.kt:138)] [androidx.work.impl.constraints.trackers.ConstraintTracker.addListener(ConstraintTracker.kt:56)] [androidx.work.impl.constraints.controllers.ConstraintController$track$1.invokeSuspend(ContraintControllers.kt:54)] [androidx.work.impl.constraints.controllers.ConstraintController$track$1.invoke(Unknown Source:8)] [androidx.work.impl.constraints.controllers.ConstraintController$track$1.invoke(Unknown Source:4)] [kotlinx.coroutines.flow.ChannelFlowBuilder.collectTo$suspendImpl(Builders.kt:320)] [kotlinx.coroutines.flow.ChannelFlowBuilder.collectTo(Unknown Source:0)] [kotlinx.coroutines.flow.CallbackFlowBuilder.collectTo(Builders.kt:334)] [kotlinx.coroutines.flow.internal.ChannelFlow$collectToFun$1.invokeSuspend(ChannelFlow.kt:60)] [kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)] [kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)] [androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)] [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)] [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)] [java.lang.Thread.run(Thread.java:1012)] 02-12 15:50:03.999 10287 15456 D NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager() 02-12 15:50:04.009 10287 10287 I InsetsController: onStateChanged: host=io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity, from=android.view.ViewRootImpl.setView:1744, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 904, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 85 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(423, 0 - 482, 85), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=904 displayHeight=2316 physicalDisplayWidth=904 physicalDisplayHeight=2316 density={2.625} cutoutSpec={M 0,0 H -11.23809523809524 V 32.38095238095238 H 11.23809523809524 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 904, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(788, 0 - 904, 85) rotation=0}, mDisplayShape=DisplayShape{ spec=-1016533545 displayWidth=904 displayHeight=2316 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0000 mType=statusBars mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0005 mType=mandatorySystemGestures mFrame=[0,0][904,117] mVisible=true mFlags=[]}, InsetsSource: {e3a0006 mType=tappableElement mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {26b70001 mType=navigationBars mFrame=[0,0][0,0] mVisible=true mFlags=[SUPPRESS_SCRIM]}, InsetsSource: {26b70004 mType=systemGestures mFrame=[0,0][83,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70005 mType=mandatorySystemGestures mFrame=[0,2251][904,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70006 mType=tappableElement mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {26b70024 mType=systemGestures mFrame=[821,0][904,2316] mVisible=true mFlags=[]}, InsetsSource: {48a10004 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10005 mType=mandatorySystemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10006 mType=tappableElement mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10024 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]} } 02-12 15:50:04.009 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: synced displayState. AttachInfo displayState=2 02-12 15:50:04.015 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: setView = com.android.internal.policy.DecorView@5344f46 TM=true 02-12 15:50:04.021 10287 10287 I SurfaceView@d3f316b: onWindowVisibilityChanged(0) false android.view.SurfaceView{d3f316b G.E...... ......I. 0,0-0,0} of ViewRootImpl@3b9c12b[WebViewActivity] 02-12 15:50:04.021 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.049 10287 10287 I BLASTBufferQueue_Java: new BLASTBufferQueue, mName= ViewRootImpl@3b9c12b[WebViewActivity] mNativeObject= 0xb400007877cda200 sc.mNativeObject= 0xb4000079784527c0 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 02-12 15:50:04.049 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@3b9c12b[WebViewActivity] mNativeObject= 0xb400007877cda200 sc.mNativeObject= 0xb4000079784527c0 format= -3 caller= android.graphics.BLASTBufferQueue.:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 02-12 15:50:04.049 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)0 dur=27 res=0x403 s={true 0xb400007877c30000} ch=true seqId=0 02-12 15:50:04.050 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: performConfigurationChange setNightDimText nightDimLevel=0 02-12 15:50:04.050 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb400007877c30000} hwInitialized=true 02-12 15:50:04.050 10287 10287 I SurfaceView@d3f316b: windowStopped(false) false android.view.SurfaceView{d3f316b G.E...... ......I. 0,0-0,0} of ViewRootImpl@3b9c12b[WebViewActivity] 02-12 15:50:04.050 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.055 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4694 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 02-12 15:50:04.055 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.055 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: Setup new sync=wmsSync-ViewRootImpl@3b9c12b[WebViewActivity]#30 02-12 15:50:04.055 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: Creating new active sync group ViewRootImpl@3b9c12b[WebViewActivity]#31 02-12 15:50:04.055 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: registerCallbacksForSync syncBuffer=false 02-12 15:50:04.057 10287 15556 D ViewRootImpl@3b9c12b[WebViewActivity]: Received frameDrawingCallback syncResult=0 frameNum=1. 02-12 15:50:04.057 10287 15556 I ViewRootImpl@3b9c12b[WebViewActivity]: mWNT: t=0xb400007877ec2f80 mBlastBufferQueue=0xb400007877cda200 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13674 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:04.057 10287 15556 D ViewRootImpl@3b9c12b[WebViewActivity]: Setting up sync and frameCommitCallback 02-12 15:50:04.081 10287 15456 I BLASTBufferQueue: [ViewRootImpl@3b9c12b[WebViewActivity]#72](f:0,a:0,s:0) onFrameAvailable the first frame is available 02-12 15:50:04.081 10287 15456 D ViewRootImpl@3b9c12b[WebViewActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true 02-12 15:50:04.081 10287 15456 D OpenGLRenderer: CFMS:: SetUp Pid : 10287 Tid : 15456 02-12 15:50:04.082 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: reportDrawFinished 02-12 15:50:04.100 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.100 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: registerCallbackForPendingTransactions 02-12 15:50:04.100 10287 15555 I ViewRootImpl@3b9c12b[WebViewActivity]: mWNT: t=0xb400007877ecb900 mBlastBufferQueue=0xb400007877cda200 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:04.102 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: handleAppVisibility mAppVisible = true visible = false 02-12 15:50:04.102 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity 02-12 15:50:04.103 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=statusBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity 02-12 15:50:04.104 10287 13778 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.105 10287 10330 I WM-Processor: Moving WorkSpec (60d4fc5f-1547-44d0-b7b9-79310a81f7b9) to the foreground 02-12 15:50:04.112 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)8 dur=2 res=0x402 s={false 0x0} ch=true seqId=0 02-12 15:50:04.112 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0 02-12 15:50:04.113 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007877c30000} 02-12 15:50:04.113 10287 29340 D SensorWorker: Updating all Sensors in foreground. 02-12 15:50:04.113 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.113 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1707771004113) 02-12 15:50:04.113 10287 10330 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=535dcccc-6c2d-4022-8fc2-427d84a2c6bf, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ] 02-12 15:50:04.114 10287 29340 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.114 10287 10287 D InputMethodManagerUtils: startInputInner - Id : 0 02-12 15:50:04.114 10287 10287 I InputMethodManager: startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus 02-12 15:50:04.120 10287 10287 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) } 02-12 15:50:04.121 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.121 10287 10287 D ServerConnectionInfo: Using external URL 02-12 15:50:04.121 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.121 10287 10287 D ServerConnectionInfo: Using external URL 02-12 15:50:04.137 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.139 10287 10287 I NotificationManager: io.homeassistant.companion.android: notify(42, null, Notification(channel=Sensor Worker shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)) as user 02-12 15:50:04.139 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=false, type=ime, host=io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity 02-12 15:50:04.145 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: stopped(true) old = false 02-12 15:50:04.145 10287 10287 D ViewRootImpl@f66474a[LaunchActivity]: WindowStopped on io.homeassistant.companion.android/io.homeassistant.companion.android.launch.LaunchActivity set to true 02-12 15:50:04.147 10287 10287 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@6c9984 02-12 15:50:04.148 10287 10287 I ViewRootImpl@f66474a[LaunchActivity]: dispatchDetachedFromWindow 02-12 15:50:04.150 10287 10287 D InputTransport: Input channel destroyed: 'fc66fda', fd=215 02-12 15:50:04.181 10287 29340 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.181 10287 29340 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.247 10287 29340 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:50:04.247 10287 29340 I SensorReceiver: Sensor updates and sync completed 02-12 15:50:04.247 10287 10330 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=60d4fc5f-1547-44d0-b7b9-79310a81f7b9, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ] 02-12 15:50:04.254 10287 10287 I WM-SystemFgDispatcher: Stopping foreground service 02-12 15:50:04.261 10287 10324 D ConnectivityManager: StackLog: [android.net.ConnectivityManager.unregisterNetworkCallback(ConnectivityManager.java:4996)] [androidx.work.impl.utils.NetworkApi21.unregisterNetworkCallbackCompat(NetworkApi21.kt:31)] [androidx.work.impl.constraints.trackers.NetworkStateTracker24.stopTracking(NetworkStateTracker.kt:153)] [androidx.work.impl.constraints.trackers.ConstraintTracker.removeListener(ConstraintTracker.kt:72)] [androidx.work.impl.constraints.controllers.ConstraintController$track$1$1.invoke(ContraintControllers.kt:56)] [androidx.work.impl.constraints.controllers.ConstraintController$track$1$1.invoke(ContraintControllers.kt:55)] [kotlinx.coroutines.channels.ProduceKt.awaitClose(Produce.kt:54)] [kotlinx.coroutines.channels.ProduceKt$awaitClose$1.invokeSuspend(Unknown Source:13)] [kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)] [kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)] [androidx.work.impl.utils.SerialExecutorImpl$Task.run(SerialExecutorImpl.java:96)] [java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)] [java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)] [java.lang.Thread.run(Thread.java:1012)] 02-12 15:50:04.333 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.395 10287 15576 D WebviewActivity: External bus {"type":"config/get","id":1} 02-12 15:50:04.396 10287 10287 D WebviewActivity: externalBus({"id":1,"type":"result","success":true,"result":{"hasSettingsScreen":true,"canWriteTag":true,"hasExoPlayer":true,"canCommissionMatter":true,"canImportThreadCredentials":true,"hasAssist":true}}); 02-12 15:50:04.403 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.403 10287 10287 D ServerConnectionInfo: Using external URL 02-12 15:50:04.404 10287 10287 D WebviewActivity: Callback null 02-12 15:50:04.404 10287 10287 E WebviewActivity: Cannot set status bar color. Skipping coloring... 02-12 15:50:04.404 10287 10287 E WebviewActivity: Cannot set navigation bar color. Skipping coloring... 02-12 15:50:04.408 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.417 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.617 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.625 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.634 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.641 10287 15576 D WebviewActivity: External bus {"type":"connection-status","payload":{"event":"connected"},"id":2} 02-12 15:50:04.642 10287 10287 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:04.642 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.651 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.659 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.667 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.671 10287 15576 D WebviewActivity: External bus {"type":"theme-update","id":3} 02-12 15:50:04.675 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.676 10287 10287 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa" 02-12 15:50:04.676 10287 10287 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa" 02-12 15:50:04.676 10287 13778 D WebViewPresenterImpl: Try getting color from webview color "#03a9f4". 02-12 15:50:04.676 10287 13778 I WebViewPresenterImpl: Found color -16537100. 02-12 15:50:04.677 10287 13778 D WebViewPresenterImpl: Try getting color from webview color "#fafafa". 02-12 15:50:04.677 10287 13778 I WebViewPresenterImpl: Found color -328966. 02-12 15:50:04.684 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@3b9c12b[WebViewActivity] mNativeObject= 0xb400007877cda200 sc.mNativeObject= 0xb4000079784527c0 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3004 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 02-12 15:50:04.684 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=true req=(904,2316)0 dur=0 res=0x0 s={true 0xb400007877c30000} ch=false seqId=0 02-12 15:50:04.684 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.692 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.692 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: registerCallbackForPendingTransactions 02-12 15:50:04.693 10287 15556 I ViewRootImpl@3b9c12b[WebViewActivity]: mWNT: t=0xb400007877c01680 mBlastBufferQueue=0xb400007877cda200 fn= 16 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:04.701 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.742 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.767 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.776 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.784 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.792 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.842 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.851 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.859 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.867 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.876 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.884 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.892 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.901 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.909 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.917 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.926 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.935 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.943 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.951 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.959 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:04.967 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.438 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 0 02-12 15:50:05.510 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.516 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 1 02-12 15:50:05.518 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.526 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.527 10287 10287 D InputMethodManagerUtils: startInputInner - Id : 0 02-12 15:50:05.527 10287 10287 I InputMethodManager: startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus 02-12 15:50:05.535 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.543 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.551 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.560 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.568 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.576 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.585 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.593 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.601 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.610 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.619 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.627 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.646 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.651 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.660 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.668 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.677 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.686 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.694 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.702 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.710 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.718 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.726 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.736 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.744 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.752 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.760 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.768 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.777 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.786 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.793 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.802 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.810 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.818 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.827 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.837 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.848 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.852 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.860 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:05.868 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.590 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 0 02-12 15:50:06.643 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 1 02-12 15:50:06.665 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.669 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.677 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.686 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.696 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.702 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.711 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.719 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.727 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.736 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.744 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.752 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.761 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.770 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.777 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.785 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.794 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.802 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.811 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.819 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.830 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.836 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.844 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.853 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.860 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:06.877 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.123 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 0 02-12 15:50:07.145 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.153 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.153 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.162 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.162 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.170 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.170 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.178 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.178 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.186 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.186 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.195 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.195 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.200 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 1 02-12 15:50:07.205 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.211 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.220 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.228 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.236 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.244 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.253 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.261 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.269 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.278 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.286 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.294 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.303 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.311 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.319 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.327 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.336 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.344 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.353 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.361 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.370 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.378 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.386 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.395 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.404 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.411 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.420 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.428 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.436 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.445 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.453 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.462 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.470 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.478 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.486 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.495 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.503 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.512 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.520 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.528 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.594 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.603 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.611 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.616 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 0 02-12 15:50:07.619 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.628 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.636 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.645 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.653 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.657 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: ViewPostIme pointer 1 02-12 15:50:07.662 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.664 10287 15576 D WebviewActivity: External bus {"type":"config_screen/show","id":4} 02-12 15:50:07.669 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.688 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.689 10287 10287 D IntegrationRepository: setAppActive(): false 02-12 15:50:07.689 10287 10287 D IntegrationRepository: setAppActive(): false 02-12 15:50:07.695 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.696 10287 10287 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS 02-12 15:50:07.698 10287 13778 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:07.706 10287 10287 I DecorView: setWindowBackground: isPopOver=false color=ffffffff d=android.graphics.drawable.ColorDrawable@91ebbe1 02-12 15:50:07.730 10287 13778 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:07.730 10287 13778 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:07.770 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1707771007770) 02-12 15:50:07.771 10287 15456 D NativeCustomFrequencyManager: [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager() 02-12 15:50:07.782 10287 10287 I InsetsController: onStateChanged: host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity, from=android.view.ViewRootImpl.setView:1744, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 904, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 85 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(423, 0 - 482, 85), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=904 displayHeight=2316 physicalDisplayWidth=904 physicalDisplayHeight=2316 density={2.625} cutoutSpec={M 0,0 H -11.23809523809524 V 32.38095238095238 H 11.23809523809524 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 904, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(788, 0 - 904, 85) rotation=0}, mDisplayShape=DisplayShape{ spec=-1016533545 displayWidth=904 displayHeight=2316 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {27 mType=displayCutout mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0000 mType=statusBars mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0005 mType=mandatorySystemGestures mFrame=[0,0][904,117] mVisible=true mFlags=[]}, InsetsSource: {e3a0006 mType=tappableElement mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {26b70001 mType=navigationBars mFrame=[0,0][0,0] mVisible=true mFlags=[SUPPRESS_SCRIM]}, InsetsSource: {26b70004 mType=systemGestures mFrame=[0,0][83,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70005 mType=mandatorySystemGestures mFrame=[0,2251][904,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70006 mType=tappableElement mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {26b70024 mType=systemGestures mFrame=[821,0][904,2316] mVisible=true mFlags=[]}, InsetsSource: {48a10004 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10005 mType=mandatorySystemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10006 mType=tappableElement mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10024 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]} } 02-12 15:50:07.782 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: synced displayState. AttachInfo displayState=2 02-12 15:50:07.785 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: setView = com.android.internal.policy.DecorView@440a0ee TM=true 02-12 15:50:07.786 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.812 10287 10287 I InsetsController: onStateChanged: host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity, from=android.view.ViewRootImpl.relayoutWindow:9989, state=InsetsState: {mDisplayFrame=Rect(0, 0 - 904, 2316), mDisplayCutout=DisplayCutout{insets=Rect(0, 85 - 0, 0) waterfall=Insets{left=0, top=0, right=0, bottom=0} boundingRect={Bounds=[Rect(0, 0 - 0, 0), Rect(423, 0 - 482, 85), Rect(0, 0 - 0, 0), Rect(0, 0 - 0, 0)]} cutoutPathParserInfo={CutoutPathParserInfo{displayWidth=904 displayHeight=2316 physicalDisplayWidth=904 physicalDisplayHeight=2316 density={2.625} cutoutSpec={M 0,0 H -11.23809523809524 V 32.38095238095238 H 11.23809523809524 V 0 H 0 Z @dp} rotation={0} scale={1.0} physicalPixelDisplaySizeRatio={1.0}}}}, mRoundedCorners=RoundedCorners{[RoundedCorner{position=TopLeft, radius=0, center=Point(0, 0)}, RoundedCorner{position=TopRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomRight, radius=0, center=Point(0, 0)}, RoundedCorner{position=BottomLeft, radius=0, center=Point(0, 0)}]} mRoundedCornerFrame=Rect(0, 0 - 904, 2316), mPrivacyIndicatorBounds=PrivacyIndicatorBounds {static bounds=Rect(788, 0 - 904, 85) rotation=0}, mDisplayShape=DisplayShape{ spec=-1016533545 displayWidth=904 displayHeight=2316 physicalPixelDisplaySizeRatio=1.0 rotation=0 offsetX=0 offsetY=0 scale=1.0}, mSources= { InsetsSource: {3 mType=ime mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {27 mType=displayCutout mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0000 mType=statusBars mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {e3a0005 mType=mandatorySystemGestures mFrame=[0,0][904,117] mVisible=true mFlags=[]}, InsetsSource: {e3a0006 mType=tappableElement mFrame=[0,0][904,85] mVisible=true mFlags=[]}, InsetsSource: {26b70001 mType=navigationBars mFrame=[0,0][0,0] mVisible=true mFlags=[SUPPRESS_SCRIM]}, InsetsSource: {26b70004 mType=systemGestures mFrame=[0,0][83,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70005 mType=mandatorySystemGestures mFrame=[0,2251][904,2316] mVisible=true mFlags=[]}, InsetsSource: {26b70006 mType=tappableElement mFrame=[0,0][0,0] mVisible=true mFlags=[]}, InsetsSource: {26b70024 mType=systemGestures mFrame=[821,0][904,2316] mVisible=true mFlags=[]}, InsetsSource: {48a10004 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10005 mType=mandatorySystemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10006 mType=tappableElement mFrame=[0,0][0,0] mVisible=false mFlags=[]}, InsetsSource: {48a10024 mType=systemGestures mFrame=[0,0][0,0] mVisible=false mFlags=[]} } 02-12 15:50:07.812 10287 10287 I BLASTBufferQueue_Java: new BLASTBufferQueue, mName= ViewRootImpl@d8dfd33[SettingsActivity] mNativeObject= 0xb400007877cdab00 sc.mNativeObject= 0xb4000079773e2fc0 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 02-12 15:50:07.812 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@d8dfd33[SettingsActivity] mNativeObject= 0xb400007877cdab00 sc.mNativeObject= 0xb4000079773e2fc0 format= -1 caller= android.graphics.BLASTBufferQueue.:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3015 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 02-12 15:50:07.812 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)0 dur=21 res=0x403 s={true 0xb40000786a116000} ch=true seqId=0 02-12 15:50:07.813 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: performConfigurationChange setNightDimText nightDimLevel=0 02-12 15:50:07.813 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: mThreadedRenderer.initialize() mSurface={isValid=true 0xb40000786a116000} hwInitialized=true 02-12 15:50:07.825 10287 13778 D SensorReceiver: Nothing to update for server 1 (Home) 02-12 15:50:07.825 10287 13778 I SensorReceiver: Sensor updates and sync completed 02-12 15:50:07.860 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: reportNextDraw android.view.ViewRootImpl.performTraversals:4694 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 02-12 15:50:07.861 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: Setup new sync=wmsSync-ViewRootImpl@d8dfd33[SettingsActivity]#32 02-12 15:50:07.861 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: Creating new active sync group ViewRootImpl@d8dfd33[SettingsActivity]#33 02-12 15:50:07.861 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: registerCallbacksForSync syncBuffer=false 02-12 15:50:07.863 10287 15555 D ViewRootImpl@d8dfd33[SettingsActivity]: Received frameDrawingCallback syncResult=0 frameNum=1. 02-12 15:50:07.863 10287 15555 I ViewRootImpl@d8dfd33[SettingsActivity]: mWNT: t=0xb400007877ed4a80 mBlastBufferQueue=0xb400007877cdab00 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13674 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:07.863 10287 15555 D ViewRootImpl@d8dfd33[SettingsActivity]: Setting up sync and frameCommitCallback 02-12 15:50:07.869 10287 15456 I BLASTBufferQueue: [ViewRootImpl@d8dfd33[SettingsActivity]#73](f:0,a:0,s:0) onFrameAvailable the first frame is available 02-12 15:50:07.869 10287 15456 D ViewRootImpl@d8dfd33[SettingsActivity]: Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true 02-12 15:50:07.869 10287 15456 D OpenGLRenderer: CFMS:: SetUp Pid : 10287 Tid : 15456 02-12 15:50:07.870 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: reportDrawFinished 02-12 15:50:07.873 10287 13778 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true 02-12 15:50:07.878 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: handleWindowFocusChanged: 0 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0 02-12 15:50:07.878 10287 10287 I ImeFocusController: onPreWindowFocus: skipped, hasWindowFocusfalse mHasImeFocus=true 02-12 15:50:07.879 10287 10287 I ImeFocusController: onPostWindowFocus: skipped, hasWindowFocusfalse mHasImeFocus=true 02-12 15:50:07.883 10287 10298 D InputTransport: Input channel destroyed: 'ClientS', fd=276 02-12 15:50:07.883 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.887 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: registerCallbackForPendingTransactions 02-12 15:50:07.889 10287 15556 I ViewRootImpl@d8dfd33[SettingsActivity]: mWNT: t=0xb400007877ecda00 mBlastBufferQueue=0xb400007877cdab00 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:07.892 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=navigationBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity 02-12 15:50:07.892 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=true, type=statusBars, host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity 02-12 15:50:07.892 10287 10287 D SettingsWearDetection: API unavailable for discovering nodes (no Wear) 02-12 15:50:07.893 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.900 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.904 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.912 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.919 10287 26707 D TrafficStats: tagSocket(369) with statsTag=0xffffffff, statsUid=-1 02-12 15:50:07.921 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.924 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: handleWindowFocusChanged: 1 0 call from android.view.ViewRootImpl.-$$Nest$mhandleWindowFocusChanged:0 02-12 15:50:07.924 10287 10287 D ViewRootImpl@d8dfd33[SettingsActivity]: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb40000786a116000} 02-12 15:50:07.925 10287 10287 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1707771007925) 02-12 15:50:07.925 10287 10287 D IntegrationRepository: setAppActive(): true 02-12 15:50:07.925 10287 10287 D InputMethodManagerUtils: startInputInner - Id : 0 02-12 15:50:07.925 10287 10287 I InputMethodManager: startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus 02-12 15:50:07.930 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.939 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.941 10287 10287 I InsetsSourceConsumer: applyRequestedVisibilityToControl: visible=false, type=ime, host=io.homeassistant.companion.android/io.homeassistant.companion.android.settings.SettingsActivity 02-12 15:50:07.945 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.953 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.962 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.970 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.978 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.987 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:07.996 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:08.011 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:08.305 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: handleAppVisibility mAppVisible = true visible = false 02-12 15:50:08.311 10287 10287 I SurfaceView@d3f316b: onWindowVisibilityChanged(8) false android.view.SurfaceView{d3f316b G.E...... ......I. 0,0-0,0} of ViewRootImpl@3b9c12b[WebViewActivity] 02-12 15:50:08.311 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:08.316 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)8 dur=3 res=0x402 s={false 0x0} ch=true seqId=0 02-12 15:50:08.316 10287 10287 I SurfaceView@d3f316b: windowStopped(true) false android.view.SurfaceView{d3f316b G.E...... ......I. 0,0-0,0} of ViewRootImpl@3b9c12b[WebViewActivity] 02-12 15:50:08.316 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:08.316 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:08.318 10287 10287 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api34Impl$createOnBackAnimationCallback$1@a186c1e 02-12 15:50:08.323 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: stopped(true) old = false 02-12 15:50:08.323 10287 10287 D ViewRootImpl@3b9c12b[WebViewActivity]: WindowStopped on io.homeassistant.companion.android/io.homeassistant.companion.android.webview.WebViewActivity set to true 02-12 15:50:08.326 10287 10287 I ViewRootImpl@3b9c12b[WebViewActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=false req=(904,2316)8 dur=2 res=0x402 s={false 0x0} ch=false seqId=0 02-12 15:50:08.326 10287 10287 D SurfaceView@d3f316b: 222245227 updateSurface: has no frame 02-12 15:50:09.156 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 0 02-12 15:50:09.243 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 1 02-12 15:50:11.763 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 0 02-12 15:50:12.118 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 1 02-12 15:50:12.678 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 0 02-12 15:50:12.739 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 1 02-12 15:50:12.758 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@d8dfd33[SettingsActivity] mNativeObject= 0xb400007877cdab00 sc.mNativeObject= 0xb4000079773e2fc0 format= -1 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3004 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 02-12 15:50:12.758 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=true req=(904,2316)0 dur=0 res=0x0 s={true 0xb40000786a116000} ch=false seqId=0 02-12 15:50:12.773 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: registerCallbackForPendingTransactions 02-12 15:50:12.774 10287 15555 I ViewRootImpl@d8dfd33[SettingsActivity]: mWNT: t=0xb40000786a01dc80 mBlastBufferQueue=0xb400007877cdab00 fn= 289 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 02-12 15:50:14.881 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 0 02-12 15:50:14.980 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: ViewPostIme pointer 1 02-12 15:50:15.003 10287 10287 D ScrollView: initGoToTop 02-12 15:50:15.030 10287 10287 I BLASTBufferQueue_Java: update, w= 904 h= 2316 mName = ViewRootImpl@d8dfd33[SettingsActivity] mNativeObject= 0xb400007877cdab00 sc.mNativeObject= 0xb4000079773e2fc0 format= -1 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:3004 android.view.ViewRootImpl.relayoutWindow:10048 android.view.ViewRootImpl.performTraversals:4092 android.view.ViewRootImpl.doTraversal:3275 android.view.ViewRootImpl$TraversalRunnable.run:11257 android.view.Choreographer$CallbackRecord.run:1650 02-12 15:50:15.031 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: Relayout returned: old=(0,0,904,2316) new=(0,0,904,2316) relayoutAsync=true req=(904,2316)0 dur=0 res=0x0 s={true 0xb40000786a116000} ch=false seqId=0 02-12 15:50:15.031 10287 10287 D ScrollView: onsize change changed 02-12 15:50:15.032 10287 14030 D LogcatReader: Read logcat for pid 10287 02-12 15:50:15.035 10287 10287 I ViewRootImpl@d8dfd33[SettingsActivity]: registerCallbackForPendingTransactions 02-12 15:50:15.038 10287 15556 I ViewRootImpl@d8dfd33[SettingsActivity]: mWNT: t=0xb4000079785ad480 mBlastBufferQueue=0xb400007877cdab00 fn= 297 caller= android.view.ViewRootImpl$6.onFrameDraw:5582 android.view.ViewRootImpl$2.onFrameDraw:2131 android.view.ThreadedRenderer$1.onFrameDraw:788 ```
radinsky commented 3 months ago

Any progress on this?

Hyrules commented 2 months ago

I'm having this issue as well on my android devices. Sometimes the entity state widget spins for a long time or forever. The only workaround I have found so far is to turn the screen off and on. I have this issue on android 11 and android 14 with home assistant 2024.6.4. My device are an old Pixel C tablet and an Samsung Galaxy Tab S10.

jacauc commented 1 month ago

Same issue on 2024.7

Widgets have never been reliable for me on several home assistant installations and several phones with different versions of android. Currently on pixel 7

dshokouhi commented 1 month ago

Thanks for the logs @ericswpark I do see it still encountered a failure and then later on the connection re-established. The app does not continuously try to reconnect but connection attempts do occur when the screen turns on for widgets as that is how we keep the state up to date.

02-12 15:48:30.347 10287 30628 E WebSocketRepository: Websocket: onFailure
02-12 15:48:30.347 10287 30628 E WebSocketRepository: java.net.SocketException: Software caused connection abort
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.net.SocketInputStream.socketRead0(Native Method)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.net.SocketInputStream.socketRead(SocketInputStream.java:118)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.net.SocketInputStream.read(SocketInputStream.java:173)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.net.SocketInputStream.read(SocketInputStream.java:143)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okio.InputStreamSource.read(JvmOkio.kt:93)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:128)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okio.RealBufferedSource.request(RealBufferedSource.kt:209)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okio.RealBufferedSource.require(RealBufferedSource.kt:202)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okio.RealBufferedSource.readByte(RealBufferedSource.kt:212)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:   at java.lang.Thread.run(Thread.java:1012)

@radinsky @Hyrules and @jacauc can you guys please confirm you are talking about the entity state widget and also get the companion app logs when the issue occurs. Its important to make sure you guys are indeed experiencing the same issue or not.

Hyrules commented 1 month ago

@dshokouhi yes for me it's the entity state widget. I'll try to get you a log asap. thanks for the follow up.

Edit : I see a lot of socket connection refused for some reason. After turning off the screen everything works fine.

homeassistant_companion_log_7-1-2024_14-57-29.txt

dshokouhi commented 1 month ago

Thanks those socket errors are not coming from our code directly so not sure what they are but i do see communication working there as the server is sending the app messages. In these logs you were able to reproduce the issue?

Hyrules commented 1 month ago

technically yes. I pressed the entity widget and after a few seconds I went to get the logs. I'll try to get another for you when it happens again. Right now I cannot reproduce the issue.

jacauc commented 1 month ago

Thanks for the logs @ericswpark I do see it still encountered a failure and then later on the connection re-established. The app does not continuously try to reconnect but connection attempts do occur when the screen turns on for widgets as that is how we keep the state up to date.

02-12 15:48:30.347 10287 30628 E WebSocketRepository: Websocket: onFailure
02-12 15:48:30.347 10287 30628 E WebSocketRepository: java.net.SocketException: Software caused connection abort
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.net.SocketInputStream.socketRead0(Native Method)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.net.SocketInputStream.socketRead(SocketInputStream.java:118)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.net.SocketInputStream.read(SocketInputStream.java:173)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.net.SocketInputStream.read(SocketInputStream.java:143)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okio.InputStreamSource.read(JvmOkio.kt:93)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:128)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okio.RealBufferedSource.request(RealBufferedSource.kt:209)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okio.RealBufferedSource.require(RealBufferedSource.kt:202)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okio.RealBufferedSource.readByte(RealBufferedSource.kt:212)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
02-12 15:48:30.347 10287 30628 E WebSocketRepository:     at java.lang.Thread.run(Thread.java:1012)

@radinsky @Hyrules and @jacauc can you guys please confirm you are talking about the entity state widget and also get the companion app logs when the issue occurs. Its important to make sure you guys are indeed experiencing the same issue or not.

Confirmed, it's Entity State Widget

Hyrules commented 1 month ago

@dshokouhi Here is another log file. I hope it shows the issue. I have pressed 3 entities state widget and they are still spinning at the moment of writing this message.

homeassistant_companion_log_7-3-2024_18-40-3.txt

smoya commented 5 days ago

Facing the same issue here. When at home through WIFI, all works fine. When outside, widgets work just randomly as explained by other folks in this issue.

For example, if I push a widget that is a button and gets stuck loading, I just need to open the HA app and the widget automatically ends up working.

BTW, I use HA Cloud through Nabu Casa.