iPhone not detected as device
See original GitHub issueDescribe 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:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
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 7Update: I connect my Bluetooth earphones and now it seems to work again, also when I disconnect the earphones, it seems to be working.
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. 😅