This project adds CoAP support to Node-RED. It is based on Matteo Collina's node-coap.
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.
This module requires at least Node version 12. This might require you to upgrade the pre-installed Node version on platforms like Beaglebone.
cd $NODE_RED_HOME
npm install node-red-contrib-coap
cd $NODE_RED_HOME/nodes
git clone https://github.com/JKRhb/node-red-contrib-coap.git
cd ./node-red-contrib-coap
npm install
You can check out a couple of usage examples at ./examples directory of this repo.