Revision for “IoTDevice” created on February 28, 2015 @ 10:51:03
Title | IoTDevice |
---|---|
Content | An IoT Resource type used to represent any physical device that can be accessed and controlled by some communication interface. Typical sub-resource types are metering devices like smart plugs, UPnP-based devices like TV:s, routers, media players in a local network, Zigbee-based devices and Bluetooth-based devices like health monitoring equipment.
The IoTDevice resource provides a common energy service for presenting data related to the device energy consumption, this could either be derived from real measurementsor from energy profiles associated with the device.
<h2>Services</h2>
<h3><strong>EnergyService</strong></h3>
The EnergyService provides a list of actions for the energy usage and energy profiles of devices. Below is a short explanation of these actions:
<hr />
<strong>GetCurrentUsage</strong>
Returns the current effect for the device in its current operating mode
<hr />
<strong>GetTotalUsage</strong>
Returns the total energy consumption for the device
<hr />
<strong>GetDeviceEnergyPolicy</strong>
Returns the current energy policy assigned to the device
<hr />
<strong>GetEnergyMode</strong>
Returns the current mode energy mode for the device
<hr />
<strong>GetEnergyPolicyStatus</strong>
Returns the status for the different properties expressed in the energy policy
<hr />
<strong>GetEnergyProfile</strong>
Returns the current energy profile assigned to the device
<hr />
<strong>GetEnergyClass</strong>
Returns the current energy class for the device including the classification system
<hr />
<strong>GetRemainingLifeTime</strong>
Returns the estimated current remaining lifetime for the device
<hr />
<strong>GetMaxEffect</strong>
Returns the max effect value for the current operating mode of the device
<hr />
<strong>GetMinEffect</strong>
Returns the min effect value for the current operating mode of the device
<hr />
<strong>GetAverageEffect</strong>
Returns the average effect value for the current operating mode of the device
<hr />
<strong>SetDeviceEnergyPolicy</strong>
Argument:
Sets the current energy policy to the device
<hr />
<strong>SetDeviceEnergyPolicyFromURL</strong>
Argument:
Sets the current energy policy to the device from an URL
<hr />
<strong>SetEnergyProfile</strong>
Argument:
Sets the current energy profile to the device
<hr />
<strong>SetEnergyProfileFromURL</strong>
Argument:
Returns the current energy profile to the device from an URL
<hr />
|
Excerpt |