was that last update when you were at home or away? try checking the logs when you are away to see if there is a failure
the log ends while Iām still at home so I canāt scroll to an hour when Iām not home.
no the logs will show for a few minutes, they wont be historical. You can use an app like Logcat Reader to look at more historical data. Next time you are out for more than 10 minutes open the app and look at the logs to see if there is a failure.
try checking the actual device_tracker
instead of person
to rule out an issue there too
do you try with other phone?. this failures are strange.
I must try with other phone to discart problems with your phone
I only have this phone to test
No thatās what the automation looks like I mean look at the actual entity updates to see if itās changing.
ok this device tracker looks to work properly, remove the other device tracker from the person entity
Settings > People > Select the person and remove the other device tracker from your person
okkkk that what I was after at the beginning. that was my original question
I didnāt know how HA knows that a device tracker is associated with a person, and now this:
Settings > People > Select the person and remove the other device tracker from your person
Has revealed it to me
Thanks!
Iāll monitor it next time Iām out and see if the automation turns off the BLE transmitter.
anytime you login to a device its device tracker will get attached to that person. I can only help troubleshoot the device tracker from the mobile app integration so it was important to make sure its sending data as expected as thats usually the issue with mobile app location tracking.
So Iāve created these cards:
And now after I changed the device tracker for the person.gil
then they should be in sync, right?
correct, the person
integration derives its state from the attached device trackers. If you only have 1 attached to the person then yes itll be in sync. If you add another itll follow this process
@dshokouhi Just a quick question. Assuming you use location tracking for automation, what level of success do you achieve? 80% 90% 100%? Iām wondering if I should always failures, or if I really dig into this, I can get to 100%. Right now, mine is probably 80%.
Iām totally aware of the awesome docs you have on troubleshooting this. Iām just wondering whatās my best case scenario.
edit: Oh! Happy cake day to me!
i try to check the logs here and there when I suspect issues like recently my wifes phone started reporting valid locations with a lot higher accuracy so I had to adjust the sensor setting for it to get more frequent updates. I had hers at 600 and noticed a few valid reports getting skipped at 1000, you can tell by the logs when that occurs.
I also dont rely solely on the device tracker to detect if im home, I find the wifi connection sensor to update faster in some cases so I use that too.
Apologies for chaining onto this threadā¦
I have wifi in the car too (that doesnāt turn off immediately with the ignition). I assume that will exclude wifi detection for me? I donāt think wifi scanning runs very often, correct?
the wifi connection sensor updates as soon as it detects a state change
Mine stays connected to the car wifi until Iāve gone into the house. I was referring the Android wifi scanning. I think thatās still a thing anyway, right? Where it scans for other APs in the background.
yes but completely unrelated to the sensor I am referring to