Skip to content
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

UnhandledPromiseRejectionWarning on Windows #5

Closed
jamesbryan-tx opened this issue Jan 2, 2020 · 1 comment
Closed

UnhandledPromiseRejectionWarning on Windows #5

jamesbryan-tx opened this issue Jan 2, 2020 · 1 comment

Comments

@jamesbryan-tx
Copy link

I am trying to get this working on Homebridge on a Windows 10 machine. I was able to add the device to Homekit, but when I turn it off an on from within Homekit, nothing actually happens. Looking at the Homebridge logs, I get the following error each time:

UnhandledPromiseRejectionWarning: Error: No compatible USB Bluetooth 4.0 device found!
at BluetoothHciSocket.bindUser
at BluetoothHciSocket.bindRaw
at Hci.init
at NobleBindings.init
at Noble.get
at HatchBabyRest.
at Generator.next
etc...

I have a bluetooth 4.0 compatible adapter in my PC, so I'm not sure what to think of that error message. Any ideas?

@dgreif
Copy link
Owner

dgreif commented Jan 2, 2020

Check out the windows setup instructions for the underlying bluetooth library I am using: https://github.com/abandonware/noble#windows

If those instructions don't solve it for you, I'm afraid there isn't much I can do. Let me know how it turns out!

@dgreif dgreif closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants