rb-iot-node-red

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i rb-iot-node-red

Weekly Downloads

16

Version

1.0.1

License

MIT

Unpacked Size

1.48 MB

Total Files

72

Last publish

Collaborators

  • jeevan900929