Person tracking unreliable

Hi Everybody,

Lately I’ve been having an issue with person tracking within home assistant. Both me and my wife have Google Pixel phones, I checked the Troubleshooting | Home Assistant Companion Docs, and both my phone and my wife’s phone are set-up correctly.
Now, there has been a second weird issue: my zone.home just disappears sometimes until I restart home assistant.
I’ll add some printscreens to show my issue.

What can I do to make this more reliable? As I can’t automate anything on this.

Thanks

Your home zone is missing at times? You’ll need to fix that first. Are there any errors in the HA logs when that happens? I’ve never heard of the home zone disappearing

1 Like

No, nothing in the log, this happens very occasionally though. The only thing I see in the log that has a direct link is the error in my printscreens…

what about on HA start up?

Nothing on startup neither (except some custom packages errors, but nothing to do with tracking). I should note, it’s not always, it’s only occasional.

I’m having the issue again, when I checked the logs I got this:

Detected blocking call to open with args ('/usr/local/lib/python3.13/site-packages/pysiaalarm/data/sia_codes.json', 'rb') in /usr/local/lib/python3.13/site-packages/pkg_resources/__init__.py, line 1909: return open(self._fn(self.module_path, resource_name), 'rb') inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.13/asyncio/base_events.py", line 706, in run_until_complete self.run_forever() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 677, in run_forever self._run_once() File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2034, in _run_once handle._run() File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.13/site-packages/pysiaalarm/aio/server.py", line 54, in handle_line event = self.parse_and_check_event(data) File "/usr/local/lib/python3.13/site-packages/pysiaalarm/base_server.py", line 64, in parse_and_check_event event = SIAEvent.from_line(line, self.accounts) File "/usr/local/lib/python3.13/site-packages/pysiaalarm/event.py", line 161, in from_line return SIAEvent( File "<string>", line 28, in __init__ File "/usr/local/lib/python3.13/site-packages/pysiaalarm/event.py", line 266, in __post_init__ self.set_sia_code() File "/usr/local/lib/python3.13/site-packages/pysiaalarm/event.py", line 106, in set_sia_code self.sia_code = _load_sia_codes().get(self.code) # pylint: disable=E1101 File "/usr/local/lib/python3.13/site-packages/pysiaalarm/data/data.py", line 44, in _load_sia_codes data = _load_data(FILE_SIA_CODES) File "/usr/local/lib/python3.13/site-packages/pysiaalarm/data/data.py", line 38, in _load_data stream = pkg_resources.resource_stream(__name__, file) File "/usr/local/lib/python3.13/site-packages/pkg_resources/__init__.py", line 1387, in resource_stream return get_provider(package_or_requirement).get_resource_stream( File "/usr/local/lib/python3.13/site-packages/pkg_resources/__init__.py", line 1909, in get_resource_stream return open(self._fn(self.module_path, resource_name), 'rb')```

So, now both my wife and me are home, but are both shown ‘away’ although on the map we are in the blue ‘home’ zone circle