Node-RED: Lecture 3 – Example 3.3 Using a change node to change or manipulate a message payload

Another useful node is the change node, which will allow you to change a message payload or add new properties. You can use this node to affect the properties in a message, either by changing existing ones, deleting them or adding new properties.

Continue reading “Node-RED: Lecture 3 – Example 3.3 Using a change node to change or manipulate a message payload”

Node-RED: Lecture 3 – Example 3.2 Using the switch node to handle a JSON object

This example continues to use the MQTT node we setup in Example 3.1. If you aren’t following these examples sequentially you may want to review example 3.1 as it shows how to use the free MQTT broker, HiveMQ which we are using  for the MQTT node in these examples.

Continue reading “Node-RED: Lecture 3 – Example 3.2 Using the switch node to handle a JSON object”