JSON is popular format for encoding data sent over the Internet, and also stored in files. In computing, JavaScript Object Notation (JSON) is an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value). –wiki Click to rate this post! [Total: 2 Average: 4]
Continue readingCategory: programming
A list of node-red programming related posts
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 readingStoring Data in Node-Red Variables
Node-red nodes pass the msg object between nodes. However this object is replaced by the next msg object. So how do you store data between node calls? Node-Red provides three mechanisms: The context object -stores data for a node The Flow object – stores data for a flow The global object -stores data for the canvas Click to rate this post! [Total: 9 Average: 4.9]
Continue readingUnderstanding and Using The Node-Red Message Object
A node red flow consists of a series of interconnected nodes.(wired nodes). All nodes must have an input and can have 0 or multiple outputs. Nodes exchange data between each other using the msg object. Click to rate this post! [Total: 3 Average: 5]
Continue reading