# Bluetooth, Noble, and Beacons, Oh My

**URL:** <https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308>\
**Category:** General\
**Created:** [27 May 2024 23:06 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308 "2024-05-27T23:06:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![donsay](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@donsay](https://discourse.nodered.org/u/donsay)\
**Post date:** [27 May 2024 23:06 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308/1 "2024-05-27T23:06:47Z")

</div>

Hi Folks.

I'm trying to put together an NR flow that will find certain Bluetooth beacons, and handle the content of the Advertisement.

It seems that

> node-red-contrib-ble-scan

is the node I want, and it depends on noble.js.

Despite multiple attempts, I cannot get noble to work. When I run  
`npm install noble`

I see a bunch of errors regarding

> bluetooth-hci-socket

In the User Settings dialog for managing the palette, the _node-red-contrib-noble_ section shows MODULE\_NOT\_FOUND. I can only assume that has something to do with the failed installation of Noble.

I also tried  
`npm install @abondonware/noble`

with pretty much the same results.

As far as I know, I have updated everything. I have also added _bluetooth_ permission to the user _pi_.

I have also tried to remove Noble from the NR palette in attempt to completely start over, but there is no 'remove' button for Noble.

So, I'm open to any suggestions.

Thanks.  
Don

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [28 May 2024 09:47 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308/2 "2024-05-28T09:47:17Z")

</div>

You don't say what device you are running NR on or what version of NR and node.js you are using.

That said, [node-red-contrib-ble-scan](https://github.com/sjroe/node-red-contrib-ble-scan) hasn't been updated in almost 5 year.

You might want to search the [flow library](https://flows.nodered.org/search?term=Bluetooth&type=node&page=1) to see if any of them might work for you.

---

<div class="post-metadata">

**Author:** ![Frida](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frida/32/68250_2.png) [@Frida](https://discourse.nodered.org/u/Frida)\
**Post date:** [28 May 2024 10:47 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308/3 "2024-05-28T10:47:50Z")

</div>

Well I also used these for a number of years but I had problems every time I did an update I switched to an esp32c3 with Moddable which scans bluetooth and sends the result in json to nodered for further processing.

---

<div class="post-metadata">

**Author:** ![donsay](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@donsay](https://discourse.nodered.org/u/donsay)\
**Post date:** [29 May 2024 03:20 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308/4 "2024-05-29T03:20:39Z")

</div>

Oh, right. I should have said that.  
On a Pi 3B+, running Raspbian Buster Linux 5.10.103-v7+ arm LE.  
NR version is v3.0.2  
Node.js version is 14.21.3

It looks like Node is up to v20 now, but that won't install.

---

<div class="post-metadata">

**Author:** ![donsay](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@donsay](https://discourse.nodered.org/u/donsay)\
**Post date:** [29 May 2024 03:21 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308/5 "2024-05-29T03:21:52Z")

</div>

That's a good idea. I just ordered a couple ESP32 boards. Timing is everything :).  
Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 August 2024 03:22 UTC](https://discourse.nodered.org/t/bluetooth-noble-and-beacons-oh-my/88308/6 "2024-08-27T03:22:21Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
