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

<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="3">

  <!-- Configuration -->
  <CommandClass id="112">
    <Value type="list" genre="config" instance="1" index="1" label="Enable/Disable ALL ON/OFF" size="1" value="255">
      <Help>Enable/Disable ALL ON/OFF. Default 255.</Help>
      <Item label="ALL ON active / ALL OFF active" value="255" />
      <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" />
    </Value>
    <Value type="list" genre="config" instance="1" index="6" label="Separation of association sending (key 1)" size="1" value="0">
      <Help>Activate/Deactivate association sending for group 1 - Note: Parameter 15 must set to 1 to work properly. Default 0.</Help>
      <Item label="Map status to all devices in group 1 (default)" value="0" />
      <Item label="Map OFF status to all devices in group 1, Double click on key 1 will send ON to all devices in group 1, all dimmers set to prev.value" value="1" />
      <Item label="Map OFF status to all devices in group 1, Double click on key 1 will send ON to all devices in group 1, all dimmers set to 100%" value="2" />                
    </Value>
    <Value type="list" genre="config" instance="1" index="7" label="Control key #2 behaviour" size="1" value="1">
      <Help>Key no.2 is not represented by any physical device except of devices on association list. This functionality prevents of lack of reaction on pressing key no.2 through polling devices from association list one by one and checking their actual statuses. Default 1.</Help>
      <Item label="Frame GET not send. Device status is not checked" value="0" />
      <Item label="Frame GET is send. Device status is checked before send" value="1" />
    </Value>
    <Value type="byte" genre="config" instance="1" index="8" label="Dimming step at automatic control" min="1" max="99" units="%" value="1">
      <Help>Options for changing parameter 1-99. Default 1.</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="9" label="Time of MANUALLY moving between the extreme dimming values" min="1" max="255" value="5">
      <Help>Options for changing parameter 1-255 (10ms - 2,5s).
      Default 5.</Help>
    </Value>
    <!-- Version 1.9 has a bug that requires this value be set to 0 or the
	 dimmer gets stuck and won't respond to switch presses -->
    <Value type="byte" genre="config" instance="1" index="10" label="Time of AUTOMATIC moving between the extreme dimming values" min="0" max="255" units="ms" value="1">
      <Help>Options for changing parameter 1-255 (10ms - 2,5s) - 0: this value disables the smooth change in light intensity. Default 1. ATTENTION: value 0 is required for inductive and capacitive devices unsuitable for dimming (e.g. fluorescent lamps, motors, etc...)</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="11" label="Dimming step at manual control" min="1" max="99" units="%" value="1">
      <Help>Options for changing parameter 1-99. Default 1.</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="12" label="Maximum dimmer level control" min="2" max="99" units="%" value="99">
      <Help>Options for changing parameter 2-99. Default 99.</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="13" label="Minimum dimmer level control" min="1" max="98" units="5" value="2">
      <Help>Options for changing parameter 1-98. Default 2.</Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="14" label="Inputs Button/Switch configuration" size="1" value="0">
      <Help>Binary inputs type configuration. Default 0.</Help>
      <Item label="Mono-stable input (button)" value="0"/>
      <Item label="Bi-stable input (switch)" value="1"/>
      <Item label="Role blind switch (UP / DOWN) - two switch keys operate the Dimmer" value="2"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="15" label="Double click option" size="1" value="1">
      <Help>Double-click set lighting at 100%. Default 1.</Help>
      <Item label="Disable double click" value="0"/>
      <Item label="Enable double click" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="16" label="Saving state before power failure" size="1" value="1">
      <Help>Saving state before power failure. Default 1.</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="17" label="3-way switch" size="1" value="0">
      <Help>The function of 3-way switch provides the option to double key no. 1. The dimmer may control two bi-stable push-buttons or an infinite number of mono-stable push-buttons. Default 0.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="18" label="Synchronizing light level for associated devices" size="1" value="0">
      <Help>The dimmer communicate the level to the associated devices. Default 0.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="19" label="Change [On-Off] bi-stable keys" size="1" value="0">
      <Help>This function allow user to change [On-Off] bi-stable keys (parameter no. 14). Default 0.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="byte" genre="config" instance="1" index="20" label="ADVANCED Impulse length" min="100" max="170" value="110">
      <Help>This function will enable decreasing the minimum level of the Dimmer by extending the control impulse.[100 - 170]. By changing the minimum level, the user may completely dim LED bulbs. Not all LED bulbs available on the market have the dimming option. WARNING: Wrong setting of the function may cause incorrect operation of the Dimmer. INFO: THIS PARAMETER IS NOT AVAILABLE IN DEVICE FGD211 v2.1-2.3</Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="30" label="Alarm" size="1" value="3">
      <Help>Alarm of any type (general alarm, water flooding alarm, smoke alarm: CO, CO2, temperature alarm).
      Default 3.</Help>
      <Item label="DEACTIVATION - no response to alarm frames" value="0"/>
      <Item label="ALARM DIMMER ON - device turn ON upon receipt of alarm frame" value="1"/>
      <Item label="ALARM DIMMER OFF - device will turn OFF upon receipt of alarm frame" value="2"/>
      <Item label="ALARM FLASHING - device will turn ON and OFF periodically (see param.39)" value="3"/>
    </Value>
    <Value type="short" genre="config" instance="1" index="39" label="Active flashing alarm time" min="1" max="65535" units="s" value="600">
      <Help>Amount of time the device keeps on flashing after receipt of Alarm Frame (1ms-65535ms). Default 600.</Help>
    </Value>
      <Value type="byte" genre="config" instance="1" index="40" label="Updating the dimming level without the input from the switch" min="1" max="99"  value="1">
      <Help>Available settings: from 1 to 99 Parameters value changes depending on the dimming level.</Help>
    </Value>
      <Value type="list" genre="config" instance="1" index="41" label="Scene activation functionality" size="1" value="0">
      <Help>The device offers the possibility of sending commands compatible with Command class scene activation. Information is sent to devices assigned to association group no. 3. Controllers such as Home Center 2 are able to interpret such commands and based on these commands they activate scenes, to which specific scene IDs have been assigned. The user may expand the functionality of the button connected to inputs S1 and S2 by distinguishing the actions of keys connected to those inputs. For example: double click would activate the scene goodnight and triple click would activate the scene morning. Default 0.</Help>
      <Item label="Functionality deactivated" value="0"/>
      <Item label="Functionality activated" value="1"/>      
    </Value>
  </CommandClass>

  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="3">
      <Group index="1" max_associations="5" label="Key no 1" auto="false"/>
      <Group index="2" max_associations="5" label="Key no 2"/>
      <Group index="3" max_associations="1" label="Lifeline" auto="true"/>
    </Associations>
  </CommandClass>

</Product>
