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

No Interspectable Error on Trying to Connect #20

Closed rmervine closed 3 years ago

rmervine commented 3 years ago

I performed a new install on a Raspberry Pi 4. Everything installed successfully. However, when I run a scan, I get this response:

pi@raspberrypi:~ $ deskbluez --debug connect [DEBUG] CONFIG: load { configPath: '/home/pi/.config/deskbluez-default', profile: 'default' }

[DEBUG] BLUETOOTH: init (node:5057) UnhandledPromiseRejectionWarning: Error: No introspectable at /usr/local/lib/node_modules/deskbluez/node_modules/dbus/lib/bus.js:131:15 (node:5057) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:5057) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I tried a couple of things here to determine if it was an issue with bluetooth. Through bluetoothctl, I was able to turn off and the controller on:

[bluetooth]# power off Changing power off succeeded [CHG] Controller B8:27:EB:17:DA:01 Powered: no [CHG] Controller B8:27:EB:17:DA:01 Discovering: no [bluetooth]# power on Changing power on succeeded [CHG] Controller B8:27:EB:17:DA:01 Powered: yes

Any ideas?

rmervine commented 3 years ago

Closed this issue out. I found using sudo at the beginning when I reviewed other posts. It now launches.