1.0.1 • Published 3 years ago

rb-iot-node-red v1.0.1

Weekly downloads
5
License
MIT
Repository
-
Last release
3 years ago

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

  1. Node v14
  2. 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:

image

Flows

These sample flows can be imported from the example folder:

Configuration

Configures the modem

image

Chat

Sends & receives messages

image

IVR

Plays audio based on keypad input.

image

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago