IoTSensor

An IoT Resource type used to describe a sensor, such as brightness, thermometer, humidity sensors etc. The IoT Sensor provides a common sensor service for presenting data.

Services

Sensor service

The SensorService provides a list of actions for accessing sensor data and setting sensor parameters.  Sensor data refers to: IoTProperty concerned, the Observations for this property, and, the values of these observations.


GetIoTProperty
Returns the IoT Property (IoT Property content model) with the latest observation


GetMaxObservation
Returns the maximum observation (highest value)


GetMinObservation
Returns the minimum observation (lowest value)


GetObservation,
Returns the latest IoT State Observation  (Observation content model)


GetObservationValue
Returns the value of the latest observation


GetReportingThreshold
Returns the reporting threshold set for the IoT Sensor


SetReportingThreshold
Argument:
Set the reporting threshold set for the IoT Sensor