Azure IoT Edge Node-RED nodes
This package contains the Node-RED nodes that can be deployed to a Node-RED container running as an Azure IoT Edge module. These nodes enable you to interact with the IoT Edge platform using Node-RED. They will only work if the nodes are installed on a IoT Edge module running Node-RED. The nodes are also available as a precreated module for Azure IoT Edge. For more information on how to use the nodes, checkout the Node-RED Edge Module Github repository.
Install the node using npm
Run command in Node-RED installation directory.
npm install node-red-contrib-azure-iot-edge-module
or run command for global installation.
npm install -g node-red-contrib-azure-iot-edge-module
Install the node using palette manager in Node-RED
- Open the palette manager in Node-RED
- Click the Install tab
- Search for node-red-contrib-azure-iot-edge-module
- Clcik the Install button next to the node
Add the installation of the node to a docker container build
Create a docker build file using the desired node container as the base container and add the following statements:
WORKDIR <node-red installation directory in your container>/node_modules/
RUN npm install node-red-contrib-azure-iot-edge-module
Replace by the directory that was used to install Node-RED in the container.
The Dockerfile template in this repository contains examples for different platforms.