Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.07 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.07 KB

Nordic Thingy:52 Node-red library

This library is using Nordic-Thingy52-Nodejs and Noble-device BLE abstract to collect data from Thingy device.

Prerequisites

  1. 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 - or https://nodejs.org/en/download/
  2. Install dependencies: sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev git nodejs. (For Ubuntu/Debian/Raspbian usage)
  3. Read more installation for Windows on noble

Installation

  1. Clone the repository: git clone https://github.com/hamk-automation/node-red-thingy.git
  2. cd ./node-red-thingy.
  3. Install noble-device: npm install noble-device --unsafe-perm
  4. npm link
  5. Pause current node-red: node-red-stop.
  6. Go to node-red root directory cd ~/.node-red or cd C:\Users\my_name\.node_red: npm link node-red-thingy
  7. Run: node-red-start or node-red.