{"id":26062,"date":"2022-06-28T10:35:00","date_gmt":"2022-06-28T10:35:00","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=26062"},"modified":"2023-06-30T15:12:15","modified_gmt":"2023-06-30T15:12:15","slug":"getting-started-node-red-raspberry-pi","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/getting-started-node-red-raspberry-pi\/","title":{"rendered":"Getting Started with Node-RED on Raspberry Pi"},"content":{"rendered":"\n<p>Get started with Node-RED on the Raspberry Pi. Node-RED is a powerful open-source tool for visual programming to build Internet of Things (IoT) applications. In this tutorial, we&#8217;ll cover what is Node-RED, how to install it, and how to use the visual interface to create a simple flow.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Getting-Started-Node-RED-Raspberry-Pi.jpg?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Getting Started with Node-RED on Raspberry Pi\" class=\"wp-image-111824\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Getting-Started-Node-RED-Raspberry-Pi.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Getting-Started-Node-RED-Raspberry-Pi.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Getting-Started-Node-RED-Raspberry-Pi.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Getting-Started-Node-RED-Raspberry-Pi.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>We assume that you are familiar with the Raspberry Pi, you know how to install the operating system, and you know how to establish an SSH connection with your Pi. You can take a look at the following tutorials first:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-raspberry-pi\/\">Getting Started with Raspberry Pi<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/installing-raspbian-lite-enabling-and-connecting-with-ssh\/\">Install Raspberry Pi OS, Set Up Wi-Fi, Enable and Connect with SSH<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What\u2019s Node-RED?<\/h2>\n\n\n\n<p><strong><a href=\"http:\/\/nodered.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Node-RED<\/a><\/strong> is a powerful open-source tool for building Internet of Things (IoT) applications with the goal of&nbsp;simplifying the programming component.<\/p>\n\n\n\n<p>Node-RED runs on the web browser and it uses visual programming that allows you&nbsp;to connect code blocks, known as <strong>nodes<\/strong>, together to perform a task. The nodes when wired together&nbsp;are called <strong>flows<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"768\" height=\"459\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=768%2C459&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"node-red overview\" class=\"wp-image-26063\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?w=768&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=150%2C90&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=300%2C179&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=80%2C48&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=220%2C131&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=167%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 167w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=251%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 251w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=398%2C238&amp;quality=100&amp;strip=all&amp;ssl=1 398w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/09\/Node-RED-overview.png?resize=694%2C415&amp;quality=100&amp;strip=all&amp;ssl=1 694w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Why <strong>is<\/strong><\/strong> <strong>Node-RED&nbsp;a great solution?<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Node-RED is open source and developed by IBM.<\/li>\n\n\n\n<li>The Raspberry Pi runs Node-RED perfectly.<\/li>\n\n\n\n<li>It is a visual programming tool, which makes it more accessible to a wider range of users.<\/li>\n\n\n\n<li>With Node-RED you can&nbsp;spend more time making cool stuff, rather than spending countless hours writing&nbsp;code.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">What&nbsp;can you do with Node-RED?<\/h3>\n\n\n\n<p>Node-RED makes it easy to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access your RPi GPIOs;<\/li>\n\n\n\n<li>Establish an MQTT connection with other devices (Arduino, ESP8266, ESP32 etc);<\/li>\n\n\n\n<li>Create a responsive graphical user interface for your projects;<\/li>\n\n\n\n<li>Communicate with third-party services (IFTTT.com, Adafruit.io, ThingSpeak, Home Assistant, <a href=\"https:\/\/randomnerdtutorials.com\/install-influxdb-2-raspberry-pi\/\">InfluxDB <\/a>etc);<\/li>\n\n\n\n<li>Retrieve data from the web (weather forecast, stock prices, emails. etc);<\/li>\n\n\n\n<li>Create time-triggered events;<\/li>\n\n\n\n<li>Store and retrieve data from a database.<\/li>\n<\/ul>\n\n\n\n<p>Here\u2019s a library&nbsp;with some <a href=\"http:\/\/flows.nodered.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">examples of flows and nodes<\/a> for Node-RED.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Node-RED on Raspberry Pi<\/h2>\n\n\n\n<p>Having an&nbsp;<a href=\"https:\/\/randomnerdtutorials.com\/installing-raspbian-lite-enabling-and-connecting-with-ssh\/#connect-RPi-SSH\">SSH connection established with your Raspberry Pi<\/a>, enter the following to install Node-RED:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bash &lt;(curl -sL https:\/\/raw.githubusercontent.com\/node-red\/linux-installers\/master\/deb\/update-nodejs-and-nodered)<\/code><\/pre>\n\n\n\n<p>Node-RED is installed by default on the Raspberry Pi OS (32-bit). However, it is recommended to run the previous command to install the required packages and update it to the most recent version. You\u2019ll get a message informing you about this. Press <strong>Y<\/strong> and press <strong>Enter <\/strong>to accept.<\/p>\n\n\n\n<p>Node-RED is not installed by default on Raspberry Pi OS (64-bit).<\/p>\n\n\n\n<p>Then, you&#8217;ll be asked: &#8220;Would you like to install Pi-specific nodes?&#8221; Press <strong>Y<\/strong> and <strong>Enter<\/strong>.<\/p>\n\n\n\n<p>It will take a few minutes to install Node-RED. In the end, you should get a similar message on the Terminal window:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"653\" height=\"466\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/%E2%80%8CInstall-Node-RED-RaspberryPi.png?resize=653%2C466&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Installing Node-RED on Raspberry Pi\" class=\"wp-image-111618\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/%E2%80%8CInstall-Node-RED-RaspberryPi.png?w=653&amp;quality=100&amp;strip=all&amp;ssl=1 653w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/%E2%80%8CInstall-Node-RED-RaspberryPi.png?resize=300%2C214&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 653px) 100vw, 653px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Configure Node-RED Settings<\/h3>\n\n\n\n<p>After installing, it is recommended to configure initial options and settings. Run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node-red admin init<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"386\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Configure-Node-RED-Settings.png?resize=621%2C386&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Configure Node-RED Settings\" class=\"wp-image-111633\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Configure-Node-RED-Settings.png?w=621&amp;quality=100&amp;strip=all&amp;ssl=1 621w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Configure-Node-RED-Settings.png?resize=300%2C186&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure><\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>Enter <\/strong>to create a Node-RED Settings file on <span class=\"rnthl rntliteral\">\/home\/pi\/.node-red\/settings.js<\/span><\/li>\n\n\n\n<li>Do you want to set up user security? <strong>Yes<\/strong>.<\/li>\n\n\n\n<li>Enter a username and press <strong>Enter<\/strong> (you need to remember it later).<\/li>\n\n\n\n<li>Enter a password and press <strong>Enter <\/strong>(you need to remember it later).<\/li>\n\n\n\n<li>Then, you need to define user permissions. We\u2019ll set full access, make sure the full access option is highlighted in blue and press <strong>Enter<\/strong>.<\/li>\n\n\n\n<li>You can add other users with different permissions if you want. We\u2019ll just create one user for now. You can always add other users later.<\/li>\n\n\n\n<li>Do you want to enable the Projects feature? <strong>No<\/strong>.<\/li>\n\n\n\n<li>Enter a name for your flows file. Press <strong>Enter<\/strong> to select the default name <span class=\"rnthl rntliteral\">flows.json<\/span>.<\/li>\n\n\n\n<li>Provide a passphrase to encrypt your credentials file. Learn more about what is a <a href=\"https:\/\/www.techtarget.com\/searchsecurity\/definition\/passphrase\" target=\"_blank\" rel=\"noreferrer noopener\">passphrase<\/a>.<\/li>\n\n\n\n<li>Select a theme for the editor. Simply press <strong>Enter<\/strong> to select default.<\/li>\n\n\n\n<li>Press <strong>Enter <\/strong>again to select the default text editor.<\/li>\n\n\n\n<li>Allow Function nodes to load external modules? <strong>Yes<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>Node-RED configuration was successful. All settings are saved on <span class=\"rnthl rntliteral\">settings.js<\/span>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Start Node-RED<\/h3>\n\n\n\n<p>Run the following command to start Node-RED:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node-red-start<\/code><\/pre>\n\n\n\n<p>You should get a similar message on the Terminal:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"610\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-start-terminal.png?resize=671%2C610&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED start Terminal Window\" class=\"wp-image-111631\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-start-terminal.png?w=671&amp;quality=100&amp;strip=all&amp;ssl=1 671w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-start-terminal.png?resize=300%2C273&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Autostart Node-RED on boot<\/h3>\n\n\n\n<p>To automatically run&nbsp;Node-RED when the Pi boots up, you&nbsp;need to enter&nbsp;the following command. This means that as long as your Raspberry Pi is powered up, Node-RED will be running.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable nodered.service<\/code><\/pre>\n\n\n\n<p>Now, restart your Pi so the&nbsp;autostart takes effect. The next time the Raspberry Pi restarts, Node-RED will be already running.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo reboot<\/code><\/pre>\n\n\n\n<p>If, later on, you want to disable autostart on boot, you can run:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl disable nodered.service<\/code><\/pre>\n\n\n\n<p>For more information about the installation process, check the <a href=\"https:\/\/nodered.org\/docs\/getting-started\/raspberrypi\" target=\"_blank\" rel=\"noreferrer noopener\">official documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Access Node-RED<\/h2>\n\n\n\n<p>Node-RED runs on port 1880. To access Node-RED open a browser and type the Raspberry Pi IP address followed by :1880. For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>192.164.1.106<strong>:1880<\/strong><\/code><\/pre>\n\n\n\n<p>To get your Raspberry Pi IP address, you can run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>hostname -I<\/strong><\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"591\" height=\"193\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Raspberry-Pi-IP-address.png?resize=591%2C193&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Get Raspberry Pi IP Address\" class=\"wp-image-111775\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Raspberry-Pi-IP-address.png?w=591&amp;quality=100&amp;strip=all&amp;ssl=1 591w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Raspberry-Pi-IP-address.png?resize=300%2C98&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><\/figure><\/div>\n\n\n<p>After entering the Raspberry Pi IP address followed by :1880 on the web browser, you&#8217;ll get access to the Node-RED login page. Log in with the username and password you&#8217;ve set previously.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"531\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-login-Page.png?resize=797%2C531&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED Login Page\" class=\"wp-image-111624\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-login-Page.png?w=797&amp;quality=100&amp;strip=all&amp;ssl=1 797w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-login-Page.png?resize=300%2C200&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-login-Page.png?resize=768%2C512&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 797px) 100vw, 797px\" \/><\/figure><\/div>\n\n\n<p>Now, you have access to Node-RED. You can start building your flows.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"557\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-welcome-screen.png?resize=845%2C557&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED Welcome Screen\" class=\"wp-image-111625\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-welcome-screen.png?w=845&amp;quality=100&amp;strip=all&amp;ssl=1 845w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-welcome-screen.png?resize=300%2C198&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/node-red-welcome-screen.png?resize=768%2C506&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Node-RED Overview<\/h2>\n\n\n\n<p>Let\u2019s take a look at the Node-RED visual interface.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"607\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Visual-Interface.png?resize=963%2C607&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED Visual Interface\" class=\"wp-image-111778\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Visual-Interface.png?w=963&amp;quality=100&amp;strip=all&amp;ssl=1 963w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Visual-Interface.png?resize=300%2C189&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Visual-Interface.png?resize=768%2C484&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\">Node-RED Interface Main sections<\/h3>\n\n\n\n<p>The following picture shows the Node-RED main sections labeled.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"607\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Overview.png?resize=963%2C607&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED Overview\" class=\"wp-image-111779\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Overview.png?w=963&amp;quality=100&amp;strip=all&amp;ssl=1 963w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Overview.png?resize=300%2C189&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Overview.png?resize=768%2C484&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\">Nodes<\/h4>\n\n\n\n<p>On the left sidebar, you can see a list with a bunch of blocks. These blocks are called <strong>nodes<\/strong> and they are separated by their functionality.&nbsp;If you select a node, you can see how it works in the <strong>nodes documentation<\/strong> tab.<\/p>\n\n\n\n<p>Nodes have input and\/or output ports to receive and send information to other nodes. For example, a node receives an input from a previous node, processes that information, and outputs a different message to another node that will do something with that information. The information passed between nodes is called a <strong>message<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Flow<\/h4>\n\n\n\n<p>The nodes are the building blocks of a <strong>flow<\/strong>. You wire nodes together to create a flow that will perform a certain task. A <strong>Flow<\/strong> is also a tab in the workspace where you place and organize the nodes.<\/p>\n\n\n\n<p>In the center, you&nbsp;have the <strong>Flow<\/strong>&nbsp;and this is where you place the nodes.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Right Sidebar<\/h4>\n\n\n\n<p>The sidebar at the right has several tools.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Information<\/strong>: shows information about the flows;<\/li>\n\n\n\n<li><strong>Help<\/strong>: shows the nodes&#8217; documentation;<\/li>\n\n\n\n<li><strong>Debug<\/strong>: the bug icon opens a debugging window that shows messages passed to debug nodes\u2014it&#8217;s useful for debugging purposes;<\/li>\n\n\n\n<li><strong>Config nodes<\/strong>: the gear icon shows information about configuration nodes. Configuration nodes do not appear on the main workspace, and they are special nodes that hold reusable configurations that can be shared by several nodes in a flow.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Deploy<\/h4>\n\n\n\n<p>The deploy button saves all changes made to the flow and starts running the flow.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating&nbsp;a simple flow<\/h2>\n\n\n\n<p>To get you used to the Node-RED interface, let&#8217;s create a simple flow. The flow we&#8217;ll create, simply prints a message to the debug console, when triggered.<\/p>\n\n\n\n<p>Drag an <strong>inject<\/strong> node and a <strong>debug<\/strong> node to your flow and wire them together.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"433\" height=\"70\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-debug-flow.png?resize=433%2C70&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED debug flow\" class=\"wp-image-111789\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-debug-flow.png?w=433&amp;quality=100&amp;strip=all&amp;ssl=1 433w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-debug-flow.png?resize=300%2C48&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 433px) 100vw, 433px\" \/><\/figure><\/div>\n\n\n<p>Now, let\u2019s edit the inject node. Double-click the node. In the figure below, you can see&nbsp;the different settings you can change.<\/p>\n\n\n\n<p>On the <span class=\"rnthl rntliteral\">msg.payload<\/span> field, select string and type <span class=\"rnthl rntliteral\">Hello<\/span>. Then, click <strong>Done<\/strong>. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"557\" height=\"496\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-edit-inject-node.png?resize=557%2C496&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED Edit Inject Node\" class=\"wp-image-111790\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-edit-inject-node.png?w=557&amp;quality=100&amp;strip=all&amp;ssl=1 557w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-edit-inject-node.png?resize=300%2C267&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/figure><\/div>\n\n\n<p>Messages (<span class=\"rnthl rntliteral\">msg<\/span>) in Node-RED are javascript objects that can have multiple properties. The <span class=\"rnthl rntliteral\">payload<\/span> is the default property most nodes work with. You can think of it as the main content of the message you want to send to the next node. In our case, we&#8217;re simply sending a text message.<\/p>\n\n\n\n<p>We won&#8217;t edit the debug node, but you can double-click on it to check its properties.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"336\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-edit-debug-node.png?resize=496%2C336&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED debug node\" class=\"wp-image-111791\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-edit-debug-node.png?w=496&amp;quality=100&amp;strip=all&amp;ssl=1 496w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-edit-debug-node.png?resize=300%2C203&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 496px) 100vw, 496px\" \/><\/figure><\/div>\n\n\n<p>You can select the output of the debug node, which is <span class=\"rnthl rntliteral\">msg.payload<\/span> and where we want to send that output. In our case, we want to send it to the debug window.<\/p>\n\n\n\n<p>To save your application, you need to click the <strong>Deploy<\/strong> button in the top right corner.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"136\" height=\"35\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-deploy-button.png?resize=136%2C35&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED deploy button\" class=\"wp-image-111792\"\/><\/figure><\/div>\n\n\n<p>Your application is saved.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Testing the flow<\/h3>\n\n\n\n<p>Let\u2019s test our simple flow. Open the <strong>debug<\/strong> window and click the&nbsp;<strong>inject<\/strong> node&nbsp;to trigger the flow.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"536\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Hello-world-example.png?resize=912%2C536&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED Hello World Example\" class=\"wp-image-111793\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Hello-world-example.png?w=912&amp;quality=100&amp;strip=all&amp;ssl=1 912w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Hello-world-example.png?resize=300%2C176&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-Hello-world-example.png?resize=768%2C451&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 912px) 100vw, 912px\" \/><\/figure><\/div>\n\n\n<p>As you can see, our message is printed in the <strong>debug<\/strong> window when you trigger the inject node. This is a very basic example and it doesn\u2019t do anything useful. However,&nbsp;the purpose of this post&nbsp;is&nbsp;to get you familiar with the Node-RED interface. In no time, you&#8217;ll start creating your own flows.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Exporting and Importing Nodes<\/h2>\n\n\n\n<p>In this section, you&#8217;ll learn how to save your nodes. This is useful if you need&nbsp;to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Backup<\/strong>&nbsp;your Node-RED flow<\/li>\n\n\n\n<li><strong>Move<\/strong>&nbsp;your flow to another Raspberry Pi (or machine)<\/li>\n\n\n\n<li><strong>Share<\/strong>&nbsp;your&nbsp;Node-RED project&nbsp;with others<\/li>\n<\/ul>\n\n\n\n<p>Open the main menu, and select the <strong>Export <\/strong>option.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"536\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-export-nodes.png?resize=917%2C536&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED export nodes\" class=\"wp-image-111799\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-export-nodes.png?w=917&amp;quality=100&amp;strip=all&amp;ssl=1 917w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-export-nodes.png?resize=300%2C175&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-export-nodes.png?resize=768%2C449&amp;quality=100&amp;strip=all&amp;ssl=1 768w\" sizes=\"(max-width: 917px) 100vw, 917px\" \/><\/figure><\/div>\n\n\n<p>A new window opens. You can select if you want to save the selected nodes, the current flow, or all flows. You can also download the nodes as a JSON file or copy the JSON to the clipboard.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"451\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/export-nodes-node-red.png?resize=703%2C451&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED export nodes window\" class=\"wp-image-111800\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/export-nodes-node-red.png?w=703&amp;quality=100&amp;strip=all&amp;ssl=1 703w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/export-nodes-node-red.png?resize=300%2C192&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/figure><\/div>\n\n\n<p>To show you how it works, click on <strong>Download <\/strong>for the selected nodes. It will download a JSON file called <span class=\"rnthl rntliteral\">flows.json<\/span>. <\/p>\n\n\n\n<p>You can import those nodes later to another Raspberry Pi or another machine with Node-RED installed, by going to the main menu and selecting the <strong>Import <\/strong>option.<\/p>\n\n\n\n<p>On the <strong>Import nodes<\/strong> window, you can upload a JSON file or paste raw JSON.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"392\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/import-flow-node-red.png?resize=703%2C392&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Import flow Node-RED\" class=\"wp-image-111812\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/import-flow-node-red.png?w=703&amp;quality=100&amp;strip=all&amp;ssl=1 703w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/import-flow-node-red.png?resize=300%2C167&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Installing Pallete Nodes<\/h2>\n\n\n\n<p>As we&#8217;ve seen previously, Node-RED comes with a bunch of pre-installed nodes on the Pallete (left sidebar). There are many more nodes available that you can install and use for your projects. You can find them in the <a href=\"https:\/\/flows.nodered.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Node-RED library<\/a>. If you need some specific task for your project, there&#8217;s probably already a node for that.<\/p>\n\n\n\n<p>For example, if you need to add the feature to send an email to your flow, you can google something like this: &#8220;send email node-red node&#8221;. One of the first search results is this page with the <a href=\"https:\/\/flows.nodered.org\/node\/node-red-node-email\" target=\"_blank\" rel=\"noreferrer noopener\">node-red-node-email<\/a>. It comes with some nodes to send and receive emails.<\/p>\n\n\n\n<p>If you want to install those nodes (or any other nodes) so that you can use them on your flow, go to the main menu and select the option <strong>Manage palette<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"259\" height=\"547\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-manage.palette.png?resize=259%2C547&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED manage palette\" class=\"wp-image-111814\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-manage.palette.png?w=259&amp;quality=100&amp;strip=all&amp;ssl=1 259w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-manage.palette.png?resize=142%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 142w\" sizes=\"(max-width: 259px) 100vw, 259px\" \/><\/figure><\/div>\n\n\n<p>The following window will open. Select the install tab and search for the nodes you want to install, for example, <span class=\"rnthl rntliteral\">node-red-node-email<\/span>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"264\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Install-Node-RED-Nodes.png?resize=704%2C264&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Install Node-RED Nodes\" class=\"wp-image-111815\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Install-Node-RED-Nodes.png?w=704&amp;quality=100&amp;strip=all&amp;ssl=1 704w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Install-Node-RED-Nodes.png?resize=300%2C113&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\">Node-RED Dashboard<\/h2>\n\n\n\n<p>Node-RED Dashboard is a module that provides a set of nodes in Node-RED to quickly create a live data dashboard. You can install those nodes using the <strong>Menu <\/strong>&gt; <strong>Manage Palette<\/strong>. Then, search for <span class=\"rnthl rntliteral\">node-red-dashboard<\/span> and install it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"377\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Install-Node-RED-dashboard-palette.png?resize=697%2C377&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Install Node-RED dashboard palette\" class=\"wp-image-111817\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Install-Node-RED-dashboard-palette.png?w=697&amp;quality=100&amp;strip=all&amp;ssl=1 697w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Install-Node-RED-dashboard-palette.png?resize=300%2C162&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/figure><\/div>\n\n\n<p> After installing, the dashboard nodes will show up on the palette.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"141\" height=\"684\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-dashboard-nodes.png?resize=141%2C684&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"Node-RED dashboard nodes\" class=\"wp-image-111820\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-dashboard-nodes.png?w=141&amp;quality=100&amp;strip=all&amp;ssl=1 141w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Node-RED-dashboard-nodes.png?resize=62%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 62w\" sizes=\"(max-width: 141px) 100vw, 141px\" \/><\/figure><\/div>\n\n\n<p>Nodes from the dashboard section provide widgets that show up in your application user interface (UI). The user interface is accessible on the following URL:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/Your_RPi_IP_address:<strong>1880\/ui<\/strong>\n<\/code><\/pre>\n\n\n\n<p>For example, in my case:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;192.168.1.106:1880\/ui<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"420\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/welcome-node-red-dashboard.png?resize=660%2C420&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"welcome node-red dashboard\" class=\"wp-image-111821\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/welcome-node-red-dashboard.png?w=660&amp;quality=100&amp;strip=all&amp;ssl=1 660w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/welcome-node-red-dashboard.png?resize=300%2C191&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/figure><\/div>\n\n\n<p>At the moment, you&#8217;ll see the previous screen when you access the UI. That&#8217;s because you haven&#8217;t added any of those dashboard nodes to the flow. We won&#8217;t cover how to create a dashboard user interface in this tutorial. If you want to learn more, please read: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/getting-started-with-node-red-dashboard\/\">Getting Started with Node-RED Dashboard<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>This tutorial is a quick getting started guide for Node-RED. You learned how to install Node-RED on a Raspberry Pi, how to create a simple flow, import and export nodes, install nodes and install the Node-RED dashboard.<\/p>\n\n\n\n<p>You can also install Node-RED on a cloud server like Digital Ocean, for example. We have a tutorial about that: <a href=\"https:\/\/randomnerdtutorials.com\/access-node-red-dashboard-anywhere-digital-ocean\/\">Access Node-RED Dashboard from Anywhere using Digital Ocean<\/a>.<\/p>\n\n\n\n<p>You may also like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/install-influxdb-2-raspberry-pi\/\">Install InfluxDB 2 on Raspberry Pi<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/how-to-install-mosquitto-broker-on-raspberry-pi\/\">Install Mosquitto MQTT Broker on Raspberry Pi<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/randomnerdtutorials.com\/what-is-mqtt-and-how-it-works\/\">What is MQTT and How It Works<\/a><\/li>\n<\/ul>\n\n\n\n<p>Node-RED is very useful for IoT projects that use MQTT, so you may want to check all our MQTT projects: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/randomnerdtutorials.com\/?s=MQTT\">MQTT Projects<\/a><\/li>\n<\/ul>\n\n\n\n<p>Thanks for reading.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get started with Node-RED on the Raspberry Pi. Node-RED is a powerful open-source tool for visual programming to build Internet of Things (IoT) applications. In this tutorial, we&#8217;ll cover what &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Getting Started with Node-RED on Raspberry Pi\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/getting-started-node-red-raspberry-pi\/#more-26062\" aria-label=\"Read more about Getting Started with Node-RED on Raspberry Pi\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":111824,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[304,301,273,264,190,268,192],"tags":[],"class_list":["post-26062","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-home-automation","category-0-raspberrypi","category-node-red","category-project","category-raspberry-pi","category-raspberry-pi-project","category-r-tutorials"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2022\/06\/Getting-Started-Node-RED-Raspberry-Pi.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/26062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=26062"}],"version-history":[{"count":7,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/26062\/revisions"}],"predecessor-version":[{"id":132596,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/26062\/revisions\/132596"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/111824"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=26062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=26062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=26062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}