Revision for “IoTSensor” created on December 17, 2014 @ 12:55:28
Title | IoTSensor |
---|---|
Content | 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.
<h2>Services</h2>
<h3><strong>Sensor service</strong></h3>
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.
<hr />
<strong>GetIoTProperty</strong>
Returns the IoT Property (<a title="Content Model" href="http://www.iotworldservices.com/wiki/iotworldserviceswiki/getting-and-setting-data-for-iotentities-using-events-and-rest/iotentity-content-model/">IoT Property content model</a>) with the latest observation
<hr />
<strong>GetMaxObservation</strong>
Returns the maximum observation (highest value)
<hr />
<strong>GetMinObservation</strong>
Returns the minimum observation (lowest value)
<hr />
<strong>GetObservation,</strong>
Returns the latest IoT State Observation (<a title="IoTObservation" href="http://www.iotworldservices.com/wiki/iotworldserviceswiki/iot-resource/services-and-actions/iotobservation/">Observation content model</a>)
<hr />
<strong>GetObservationValue</strong>
Returns the value of the latest observation
<hr />
<strong>GetReportingThreshold</strong>
Returns the reporting threshold set for the IoT Sensor
<hr />
<strong>SetReportingThreshold</strong>
Argument:
Set the reporting threshold set for the IoT Sensor
<hr />
|
Excerpt |