Node RED Software - GeorgiaTech-DDI/makerspace_iot GitHub Wiki

Node-Red 🚨

We mainly used Node-Red as a platform tool to send data to IoT core through JSON messages. Screen Shot 2023-03-09 at 9 56 30 PM
Basic flow used in Node-Red


Now I'd like to break down each of the images seen in the above _flow_ in this Node-Red window. With help on how to download Node-Red, check out this video for Mac, and this video for Windows.

Breakdown

Screen Shot 2023-03-09 at 10 31 51 PM

The button above is called the inject node . The node above is used to send data to the IoT core. When you click on the button you send a message to wherever it goes to. The message I sent to the IoT core is the following, with the message being in the JSON format:
{ "time_stamp": 30, "amps": 20, "c": 30 }

Screen Shot 2023-03-09 at 10 42 48 PM
The node to the right of the _**inject node**_ is a _**debugging node**_ . The following node can be utilized to check what information in being sent out. On the top right of the node-red window click on the _**bug**_ icon to see what the output is to debug your flow. You can connect the two nodes simply by dragging your mouse from the little grey box to the right of the inject node to the debug node.
Screen Shot 2023-03-09 at 10 50 52 PM
The new purple node you see above is an mqtt **_output node_** .This endpoint is how we will connect to the AWS IoT core.
⚠️ **GitHub.com Fallback** ⚠️