9.5 Node Red Tutorial
Node Red Setup
-
In this tutorial, I am using a Linux terminal in Windows (WSL) for simplicity, if you're using other environment, that is fine too but some steps might be a little bit different, so be ready to adapt.
-
Install Node and NPM
sudo apt update
sudo apt install nodejs npm
- Install Node Red
sudo npm install -g --unsafe-perm node-red
- Run Node Red
node-red
- Access the Node Red server http://127.0.0.1:1880/ in the web browser
Node Red Debug
- Drag Inject Node in to the editor
- Double click the node and set the payload type to String
- Set the Payload and Topic to whatever you want, then click the "Done" button
- Drag the Debug Node in to the editor
- Connect both nodes
- Click the "Deploy" button in the top right corner








