The first step is selecting the devices to query. The node has two options for selecting devices:

You can specifically select a set of devices to query.

You can define a payload path to pull one or more Device IDs off of the current workflow payload to query.

In the example above, the first option is being used, and the node will query all devices whose tag floor is equal to 2.

The second option allows a workflow to dynamically change what specific devices are being queried depending on the payload currently being processed.

The Data: Time Series Node also needs to know the attribute, the time range, the resolution, and what aggregation to use for the query. The available resolutions will vary depending on the selected time range, just like the Time Series Dashboard Block. In the above example, the attribute kwattHours will be queried over the last 24 hours with a one-hour resolution using a SUM aggregation.

Once the query is configured, the node needs a payload path to know where to store the result on the current workflow payload. The value placed at that path will be an array of points: