DeviceId
(DeviceIdType)
Unique identification of the device.
Type: DeviceIdType
Type for unique device IDs.
A device ID consists of a vendor ID type (VID type), a vendor ID (VID), a serial number and sub-device ID.
The vendor ID should be globally unique. For this purpose either IANA PEN or IEEE OUI (known from MAC addresses) should be used. Although it is possible to define non-globally unique vendor IDs this option must not be used for products.
The kind of vendor ID is defined by the vendor ID type. The following types are defined:
- 0x0: IANA PEN (32 bit, Format: 0xXXXXXXXX)
- 0x1: IEEE OUI (24 bit, Format: 0x00XXXXXX)
- 0xF: non-unique ID in local address space (32 bit). IMPORTANT: Use only for demos, examples or testing, not for products.
The serial number can be freely defined by the vendor as it specific to the vendor's address space. It must be unique for each of the vendor's devices.
The sub-device ID can be used to point out, that a physical device consists of multiple virtual devices. The virtual device with sub-device ID 0 should be the main device. This information is only used to group devices in GUIs at the moment.
Format: [VID Type:4bit]-[VID:32bit]-[Serial:48bit]-[SubDev-ID:8bit]
Example 1: "0-00008CAD-112233445566-00" (IANA PEN: 36013)
Example 2: "F-11223344-112233445566-00" (local address, only for testing, demos, examples)
Pattern:
[a-fA-F0-9]{1}-[a-fA-F0-9]{8}-[a-fA-F0-9]{12}-[a-fA-F0-9]{2}
EarliestStart
(RelOrAbsTimeType)
Represents the earliest possible time the device can be switched on by the EM.
The combination of EarliestStart and LatestEnd specifies the interval in which the requested runtime or energy has to be allocated by the EM.
Type: RelOrAbsTimeType
Type representing timestamps that can either be relative (seconds relative to the current point of time) or absolute (Unix timestamp UTC in seconds since 01.01.1970).
The device specifies the interpretation globally with the DeviceInfo.Capabilities.Timestamps element.
Devices that do not have a synchronized clock (with time server protocols like NTP or radio control like DCF77) or do not have a reliable absolute time source should use relative timestamps.
LatestEnd
(RelOrAbsTimeType)
Represents the latest possible end time the requested minimum runtime (MinRunningTime) must be allocated to the device. This means at the given time the device operation must be finished. If a runtime was requested, the latest possible start of operation is LatestEnd-MinRunningTime.
The combination of EarliestStart and LatestEnd specifies the interval in which the requested runtime or energy has to be allocated by the EM.
Type: RelOrAbsTimeType
Type representing timestamps that can either be relative (seconds relative to the current point of time) or absolute (Unix timestamp UTC in seconds since 01.01.1970).
The device specifies the interpretation globally with the DeviceInfo.Capabilities.Timestamps element.
Devices that do not have a synchronized clock (with time server protocols like NTP or radio control like DCF77) or do not have a reliable absolute time source should use relative timestamps.
MinRunningTime
(xs:int)
Minimum running time within the timeframe in seconds.
If MinRunningTime is 0, the operation of the device in this timeframe is optional.
Defaults to 0 if MaxRunningTime is set.
Type: xs:int
MaxRunningTime
(xs:int)
Maximum running time within the timeframe in seconds.
If MinRunningTime equals MaxRunningTime, all of the given runtime is required.
If MinRunningTime is lower than MaxRunningTime, the amount of runtime given by MinRunningTime is required. The
runtime difference between MinRunningTime and MaxRunningTime is optional. That means that the EM will only assign the optional
runtime to the device if certain conditions like ecological constraints and/or price of energy are met.
Defaults to MinRunningTime if MinRunningTime is set.
Type: xs:int