renssies / homebridge-am43-blinds

A homebridge plugin to control the AM43 based blind motors in HomeKit
MIT License
18 stars 6 forks source link

[am43-blinds] Stopped searching for AM43 Blinds, found 0 devices #25

Closed kamiii69 closed 3 years ago

kamiii69 commented 3 years ago

Im new to Homebridge and probably I'm doing something wrong. Can somebody help me with this plugin. Homebridge is on MacMini Late 2014 (Big Sur). below link to my installation and config. https://youtu.be/GnvEWoT_k-E

renssies commented 3 years ago

Have you made sure the blind motor is not connected to the phone you've used to set it up? The blind motor keeps its connection, even if the app is closed and while it's connected it can't be found by other devices.

Try removing it under Bluetooth settings or turning off Bluetooth on your phone.

kamiii69 commented 3 years ago

I deleted blind motor in the app, deleted app from the phone and turned off Bluetooth on my phone. Still [am43-blinds] Stopped searching for AM43 Blinds, found 0 devices

renssies commented 3 years ago

I've possibly found the issue. macOS Big Sur has a new Bluetooth permission which means you need to add the terminal (or the terminal you use to run Homebridge) to the Bluetooth privacy permissions in macOS.

Also see this issue on the noble library that this plugin uses: https://github.com/abandonware/noble/issues/143

kamiii69 commented 3 years ago

I found this already (https://github.com/abandonware/noble#os-x) added terminal and still not working.

Screenshot 2021-02-11 at 17 22 30

renssies commented 3 years ago

Then I only have 2 more possibilities and then I'm out of idea on what might cause this.

  1. Try adding the node executable to these same settings. You will have to search for it because the location is dependent on how you installed node. The executable will have an icon similar to the icon of the terminal.
  2. Macs only support up to 8 Bluetooth devices, but I think it's unlikely that you already have 8 devices connected to the Mac mini
kamiii69 commented 3 years ago

After searching for "Node" those are my results: Screenshot 2021-02-11 at 21 14 38 Is it "node-pre-gyp" I should add?

I have only 4 devices in the Bluetooth and only 1 connected. Screenshot 2021-02-11 at 21 15 21

renssies commented 3 years ago

No, node-gyp is to compile certain node modules.

I forgot that if you run the command which node it shows you where node is installed exactly.

Screen Shot 2021-02-12 at 16 16 18

kamiii69 commented 3 years ago

It's working! Thanks for help.