java.lang.Object
org.openremote.agent.protocol.tradfri.device.DeviceProperties
org.openremote.agent.protocol.tradfri.device.DeviceInfo

public class DeviceInfo extends DeviceProperties
The class that contains the information of an IKEA TRÃ…DFRI device
  • Constructor Details

    • DeviceInfo

      public DeviceInfo()
      Construct the DeviceInfo class
  • Method Details

    • getManufacturer

      public String getManufacturer()
      Get the manufacturer of the device
      Returns:
      The manufacturer of the device
    • getModelName

      public String getModelName()
      Get the model name of the device
      Returns:
      The model name of the device
    • getSerial

      public String getSerial()
      Get the serial of the device
      Returns:
      The serial of the device
    • getFirmwareVersion

      public String getFirmwareVersion()
      Get the firmware version of the device
      Returns:
      The firmware version of the device
    • getBatteryLevel

      public Integer getBatteryLevel()
      Get the battery level of the device
      Returns:
      The battery level of the device
    • setManufacturer

      public void setManufacturer(String manufacturer)
      Set the manufacturer of the device
      Note: This does not change the actual device
      Parameters:
      manufacturer - The new manufacturer of the device
    • setModelName

      public void setModelName(String modelName)
      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

      public void setSerial(String serial)
      Set the serial of the device
      Note: This does not change the actual device
      Parameters:
      serial - The new serial of the device
    • setFirmwareVersion

      public void setFirmwareVersion(String firmwareVersion)
      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

      public void setBatteryLevel(Integer batteryLevel)
      Set the battery level of the device
      Note: This does not change the actual device
      Parameters:
      batteryLevel - The new battery level of the device