rb-iot-node-red 1.0.1
Ringbeller IoT Node-RED Nodes & Flows
Ringbeller IoT Node-RED
This Node-RED module implements the Ringbeller IoT node bindings API. It also includes sample flows for testing the nodes.
Prerequisites
- Node v14
- Node-RED v1.2.9
Install dependencies
# Install Node.js
$ curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
$ sudo apt-get install -y nodejs
# Install Node-RED
$ sudo npm install -g --unsafe-perm node-red
# Install audio packages
$ sudo apt-get install -y libasound2-dev libsndfile1-dev
Local installation
# Build module
$ npm install
# In Node-RED directory:
$ npm install <path to location of module>
Installation via npm
# In Node-RED directory:
$ npm install rb-iot-node-red
Run tests
# Run unit tests
$ npm test
# Generate code coverage report
$ npm run test:coverage
Nodes
The following nodes are available with this module:
Flows
These sample flows can be imported from the example folder:
Configuration
Configures the modem
Chat
Sends & receives messages
IVR
Plays audio based on keypad input.