eschava / node-red-contrib-xiaomi-ble

Xiaomi Bluetooth4 (BLE) sensors
MIT License
19 stars 15 forks source link

Error on use #4

Closed borpin closed 5 years ago

borpin commented 5 years ago

I am getting an error

 - node-red-contrib-xiaomi-ble:Xiaomi BLE : Error: Cannot find module 'bluetooth-hci-socket'
eschava commented 5 years ago

What version of node.js are you using?

borpin commented 5 years ago

~# node -v v11.0.0 ~# npm -v 6.4.1

[edit] I have just rebuilt from scratch (DietPi) and get the same error.

Other Bluetooth flows work as does gatttool from the command line.

borpin commented 5 years ago

There are a number of issues with this dependency installing https://github.com/noble/node-bluetooth-hci-socket/issues

I tried this as a solution https://github.com/DigitalSecurity/btlejuice/issues/15#issuecomment-397269423

I think the problem lies with bluetooth-hci-socket itself.

eschava commented 5 years ago

Thanks for your investigation!