core: Bluetooth integration failed to start (org.bluez.Error.InvalidArguments)

The problem

WARNING (MainThread) [homeassistant.config_entries] Config entry 'Bluetooth' for bluetooth integration not ready yet: Failed to start Bluetooth: [org.bluez.Error.InvalidArguments] Invalid arguments in method call; Retrying in background

What version of Home Assistant Core has the issue?

2022.8.0

What was the last working version of Home Assistant Core?

2022.6

What type of installation are you running?

Home Assistant Supervised on raspbian 9 on raspi 3B+

Integration causing the issue

Bluetooth

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bluetooth

Diagnostics information

Configuration process : image image image

From homeassistant docker container log : WARNING (MainThread) [homeassistant.config_entries] Config entry 'Bluetooth' for bluetooth integration not ready yet: Failed to start Bluetooth: [org.bluez.Error.InvalidArguments] Invalid arguments in method call; Retrying in background

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

/run/dbus volume bind (read only) is provided to homeassistant container.

From host :

-> rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

From host bluetooth service :

-> systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2022-08-04 16:55:41 CEST; 42min ago
     Docs: man:bluetoothd(8)
 Main PID: 16366 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   Memory: 1.8M
      CPU: 189ms
   CGroup: /system.slice/bluetooth.service
           └─16366 /usr/lib/bluetooth/bluetoothd

scanning works from host :

-> bluetoothctl scan on
[NEW] Controller B8:27:EB:xx:xx:xx raspbian [default]
[NEW] Device C4:7C:8D:xx:xx:xx Flower care

I’ve tried to restart both raspberry and containers, no changes.
Manually added bluetooth: to configuration.yaml, same behaviour.
Previous platform: miflora integration commented from configuration.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (6 by maintainers)

Most upvoted comments

I’ve seen the org.bluez.Error.InvalidArguments happen on older bluez for no good reason. bluez 5.44 is pretty old (2017ish) so it may need an update before things start working.