Zone not updating

My Dashboard is showing me that everyone is home even it this is not the case :confused:
Any Idea how to get the Location to update so my automations based on zones will work?

PS: I have activated all sensors and followed the troubleshooting instructions, but it did not change anything.

if you tried all the troubleshooting instructions the next step is to provide the device logs, double check that you granted permission and background access and removed battery optimizations for the app that is usually the issue here.

The device logs are those gathered via “Logcat”, right?

yes, it is alos mentioned as part of the troubleshooting steps that I assumed you had followed but now I need to link to them again since you would’ve seen them as part of the steps if you did indeed follow the correct steps

Well if you guys could tell me how to get those reports (the instructions provided by the 2 apps mentioned do not work at all) Ill gladly provide you with some reports.

Not everyone is a hardcore programmer with perfect knowledge about such things…
Would love to support Home Assistant by using Nabu Casa but this is not interesting at all if fundamental things like location tracking suck that bad.

I am sorry i mislinked you earlier but if you had taken the time to actually check the link and all the information provided on that page you wil have seen the information there.

We dont expect htat but we do expect users to read instructions and if you had done so iwth the link earlier you would see what I was talking about. If someone spends the time to document something you can do your part and read it. Look at the entire site there are lots of thigns being discussed about location. There is an entire location section asides from troubleshooting but you did not wnat to spend the time to look.

If you check the link above you will have your answer on how to troubleshoot and provide logs. All the help you request is there if you take the time to read. If you want people to help you out we will gladly do so but you need to do your part and read and provide the requested information.

1 Like

Funny how you know that. I spent the last 6 hours reading throug those documents, trying fixes, checking others topics on this forum… Result: still not working

No the only thing you provide there is: “you will need to follow the instructions provided by the method to ensure you get the proper level of verbose logging” Doing so I quickly had to realize those linked apps provide no helpful guidance at all, and I could not find anything helpful on the internet. Already installed Android Studio and tried to enter commands via cmd - no success

But hey when you do not want to help why bother answering at all. I asked kindly after hours of tring and following instructions that did not lead me anywhere. Never insulted you.

I think you missed the instructions from the app, its even listed on the google play store which is linked in the troubleshooting section.

android.permission.READ_LOGS
Required for fetching all of the logs, not just the ones produced by the app itself, instructions to grant this permission will show every time the app is opened.

So you just need to follow those instructions in the logcat reader app to grant permissions. They do indeed provide instructions as I use that app myself and was presented with the instructions after opening it. We even mention you need to do that in the steps linked in the troubleshooting section. So again you skipped over important information.

I offered you help by linking to well laid out instructions where you decided to skip over important chunks of information and I directed you to reading them again which you didn’t do.

Take a moment to re-read all the instructions and make sure you are following things precisely, its easy to skip a step when you skip over bits and pieces and trying to figure things out. First confirm the 6 steps in the “Location is not updating” troubleshooting section, then move on the log instructions to do more troubleshooting. Make sure to read everything and follow along all the way. If you get linked to another page in the middle you will need to go back but if you don’t read everything that is there then you will be frustrated because you are missing the pieces laid out in front of you.

I followed those exact instructions. Which lead me to install ADB, install Android Studio and still when I try to execute the given line in CMD or Power Shell its an error.

Care to share the error?

Its just telling me “adb” is not a valid/known command

Ok this is because you did not install adb

Try https://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378

1 Like

Thank you thats what I could not find. The installation instructions I followed previously obviously where wrong.

So this is the Log I get: (changed the coordinates as not anyone needs to know where I am :slight_smile: )

03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Got single accurate location update: Location[fused 48,004286,13,717283 hAcc=14 et=+10d13h53m16s433ms alt=466.98180533586276 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Location accurate enough, all done with high accuracy.
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Last Location: 
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Coords:(48.006619, 13.718731)
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Accuracy: 13.758
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Bearing: 0.0
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Begin evaluating if location update should be skipped
03-19 14:14:22.592 D/LocBroadcastReceiver(2792): Received location that is 216 milliseconds old, 1616159662376 compared to 1616159662592 with source fused
03-19 14:14:22.995 D/LocBroadcastReceiver(2792): Not requesting accurate location, last accurate location was too recent
03-19 14:14:26.926 D/LocBroadcastReceiver(2792): Not requesting accurate location, last accurate location was too recent
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Got single accurate location update: Location[fused 48,004286,13,717283 hAcc=14 et=+10d13h53m21s676ms alt=466.98180533586276 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}]
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Location accurate enough, all done with high accuracy.
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Last Location: 
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Coords:(48.006619, 13.718731)
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Accuracy: 13.758
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Bearing: 0.0
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Begin evaluating if location update should be skipped
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Received location that is 31 milliseconds old, 1616159667618 compared to 1616159667649 with source fused
03-19 14:14:27.649 D/LocBroadcastReceiver(2792): Duplicate location received, not sending to HA
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): Could not update location.
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): io.homeassistant.companion.android.common.data.integration.IntegrationException
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.updateLocation(IntegrationRepositoryImpl.kt:175)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$updateLocation$1.invokeSuspend(Unknown Source:12)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
03-19 14:14:32.625 E/LocBroadcastReceiver(2792): 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
03-19 14:14:51.624 D/LocBroadcastReceiver(2792): Not requesting accurate location, last accurate location was too recent

Since yesterday also other instances like the charge status of devices leaving the home network also do not update anymore

This is because the call to send data home failed. Check the URL in the app configuration make sure it’s correct and reachable in a browser.

1 Like

That seems to do the trick (at least there are no errors in the logs anymore)
Ill try it in real life

Thank you for your help on this and your patience! I had installed the “Assistant” App which is available when opening the Nabu Casa Link in a browser and was thinking this app is sending the information to the instance, not the “original” HA app. Thats what was confusing me.

1 Like