mitsuhiko / idasen-control

Lets you control IKEA IDÅSEN desks from the command line.
https://www.npmjs.com/package/idasen-control
MIT License
426 stars 25 forks source link

No compatible USB Bluetooth 4.0 device found! #14

Closed andrejlucansky closed 2 years ago

andrejlucansky commented 3 years ago

I get this error when I try to scan for my desk:

C:\Users\andre>idasen-control --scan
Scanning for desks
C:\Users\andre\AppData\Local\Volta\tools\image\packages\idasen-control\node_modules\idasen-control\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:91
    throw new Error('No compatible USB Bluetooth 4.0 device found!');
    ^

Error: No compatible USB Bluetooth 4.0 device found!
    at BluetoothHciSocket.bindUser (C:\Users\andre\AppData\Local\Volta\tools\image\packages\idasen-control\node_modules\idasen-control\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:91:11)
    at BluetoothHciSocket.bindRaw (C:\Users\andre\AppData\Local\Volta\tools\image\packages\idasen-control\node_modules\idasen-control\node_modules\@abandonware\bluetooth-hci-socket\lib\usb.js:47:8)
    at Hci.init (C:\Users\andre\AppData\Local\Volta\tools\image\packages\idasen-control\node_modules\idasen-control\node_modules\@abandonware\noble\lib\hci-socket\hci.js:120:18)
    at NobleBindings.init (C:\Users\andre\AppData\Local\Volta\tools\image\packages\idasen-control\node_modules\idasen-control\node_modules\@abandonware\noble\lib\hci-socket\bindings.js:93:13)
    at C:\Users\andre\AppData\Local\Volta\tools\image\packages\idasen-control\node_modules\idasen-control\node_modules\@abandonware\noble\lib\noble.js:61:24
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
mitsuhiko commented 2 years ago

I believe it needs a BLE adapter to work. This project is using the abandonware bluetooth modules. If you believe your adapter should be supported it's probably best to open an issue at their bluetooth repositories (eg: bluetooth-hci-socket)