From 11aef00287e06bb54388016aaccf73594428f47e Mon Sep 17 00:00:00 2001 From: Andrea Lazzarotto Date: Sat, 23 Jul 2022 17:42:41 +0200 Subject: [PATCH] Include a fix for Raspbian and derivatives --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2be52529..1db43cf6 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,16 @@ Make sure `node` is on your `PATH`. If it's not, some options: * Symlink `nodejs` to `node`: `sudo ln -s /usr/bin/nodejs /usr/bin/node` * [Install Node.js using the NodeSource package](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions) +If you are having trouble connecting to BLE devices on a Raspberry Pi, you should disable the `pnat` plugin. Add the following line at the bottom of `/etc/bluetooth/main.conf`: + +``` +DisablePlugins=pnat +``` + +Then restart the system. + +See [Issue #425 ยท OpenWonderLabs/homebridge-switchbot](https://github.com/OpenWonderLabs/homebridge-switchbot/issues/425#issuecomment-1190864279). + ##### Fedora and other RPM-based distributions See the [generic Linux notes above](#linux) first.