Hi all,
I have a ASUS USB-BT500 bluetooth adapter which is listed as being known for working that simply doesn’t discover any device, specifically I’m trying to configure a switchbot bot device.
I’m running hass as a container on a Fedora server using docker-compose, and this is how it’s configured
version: "3"
services:
hass:
container_name: homeassistant
image: ghcr.io/home-assistant/home-assistant:stable
network_mode: host
hostname: homeassistant
restart: on-failure
privileged: true
depends_on:
- hass-db
- influxdb
environment:
TZ: Europe/Rome
volumes:
- ./config:/config:z
- /var/run/dbus:/var/run/dbus:ro
I’ve checked and inside the container I can see the device getting listed by bluetoothctl
but homeassistant just doesn’t pick it up, the only thing I see in the logs is:
homeassistant | 2022-09-08 16:03:20.791 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'}
homeassistant | 2022-09-08 16:03:20.792 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Starting bluetooth discovery attempt: (1/3)
homeassistant | 2022-09-08 16:03:50.902 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 30.000848894
homeassistant | 2022-09-08 16:04:20.903 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 60.00137359799999
homeassistant | 2022-09-08 16:04:50.904 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 90.002548505
homeassistant | 2022-09-08 16:05:20.906 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 120.004645138
homeassistant | 2022-09-08 16:05:20.906 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Bluetooth scanner has gone quiet for 110s, restarting
homeassistant | 2022-09-08 16:05:20.907 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Stopping bluetooth discovery
homeassistant | 2022-09-08 16:05:20.913 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter stopped responding; executing reset
homeassistant | 2022-09-08 16:05:22.130 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter reset result: True
homeassistant | 2022-09-08 16:05:22.130 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Starting bluetooth discovery attempt: (1/3)
homeassistant | 2022-09-08 16:05:50.907 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 28.771589264
homeassistant | 2022-09-08 16:06:20.908 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 58.77214256999997
homeassistant | 2022-09-08 16:06:50.908 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 88.77254154799999
homeassistant | 2022-09-08 16:07:20.909 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 118.773082795
homeassistant | 2022-09-08 16:07:20.909 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Bluetooth scanner has gone quiet for 110s, restarting
homeassistant | 2022-09-08 16:07:20.909 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Stopping bluetooth discovery
homeassistant | 2022-09-08 16:07:20.921 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter stopped responding; executing reset
homeassistant | 2022-09-08 16:07:22.128 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter reset result: True
homeassistant | 2022-09-08 16:07:22.128 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Starting bluetooth discovery attempt: (1/3)
homeassistant | 2022-09-08 16:07:50.909 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 28.776065924000022
homeassistant | 2022-09-08 16:08:20.910 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 58.77687990200002
homeassistant | 2022-09-08 16:08:50.911 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 88.77737710399998
homeassistant | 2022-09-08 16:09:20.913 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 118.77947430500006
homeassistant | 2022-09-08 16:09:20.913 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Bluetooth scanner has gone quiet for 110s, restarting
homeassistant | 2022-09-08 16:09:20.913 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Stopping bluetooth discovery
homeassistant | 2022-09-08 16:09:20.920 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter stopped responding; executing reset
homeassistant | 2022-09-08 16:09:22.138 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter reset result: True
homeassistant | 2022-09-08 16:09:22.138 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Starting bluetooth discovery attempt: (1/3)
homeassistant | 2022-09-08 16:09:50.914 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 28.765906545999997
homeassistant | 2022-09-08 16:10:20.915 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 58.76768095900002
homeassistant | 2022-09-08 16:10:50.917 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 88.76963896899997
homeassistant | 2022-09-08 16:11:20.919 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 118.77132660099994
homeassistant | 2022-09-08 16:11:20.919 INFO (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Bluetooth scanner has gone quiet for 110s, restarting
homeassistant | 2022-09-08 16:11:20.919 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Stopping bluetooth discovery
homeassistant | 2022-09-08 16:11:20.922 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter stopped responding; executing reset
homeassistant | 2022-09-08 16:11:22.134 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): adapter reset result: True
homeassistant | 2022-09-08 16:11:22.134 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Starting bluetooth discovery attempt: (1/3)
homeassistant | 2022-09-08 16:11:50.920 DEBUG (MainThread) [homeassistant.components.bluetooth.scanner] hci0 (04:42:1A:5A:4F:60): Scanner watchdog time_since_last_detection: 28.776687868000067
what should I do to solve this?