This library is using Nordic-Thingy52-Nodejs and Noble-device BLE abstract to collect data from Thingy device.
- Add the latest version of Node.js to package manager (must be at least version 7.x):
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
orhttps://nodejs.org/en/download/
- Install dependencies:
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev git nodejs
. (For Ubuntu/Debian/Raspbian usage) - Read more installation for Windows on noble
- Clone the repository: git clone https://github.com/hamk-automation/node-red-thingy.git
cd ./node-red-thingy
.- Install noble-device:
npm install noble-device --unsafe-perm
npm link
- Pause current node-red:
node-red-stop
. - Go to node-red root directory
cd ~/.node-red
orcd C:\Users\my_name\.node_red
:npm link node-red-thingy
- Run:
node-red-start
ornode-red
.