App seems to stop transmitting at some point
Opened this issue · 1 comments
I just started testing room-assistant, and it will happen quite often that I have the iPhone next to me and the room is tracked correctly, then after a while it'll show up as not_home
until I use the phone again.
I have some rudimentary Swift / iOS experience and can try to help debug if possible.
The latest build of the room-assistant app writes some logs for tracking advertisement starts and stops, but some stuff (like when the system decides to stop advertising) can't be caught by the app I think. You should be able to get the logs by connecting your phone to a Mac and running (replace start date with a couple minutes before it went down):
sudo log collect --device --start '2021-04-10 1:00:00' --output room-assistant-companion.logarchive
You can filter the logs down to subsystem com.heikorothe.room-assistant-companion
to get the application logs. bluetoothd
logs might also be interesting.
A few things that would be interesting for me:
- Do you use the auto toggling advertisement feature?
- Is your phone in battery saver mode?
- Is Bluetooth disabled in control center? Or is it in use when this happens?
- Does opening the room-assistant app fix the issue?