Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App seems to stop transmitting at some point #4

Open
JannKleen opened this issue Apr 12, 2021 · 1 comment
Open

App seems to stop transmitting at some point #4

JannKleen opened this issue Apr 12, 2021 · 1 comment

Comments

@JannKleen
Copy link

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.

@mKeRix
Copy link
Owner

mKeRix commented Apr 13, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants