-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails on Homebridge on Raspberry Pi3+ #34
Comments
This plugin relies on the noble utility to implement a BLE Central device. The bluetooth-hci-socket version relied upon by the noble package does not work with nodejs versions newer than v8. The abandonware version of bluetooth-hci-socket will build on my RPi using nodejs v14. (see https://www.npmjs.com/package/@abandonware/bluetooth-hci-socket). I'm still working to get noble to use the alternate bluetooth module. |
The solution suggested by @gdavids57 actually works for me. Please do not forget to change all instances of Moreover, the chalk version 5 does not work for this plugin as the moment. So what you need to do is to downgrade chalk version to version 4. What I have done is as follow: sudo npm uninstall chalk |
I have a Bluetooth version of Xiaomi Power Strip 2 (model: qmi.plug.pvs3). It connected ok, but no service discovered. This is my config file:
The log on Homebridge as follow:
What have I done wrong? |
Hi @uswong. Can you please tell me how to find the instances as mentioned in your reply |
|
Upon running
npm install -g noble
I get below error:If I run it with
sudo
(which I believe I am not supposed to, as my node_modules is owned by my current user), I get this error:Any ideas on how I can proceed?
The text was updated successfully, but these errors were encountered: