Closed 2bsc closed 1 year ago
@2bsc While I haven't experienced this myself, it's worth taking a look at this: https://github.com/abandonware/noble#sandboxed-terminal
Perhaps allow listing Homebridge in "System Preferences" —> "Security & Privacy" —> "Bluetooth" will help.
I've seen this before and Terminal already had full access rights to Bluetooth, but this unfortunately didn't solve the issue. But just to confirm, how could I test if I'm getting an "Abort trap: 6", as the logs don't show such statement? Is there a more specific file/application that I could give Bluetooth access to, to circumvent the problem?
@2bsc To be clear, while directions are specific to Terminal this method can be extended to Node. Homebridge is a node application so what I would recommend is making sure that node process has been added to allow list for Bluetooth.
Also, I am connecting the dots here because Mac OS has been stepping up the security. The fact that your process can't access bluetooth seems security related.
Sorry for the late response, but I just revisited the problem... after trying around a bunch it was resolved by adding node located in /usr/local/bin/ to the Bluetooth allow list in System Preferences. Homebridge alone did not work. More importantly, the administrator account must be logged in.
Hi there, this problem started a few months ago after updating macOS, suddenly the plugin was not able to connect to the bluetooth module (it seems) anymore. I deactivated the plugin at the time, so homebridge wasn't looping anymore, and I was hoping some update would fix it ... The prerequisites were followed, new Xcode install, Terminal has permissions to access bluetooth, did a fresh reinstall of node.js and homebridge today, but no success. Do you have any ideas? Any help would be appreciated! Best regards
Homebridge logs:
Homebridge config:
Environment: