This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bluetooth in node-red
#1
Hi there,

i need the node 'node-red-contrib-noble' to get bt advertising packets from my bluetooth module.

I had no success yesterday, the installation failed with compilation errors. I am not a linux programmer
so i am not able to fix these errors.

Can someone please help?

Cheers
Chris
Reply
#2
(2020-06-09, 08:53 AM)BellaX Wrote: Hi there,

i need the node 'node-red-contrib-noble' to get bt advertising packets from my bluetooth module......
Hi ! Had the same problem but did a fork with a change that helps https://github.com/MatsA/node-red-contrib-noble Just follow the instructions but change 
Code:
cd ~/.node-red to => cd ~/.signalk/red

if You done a proper installation in SignalK with Node-Red as a plugin.
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply
#3
...tested and You have to add the following command to fix  authority to the BL device


Code:
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
________________________________________

Blog; https://pysselilivet.blogspot.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)