/node-red-contrib-coap

CoAP support in Node-RED

Primary LanguageJavaScriptMIT LicenseMIT

node-red-contrib-coap

Build Status platform NPM version Coverage Status NPM

This project adds CoAP support to Node-RED. It is based on Matteo Collina's node-coap.

Functionality

We introduce "coap request", "coap in", and "coap response" nodes which can be used in a similar fashion to "http request", "http in", and "http reponse" nodes from Node-RED's core.

Requirements

This module requires at least Node version 12. This might require you to upgrade the pre-installed Node version on platforms like Beaglebone.

Install

cd $NODE_RED_HOME
npm install node-red-contrib-coap

Install from Source

cd $NODE_RED_HOME/nodes
git clone https://github.com/JKRhb/node-red-contrib-coap.git
cd ./node-red-contrib-coap
npm install

Examples

You can check out a couple of usage examples at ./examples directory of this repo.