<?xml version="1.0" encoding="UTF-8"?>
<!-- Devolo Door/Window Contact MT 02648
http://products.z-wavealliance.org/products/1130
 -->
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="3">
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value type="byte" index="2" genre="config" label="Basic Set Level" min="0" max="255" value="255">
      <Help>
          Setting the BASIC command value to turn on the light.
          0 Send Basic Set Off.
          255 Send Basic Set On.
          1 to 99 Send Basic Set Level between 1 and 99.
	  </Help>
    </Value>	
    <Value type="byte" index="4" genre="config" label="Light threshold" min="0" max="100" value="99">
      <Help>
          Setting the illumination threshold to turn on the light. When the event triggered and the environment illumination lower than 
          the threshold, the device will turn on the light.
          0 means turn off illumination detected function and never turn on the light.
          1 means darkest.
          99 means brightest.
          100 means turn off illumination detected function. And always turn on the light.
          * Notice * in none test mode, only the value in 1 to 99 will enable the illumination detected function and update the illumination value.
       </Help>
    </Value>	
    <Value type="byte" index="5" genre="config" label="Operation Mode" min="0" max="255" value="0">
       <Help>
           2 Bit Mask - When 1, Test Mode is Enabled, When 0, Test Mode is Disabled.
           4 Bit Mask - When 1, Door/Window function is Disabled, When 0, Door/Window function is Enabled.
           8 Bit Mask - When 1, Temperature Scale is Celsius, When 0, Temperature Scale is Fahrenheit.
           16 Bit Mask - When 1, Illumination Report after event trigger is not sent, When 0, illumination report after trigger is sent.
           32 Bit Mask - When 1, Temperature report after trigger is not sent, When 0, temperature report after trigger is sent.
           64 Reserved.
           128 Bit Mask - When 1, Back key release into test mode is disabled, when 0, back key into test mode is enabled.
       </Help>
    </Value>
    <Value type="byte" index="6" genre="config" label="Multi-Sensor Function Switch" min="0" max="255" value="4">
       <Help>
           0 to 1 Bit Mask, When 1, Door opening will not send a signal to the nodes in association group 2, When 0, door opening will cause the lights in association group 2 to be sent a control signal.
           2 to 15 Reserved.
           16 Bit Mask, When 1, Disable the 5 second delay before turning off the light when the door is closed, When 0, enable a 5 second delay before turning off the light when the door is closed.
           32 Bit Mask, When 1, the automatic turn-off of the light after the light is turned on by a door opening, When 0, the light that is turned on by the door opening will be automatically turned off.
           64 to 255 Reserved.
	  </Help>
    </Value>
    <Value type="byte" index="7" genre="config" label="Customer Function" min="0" max="255" value="4">
       <Help>
           0 to 7 Reserved.
           8 Bit Mask, When 1, BASIC SET OFF is not sent when the door is closed, When 0, BASIC SET OFF is sent when the door is closed.
           16 Bit Mask, When 1, Door Opening is reported using Sensor Binary, When 0, Door Opening is reported using Notification Report.
           32 Bit Mask, When 1, Multi CC is Disabled, When 0, Multi CC is Enabled.
           64 Bit Mask, When 1, the battery state is not sent when the device is triggered, when 0, the battery state is sent when the device is triggered.
           255 Reserved.
       </Help>
    </Value>
    <Value type="byte" index="9" genre="config" label="Turn Off Light Time" units="8 sec" min="0" max="127" value="4">
       <Help>
          After turn on the lighting, setting the delay time to turn off the lighting when the PIR motion is not detected. 
          8 seconds per tick, default tick is 4 (32 seconds). 0 means never send turn off light command.
       </Help>
    </Value> 
    <Value type="byte" index="10" genre="config" label="Auto Report Battery Time" units="30 min" min="0" max="127" value="12">
      <Help>
          The interval time for auto report the battery level. 0 means turn off auto report battery. The default value is 12. The tick time can setting by the configuration No.20.
      </Help>
    </Value>
    <Value type="byte" index="11" genre="config" label="Auto Report Door/Window State Time" units="30 min" min="0" max="127" value="12">
      <Help>
          The interval time for auto report the door/window state. 0 means turn off auto report door/window state. The default value is 12. The tick time can setting by the configuration No.20.
      </Help>
    </Value> 
    <Value type="byte" index="12" genre="config" label="Auto Report Illumination Time" units="30 min" min="0" max="127" value="12">
      <Help>
          The interval time for auto report the illumination. 0 means turn off auto report illumination. The default value is 12. The tick time can setting by the configuration No.20.
      </Help>
    </Value> 
    <Value type="byte" index="13" genre="config" label="Auto Report Temperature time" units="30 min" min="0" max="127" value="12">
      <Help>
          The interval time for auto report the temperature. 0 means turn off auto report temperature. The default value is 12. The tick time can setting by the configuration No.20.
      </Help>
    </Value> 
    <Value type="byte" index="20" genre="config" label="Auto Report Tick Interval" min="0" max="255" value="30">
      <Help>
          The interval time for auto report each tick. Setting this configuration will effect configuration No.10, No.11, No.12 and No.13. Caution: Setting to 0 means turn off all auto report function.
      </Help>
    </Value>
    <Value type="byte" index="21" genre="config" label="Temperature Differential Report" min="0" max="255" value="1">
      <Help>
          The temperature differential to report. 0 means turn off this function. The unit is Fahrenheit. Enable this function the device will detect every minutes. And when the temperature is over 140 degree Fahrenheit, it will continue report. Enable this functionality will cause some issue please see the detail in the "Temperature Report" section.
      </Help>
    </Value> 
    <Value type="byte" index="22" genre="config" label="Illumination Differential Report" min="0" max="255" value="0">
      <Help>
          The illumination differential to report.0 means turn off this function. The unit is percentage. Enable this function the device will detect every minutes. Enable this functionality will cause some issue please see the detail in the "Illumination Report" section.
      </Help>
    </Value> 
  </CommandClass> 
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="2">
      <Group index="1" max_associations="8" label="Lifeline" />
      <Group index="2" max_associations="8" label="Light Control" />
    </Associations>
  </CommandClass>
</Product>
