The Sequencing widget is available with SmartServer 2.8 and higher.
The Sequencing widget allows SmartServer CMS users to create 'sequence of operations' (also known as flows) to automate everyday processes and create instrument panels and dashboards for visualization. The Sequencing widget leverages Node-RED, an open-source, flow-based, programming tool. Node-RED provides the ability to create flows using function blocks called 'nodes' and a web-based user interface for connecting the nodes, eliminating the need to write code. A ready-to-use library of nodes allows you to quickly start creating sequences or flows that contain custom logic and/or display information on a web pages with UI elements for creating dashboards and visualization.
The SmartServer provides some custom built nodes for Node-RED (called IAP Input and IAP Output nodes) that allow you to interact with datapoints that exist in SmartServer. In addition, the Sequencing widget allows you to easily apply contexts within the SmartServer to flows in Node-RED in order to deploy those flows in a real world systems. This tutorial helps you get started using the SmartServer CMS Sequencing widget.
Flows are Node-RED terminology for the drag-and-drop programming interface where nodes are linked together in a wire-sheet to create a sequence of operations or visualization. They were invented for programming IoT systems and is ideally suited for the types of custom programming that SmartServer users need to create.
Dataflows consist only of Node-RED flows/sub-flows without a supporting web page, graphical user interface (GUI). Dataflows are used to create custom control logic for automating workflows.
Webflows consist of both the Node-RED flows/sub-flows and a supporting webpage GUI, which creates a custom, web design for facility management and operations, exposing monitoring, alarming, and metric-driven dashboards and control panels.
This section consists of the following:
This tutorial comprises the sections and exercises listed below with the goal of helping you understand the basics of Node-RED and the Sequencing widget so that you can start to create your own flows using the SmartServer IoT. It is recommended that you proceed class-by-class, completing the exercises for each class, as follows:
Class 1: Node-RED Primer
Exercise 1.1 – Basic Node-RED Flow
Exercise 1.2 – Basic Node-RED Dashboard Flow
Class 2: IAP Nodes
Exercise 2.1 – Using IAP Nodes
Class 3: Dataflows
Exercise 3.1 – Creating a Dataflow
Exercise 3.2 – Replicating a Dataflow
Class 4: Webflows
VAV Instrumentation Dashboard with UI Control Elements
The examples in this tutorial are based on the SmartServer IoT Starter Kit and will demonstrate the use of the Sequencing widget. Please contact your EnOcean sales representative if you need access to a Starter Kit.