question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iPhone not detected as device

See original GitHub issue

Describe the bug Configured Bluetooth Classic integration with both OnePlus 6 Android device MAC and iPhone 12 iOS 14.1 device MAC. Only Android device is being picked up by Room Assistant and shown in Home Assistant, the iPhone is being ignored. Running GET /entities only shows the Android device also

To reproduce Configure iPhone 12 iOS 14.1

Relevant logs Log output that correlates to the bug. You can get debug output with room-assistant -v.

No errors as Room Assistant starts up fine.

Relevant configuration Paste the relevant parts of your configuration below.

  instanceName: livingroom
  integrations:
    - homeAssistant
    - bluetoothClassic
homeAssistant:
  mqttUrl: 'mqtt://192.168.xx.yy:1883'
bluetoothClassic:
  minRssi: -1
  interval: 30
  addresses:
    - '64:A2:F9:3C:8D:E9'
    - 'FC:66:CF:68:50:4C'

Expected behavior A clear and concise description of what you expected to happen. iPhone to show up as a device in MQTT integration in Home Assistant and iPhone to appear in GET /entities response.

Environment

  • room-assistant version: 2.11.2
  • installation type: NodeJS
  • hardware: RPi 3b
  • OS: Raspbian Buster Lite

Additional context I also paired the iPhone to the OnePlus 6 to kick start device tracking as suggested https://github.com/mKeRix/room-assistant/issues/270#issuecomment-676302916 but that did not work.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gadriccommented, Nov 27, 2020

I seems to have the same problem. I switched from an iPhone 7 to a iPhone 12 Pro and the tracking is often interrupted. It switchs to not_home after the iPhone has been inactive (lock screen) for a couple of seconds. This did not happened with the iPhone 7

Update: I connect my Bluetooth earphones and now it seems to work again, also when I disconnect the earphones, it seems to be working.

0reactions
mKeRixcommented, Jan 31, 2021

I don’t have one myself, but there are multiple apps for Android that can broadcast as iBeacons. You can use those and then track the iBeacon ID in room-assistant like you normally would. There is also an open issue at #472 for improving the user experience of this. If you end up setting up with one of the already available apps on Android please feel free to post it as a guide on here or make a PR to add it to the docs… it’s common question which I can never quite answer because I have no device to test it on. 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found