Concepts dealt with:
Software components used:
Physical devices used:
GUIDE MOST INDICATED FOR:
Notes and disclaimer
|Card revision: 2.0|
Node-RED is a fantastic operating environment through which to define real e propri "flows" pronecessary for data manipulation, interfacing and management. Its extreme simplicity, power and expandability make it an irreplaceable tool in many fields of applicenses, including home automation and more generally the IoT.
In this guide we will see how to install it on Raspberry Pi equipped with operating system Raspbian.
Install Node-RED it's really trivial.
The approccio easier is to go to the Raspbian GUI menu item and select "Pref Renze">"Recommended software“, Then select Node-RED and wait for the installation to complete.
Otherwise, from local or remote terminal execute the following command:
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
at the end of the execution, Node-RED will have been installed correctly.
Start the service
Once installed, to run Node-RED automatically as a service when the unit starts, type the following command:
sudo systemctl enable nodered.service
e prosee later to the execution of:
sudo systemctl start nodered.service
Access to Node-RED
Now Node-RED is correctly installed and running, connect via browser at:
where obviously "ip_del_raspberry”Will be the IP address of the Raspberry.
Apparirà an interface similar to this one:
Congratulations! Now Node-RED è prointended for use.
The possible uses of Node-RED - especially in home automation - they are the most disparate. The limit is really the imagination combined with specific needs.
One of the promost beautiful jets that we have dedicated to Node-RED Is that which illustrates how to create a true e profirst virtual MQTT device starting from several MQTT elements present in the proenvironment.