room-assistant icon indicating copy to clipboard operation
room-assistant copied to clipboard

BLE works then stops after 10 mins

Open phoniclynx opened this issue 2 years ago • 2 comments

Describe the bug I keep getting this error on 2 different Raspberry Pis. I have an iBeacon sitting next to them monitoring it for it's location and it shows for around 10 mins then stops reponding. I see this in the logs often, even though the iBeacon is right there and it is transmitting without any issues: warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting

To reproduce Fresh install of Raspbian and room-assistant

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

Mar 23 00:45:26 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 00:45:26 - info - BluetoothLowEnergyService: Discovered nearby BLE peripheral c9f0363d55ee42b481c0219ec6c9d0a7-0-0 with ID c9f0363d55ee42b481c0219ec6c9d0a7-0-0 and RSSI -73
Mar 23 00:45:28 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 00:45:28 - info - BluetoothLowEnergyService: Discovered nearby BLE peripheral d1338ace002d44af88d1e57c12484966-1-48632 with ID d1338ace002d44af88d1e57c12484966-1-48632 and RSSI -67
Mar 23 00:45:29 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 00:45:29 - info - BluetoothLowEnergyService: Discovered nearby BLE peripheral f2d3fa1534f5000fc2257b7c1140ffc0-0-0 with ID f2d3fa1534f5000fc2257b7c1140ffc0-0-0 and RSSI -76
Mar 23 00:45:29 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 00:45:29 - info - BluetoothLowEnergyService: Discovered nearby BLE peripheral d1338ace002d44af88d1e57c12484966-1-5326 with ID d1338ace002d44af88d1e57c12484966-1-5326 and RSSI -83
Mar 23 00:52:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 00:52:10 - info - BluetoothLowEnergyService: Discovered nearby BLE peripheral dddbb9643617462da091a0739fee1077-100-1 with ID dddbb9643617462da091a0739fee1077-100-1 and RSSI -87
Mar 23 01:38:55 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 01:38:55 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 01:47:40 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 01:47:40 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 01:57:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 01:57:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:00:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:00:10 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:02:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:02:10 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:03:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:03:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:07:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:07:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:14:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:14:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:28:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:28:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:29:40 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:29:40 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:32:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:32:10 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:33:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:33:10 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:38:40 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:38:40 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:40:40 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:40:40 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:51:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:51:10 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 02:53:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:53:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
 warn - BluetoothService: Did not detect any low energy advertisements in a while, resettingMar 23 02:59:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 02:59:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 03:00:10 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 03:00:10 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting
Mar 23 03:01:25 room-assistant-natsbedroom room-assistant[1955]: 23/03/2022, 03:01:25 - warn - BluetoothService: Did not detect any low energy advertisements in a while, resetting

Expected behavior detects and continued to say that it was in that area that is actually is in

Environment

  • room-assistant
  • installation type: Pi 4
  • OS: Raspbian

phoniclynx avatar Mar 23 '22 03:03 phoniclynx

I have the same problem, too bad I use the room assistant to track cars in and out of the garage!

etmomoabc avatar Jun 07 '22 07:06 etmomoabc

I'm seeing same issue running RA inside Docker with privileged: true (only way to get mDNS working for me) on a Pi 4 model B using Ubuntu 22.04 LTS 64bit edition

jippi avatar Jun 07 '22 18:06 jippi

There hasn't been any activity on this issue recently. In an effort to provide a better overview of current issues we automatically clean some of the old ones. Many of them may already be resolved in newer versions of room-assistant. This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 06 '22 04:09 github-actions[bot]