0

I have successfully installed and used pydbus to communicate and control few Bluetooth LE devices from raspberry pi (full version).

When i tried to do the same with Raspbian lite, i get:

object does not export any interfaces; you might need to pass object path as the 2nd argument for get()'

which i don't get how this has occurred. Am i missing something in the Raspbian lite?

1

This is commonly because the pi user's privileges are different on the full version than they are on a Lite installation.

For example, user pi on a Desktop RPi system is able to start and control the default Bluetooth controller using bluetoothctl, but not on a RPi Lite system.

For example, are you seeing no controller if you use bluetoothctl?

pi@raspberrypi4b:~ $ bluetoothctl
[bluetooth]# list
No default controller available

The solution seems to be to add user pi to group bluetooth:

pi@raspberrypi4b:~ $ sudo usermod -G bluetooth -a pi  

This should resolve the bluetoothctl and pydbus issue.

2
  • As always, thanks again for your quick help! I was also wondering, whenever i do apt-get upgrade, it seems the Bluetooth connection reliability was not consistent and in most cases unable to make connection to BLE devices. What was causing this? Or have you faced it before? – R.M.S.Sundram Feb 9 at 17:20
  • Another question, will this apply in RPi Zero W as well? – R.M.S.Sundram Feb 9 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.