Class DeviceInfo
java.lang.Object
org.openremote.agent.protocol.tradfri.device.DeviceProperties
org.openremote.agent.protocol.tradfri.device.DeviceInfo
The class that contains the information of an IKEA TRÃ…DFRI device
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the battery level of the deviceGet the firmware version of the deviceGet the manufacturer of the deviceGet the model name of the deviceGet the serial of the devicevoidsetBatteryLevel(Integer batteryLevel) Set the battery level of the device
Note: This does not change the actual devicevoidsetFirmwareVersion(String firmwareVersion) Set the firmware version of the device
Note: This does not change the actual devicevoidsetManufacturer(String manufacturer) Set the manufacturer of the device
Note: This does not change the actual devicevoidsetModelName(String modelName) Set the model name of the device
Note: This does not change the actual devicevoidSet the serial of the device
Note: This does not change the actual deviceMethods inherited from class org.openremote.agent.protocol.tradfri.device.DeviceProperties
getInstanceId, setInstanceId
-
Constructor Details
-
DeviceInfo
public DeviceInfo()Construct the DeviceInfo class
-
-
Method Details
-
getManufacturer
Get the manufacturer of the device- Returns:
- The manufacturer of the device
-
getModelName
Get the model name of the device- Returns:
- The model name of the device
-
getSerial
Get the serial of the device- Returns:
- The serial of the device
-
getFirmwareVersion
Get the firmware version of the device- Returns:
- The firmware version of the device
-
getBatteryLevel
Get the battery level of the device- Returns:
- The battery level of the device
-
setManufacturer
Set the manufacturer of the device
Note: This does not change the actual device- Parameters:
manufacturer- The new manufacturer of the device
-
setModelName
Set the model name of the device
Note: This does not change the actual device- Parameters:
modelName- The new model name of the device
-
setSerial
Set the serial of the device
Note: This does not change the actual device- Parameters:
serial- The new serial of the device
-
setFirmwareVersion
Set the firmware version of the device
Note: This does not change the actual device- Parameters:
firmwareVersion- The new firmware version of the device
-
setBatteryLevel
Set the battery level of the device
Note: This does not change the actual device- Parameters:
batteryLevel- The new battery level of the device
-