- Identify the activities to be performed, for example:
- Periodically activate the flow.
- Call a gateway to get data.
- Verify the correctness of data.
- Enrich the data with other information coming from Cloud data into the storage.
- Transform the data in the correct format.
- Send the data into the Broker, and thus send the data in the storage on a specific entity Instance / IoT Device.
- Send also a notification via email.
- Sketch a data flow diagram (see the figure below here [left side]).
- Implement the sketch on processing low using Node-RED nodes, Snap4City lib of nodes and other libraries of nodes. (see the figure below here [right side]).
- Deploy and test using DEBUG node in any stream you like, using also on/off to avoid deploy all time.
Figure – Single Processing Logic Independent flow: (left) design,
(right) actual implementation in Snap4City of the flow in Node-Red tool.