Changes

no edit summary
Line 43: Line 43:  
</pre>
 
</pre>
 
Use the command ''node-red'' to start a local server. Here is how the terminal should look like if the server starts correctly:
 
Use the command ''node-red'' to start a local server. Here is how the terminal should look like if the server starts correctly:
 +
[[File:Server is running node red terminal.png|border|600px|class=tlt-border]]
 +
----
 +
Once you have the local server running, use the local IP and port number in your internet browser. In this case, we are using 127.0.0.1:1880:
 +
[[File:Use server address in web browser.png|border|600px|class=tlt-border]]
   −
----
+
For MQTT usage, we are going to need MQTT-specific nodes. Use the side menu to navigate to Manage Palette section and install these nodes:
Once you have the local server running, use the local IP and port number in your internet browser. In this case, we are using 127.0.0.1:1880. For MQTT usage, we are going to need MQTT-specific nodes. Use the side menu to navigate to Manage Palette section and install these nodes:
   
*node-red-contrib-aedes
 
*node-red-contrib-aedes
 
*node-red-contrib-mqtt-broker
 
*node-red-contrib-mqtt-broker
 +
 +
[[File:Manage palette and download these mqtt nodes.png|border|600px|class=tlt-border]]
 +
 +
==MQTT Gateway==