timeSeriesSensor v1.1.1

Gives back the time series data. Resource is etiher provided from the input field, raw data or from the resource assoisated with a node to which this sensor is attached. As from version 1.1.0. it uses waylay nmp package (sandbox 0.14.0)

You can specify from (epoch time in milliseconds) and to (it can be omitted, then it will take the current time). If from is omitted it will query all data. You can get data on which already grouping and/or aggregation is computed. Aggregation:

  • mean
  • medium

  • min
  • max
  • sum
Grouped by:
  • none (just skip in the query)
  • auto
  • second
  • minute
  • hour
  • day
  • week

Required properties:

  • resource
  • metric
  • from
  • to
  • aggregate
  • grouping

External Settings:

  • waylay_data

States:

  • Collected
  • Not Collected

Raw data:

  • series (object[])
  • query (double)