<?xml version="1.0" encoding="utf-8"?>

<Product xmlns='http://code.google.com/p/open-zwave/'>
  <!-- Configuration -->
  <CommandClass id="112">
    <Value type="list" genre="config" instance="1" index="1" label="1. Enable/Disable ALL ON/OFF" size="1" value="255">
      <Help>Activate/Deactive ALL ON/OFF</Help>
      <Item label="ALL ON disabled/ ALL OFF disabled" value="0" />
      <Item label="ALL ON disabled/ ALL OFF active" value="1" />
      <Item label="ALL ON active / ALL OFF disabled" value="2" />
      <Item label="ALL ON active / ALL OFF active" value="255" />
    </Value>
    <Value type="list" genre="config" instance="1" index="6" label="6. Associations command class choice" size="1" value="0">
      <Help>Choose which command classes are sent to associated devices.</Help>
      <Item label="Normal (Dimmer) - BASIC SET/SWITCH_MULTILEVEL_START/STOP" value="0" />
      <Item label="Normal (RGBW) - COLOR_CONTROL_SET/START/STOP_STATE_CHANGE" value="1" />
      <Item label="Normal (RGBW) - COLOR_CONTROL_SET" value="2" />
      <Item label="Brightness - BASIC SET/SWITCH_MULTILEVEL_START/STOP" value="3" />
      <Item label="Rainbow (RGBW) - COLOR_CONTROL_SET" value="4" />
    </Value>
    <Value type="list" genre="config" instance="1" index="8" label="8. Outputs state change mode" size="1" value="0">
      <Help>Choose the behaviour of transitions between different levels.</Help>
      <Item label="MODE 1 - Constant Speed (speed is defined by parameters 9 and 10)" value="0" />
      <Item label="MODE 2 - Constant Time (RGB/RBGW only. Time is defined by parameter 11)" value="1" />
    </Value>
    <Value type="byte" genre="config" instance="1" index="9" label="9. Dimming step value (for MODE 1)" min="1" max="99" units="" value="1">
      <Help>Size of the step for each change in level during the transition.</Help>
    </Value>   
    <Value type="short" genre="config" instance="1" index="10" label="10. Time between dimming steps (for MODE 1)" min="0" max="60000" units="ms" value="10">
      <Help>Time between each step in a transition between levels.  Setting this to zero means an instantaneous change.</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="11" label="11. Time to complete the entire transition (for MODE 2)" min="0" max="255" units="" value="67">
      <Help>0 - immediate change; 1->63: 20ms->126ms (value*20ms); 65->127: 1s->63s (value-64)*1s; 129->191: 10s->630s (value-128)*10s; 193->255: 1min->63min (value-192)*1min.  Default setting: 67 (3s)</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="12" label="12. Maximum dimmer level" min="3" max="255" units="" value="255">
      <Help>Maximum brightness level for the dimmer</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="13" label="13. Minimum dimmer level" min="2" max="255" units="" value="2">
      <Help>Minimum brightness level for the dimmer</Help>
    </Value>
    <Value type="short" genre="config" instance="1" index="14" label="14. Inputs / Outputs configuration" value="4369">
      <Help>This is too complex to describe here, since this value is built up from 4-bits for each of the 4 channels.  Refer to the table in the product manual.  Default value is 4369 (1111 in hex).</Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="16" label="16. Saving state before power faillure" size="1" value="1">
      <Help>Saving state before power faillure</Help>
      <Item label="State NOT saved at power failure, all outputs are set to OFF upon power restore" value="0"/>
      <Item label="State saved at power failure, all outputs are set to previous state upon power restore" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="30" label="30. Alarm" size="1" value="3">
      <Help>Alarm of any type (general alarm, water flooding alarm, smoke alarm: CO, CO2, temperature alarm).  Default setting 0 (Inactive)</Help>
      <Item label="INACTIVE - no response to alarm frames" value="0"/>
      <Item label="ALARM ON - the device turns on once alarm is detected (all channels set to 99%)" value="1"/>
      <Item label="ALARM OFF - the device turns off once alarm is detected (all channels set to 0%)" value="2"/>
      <Item label="ALARM PROGRAM - alarm sequence turns on (program selected in parameter 38)" value="3"/>
    </Value>
    <Value type="byte" genre="config" instance="1" index="38" label="38. Alarm sequence program" min="1" max="10" units="" value="10">
      <Help>Program number selected from the 10 available.</Help>
    </Value>
    <Value type="short" genre="config" instance="1" index="39" label="39. Active PROGRAM alarm time" min="1" max="65534" units="s" value="600">
      <Help>In ALARM PROGRAM mode (see parameter 30), this defines the time in seconds the program lasts (1s->65534s)</Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="42" label="42. Command class reporting Outputs status change" size="1" value="0">
      <Help>Specify which command class is used to report output status changes</Help>
      <Item label="Reporting as a result of inputs and controllers actions (SWITCH MULTILEVEL)" value="0"/>
      <Item label="Reporting as a result inputs actions (SWITCH MULTILEVEL)" value="1"/>
      <Item label="Reporting as a result inputs actions (COLOUR_CONTROL)" value="2"/>
    </Value>
    <Value type="byte" genre="config" instance="1" index="43" label="43. Reporting 0-10v analog inputs change threshold" min="1" max="100" units="*0.1V" value="5">
      <Help>Parameter defines a value by which input voltage must change in order to be reported to the main controller. New value is calculated based on last reported value: Default setting: 5 (0.5V).  Range: 1->100 - (0.1V->10V).</Help>
    </Value>
    <Value type="short" genre="config" instance="1" index="44" label="44. Power load reporting frequency" min="1" max="65534" units="s" value="30">
      <Help>Sent if last reported value differs from the current value. Reports will also be sent in case of polling. Default setting: 30 (30s).  Range: 1->65534 (1s->65534s) - interval between reports.  Zero means reports are only sent in the case of polling, or at turning OFF the device</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="45" label="45. Reporting changes in energy consumed by controlled devices" min="1" max="254" units="*0.01kWh" value="10">
      <Help>Interval between energy consumption reports (in kWh). New reported energy consumption value is calculated based on last reported value. 1->254 (0.01kWh->2.54kWh).  Zero means changes in consumed energy will not be reported, except in case of polling.</Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="71" label="71. Response to BRIGHTNESS set to 0%" size="1" value="1">
      <Help>Set whether to remember the previous RGB mix after the brightness has fallen to zero (black)</Help>
      <Item label="Illumination colour set to white (all channels controlled together)" value="0"/>
      <Item label="Last set colour is memorized" value="1"/>
    </Value>
    <Value type="byte" genre="config" instance="1" index="72" label="72. Starting predefined program" min="1" max="10" units="" value="1">
      <Help>First predefined program to use when device is set to work in RGB/RGBW mode (parameter 14)</Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="73" label="73. Triple Click Action" size="1" value="0">
      <Help>Behaviour when an input is triple-clicked</Help>
      <Item label="NODE INFO control frame is sent" value="0"/>
      <Item label="Start favourite program" value="1"/>
    </Value>
  </CommandClass>

  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="5">
      <Group index="1" max_associations="5" label="Input 1" auto="true"/>
      <Group index="2" max_associations="5" label="Input 2" auto="true" />
      <Group index="3" max_associations="5" label="Input 3" auto="true"/>
      <Group index="4" max_associations="5" label="Input 4" auto="true"/>
      <Group index="5" max_associations="1" label="Controller Updates" auto="true"/>
    </Associations>
  </CommandClass>

</Product>
