IoTDevice

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.

Services

EnergyService

The EnergyService provides a list of actions for the energy usage and energy profiles of devices. Below is a short explanation of theseĀ  actions:


GetCurrentUsage
Returns the current effect for the device in its current operating mode


GetTotalUsage
Returns the total energy consumption for the device


GetDeviceEnergyPolicy
Returns the current energy policy assigned to the device


GetEnergyMode
Returns the current mode energy mode for the device


GetEnergyPolicyStatus
Returns the status for the different properties expressed in the energy policy


GetEnergyProfile
Returns the current energy profile assigned to the device


GetEnergyClass
Returns the current energy class for the device including the classification system


GetRemainingLifeTime
Returns the estimated current remaining lifetime for the device


GetMaxEffect
Returns the max effect value for the current operating mode of the device


GetMinEffect
Returns the min effect value for the current operating mode of the device


GetAverageEffect
Returns the average effect value for the current operating mode of the device


SetDeviceEnergyPolicy
Argument:
Sets the current energy policy to the device


SetDeviceEnergyPolicyFromURL
Argument:
Sets the current energy policy to the device from an URL


SetEnergyProfile
Argument:
Sets the current energy profile to the device


SetEnergyProfileFromURL
Argument:
Returns the current energy profile to the device from an URL