Node-Red – Storing IOT Data in a SQL Database

IOT data from sensors and other devices usually comes as either a text string usually with key value pairs or more commonly as JSON encoded data. Databases accept a variety of data formats the most common are INT and TEXT. Click to rate this post! [Total: 3 Average: 5]

Continue reading

Using the Node Red Status Node

In Node red any node can report status information in the visual editor. The screen shot below shows the MQTT node. It shows a green circle to indicate that it is connected and the text connected underneath the node. Click to rate this post! [Total: 1 Average: 5]

Continue reading

Node-Red HTTP Request Node for Beginners

In node-red there are three core http nodes. http-in -Used to configure a web server http response – used with http-in to send responses. http request – used for making http requests i.e an http client. The http request node can be used for. Retrieving web pages from a website Making API Requests Sending and receiving JSON data to a website or API. etc The node will send a request and receive the response. The request node handles both the request and theĀ  response. Note: if you are not familiar with the http protocol then I suggest you read the http basics tutorial. Click to rate this post! [Total: 3 Average: 5]

Continue reading

Using the Node-Red Function Node- Beginners Guide

The function node is used to run JavaScript code against the msg object. The function node accepts a msg object as input and can return 0 or more message objects as output. This message object must have a payload property (msg.payload), and usually has other properties depending on the proceeding nodes. Click to rate this post! [Total: 6 Average: 4.3]

Continue reading