getAverageFromTS v1.1.1

by Veselin

Get average value from the time series database. 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)

Input arguments are:

  • resource
  • metric
  • hours, past number of hours, default 1 hour
    • Required properties:

      • resource
      • metric
      • hours

      External Settings:

      • waylay_data


      • Collected
      • Not Collected

      Raw data:

      • data (object[])
      • avg (double)
      • count (double)