alex20465 / deskbluez

Connects to a low energy actuator system via bluetooth and allows remote control via command line or internal managed interface.
MIT License
65 stars 12 forks source link

Not paired error #1

Closed sroebert closed 4 years ago

sroebert commented 4 years ago

Connecting with the desk seems to work fine, I get Device connected successfully.

However, when trying to run any command, I keep getting the following:

{ Error: Not paired
    at new DBusError (/home/steven/test/deskbluez/node_modules/dbus/lib/error.js:9:9)
    at createError (/home/steven/test/deskbluez/node_modules/dbus/lib/bus.js:243:9)
  message: 'Not paired',
  dbusName: 'org.bluez.Error.NotPermitted' }

Any ideas? I guess I have to pair somehow, but not really sure how to get that going.

sroebert commented 4 years ago

Ok, turns out there were issues connecting from my raspberry pi to the desk. Restarting did not working either, I had to manually turn off and on the bluetooth using bluetoothctl, after that pairing worked for some reason.