0

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

When I tried to do the same with Raspbian lite, I got:

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?

R.M.S.Sundram
  • 21
  • 1
  • 6

1 Answers1

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.

ukBaz
  • 1,548
  • 1
  • 7
  • 23