<Product Revision="3" xmlns="https://github.com/OpenZWave/open-zwave">
  <!-- Remotec ZTS-500 Thermostat
     http://www.zwaveproducts.com/product-documentation/F-BW8170US%20(ZTS-500US)%20User_Manual_V1.01_Z-Wave%20validation_20160510.pdf
     http://products.z-wavealliance.org/products/1767/configs -->

    <!-- COMMAND_CLASS_THERMOSTAT_SETPOINT get is not supported -->
  <CommandClass id="67">
    <Compatibility>
      <GetSupported>false</GetSupported>
      <Base>0</Base>
    </Compatibility>
  </CommandClass>
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" index="1" label="Scale of temperature" max="1" min="0" size="1" type="list" value="1">
      <Help>Celsius or Fahrenheit.</Help>
      <Item label="Celsius" value="0"/>
      <Item label="Fahrenheit" value="1"/>
    </Value>
    <Value genre="config" index="2" label="Swing" max="4" min="0" size="1" type="byte" value="2">
      <Help>
				Swing is the difference allowed from current temp to setpoint before the thermostat turns on.
				EG: A swing of 2 and setpoint of 70 means the heat turns on at 68 and off at 72.
			</Help>
    </Value>
    <Value genre="config" index="3" label="Differential" max="4" min="0" size="1" type="byte" value="2">
      <Help>
				Differential is the difference needed from the swing before the 2nd stage kicks in.
				EG: A swing of 2, differntial of 2, and setpoint of 70 means the heat turns on at 68 and off at 72. The second-stage heat would turn on at 67 and off at 68.
			</Help>
    </Value>
    <Value genre="config" index="4" label="Dead band" max="6" min="3" size="1" type="list" value="4">
      <Help>
				On thermostats that automatically control both heating and cooling systems,
				a dead band is a temperature range in which neither system turns on. The dead
				band prevents the thermostat from activating heat and cooling in rapid
				succession. This conserves energy by providing a range of temperatures
				requiring no energy consumption.
				Dead band value:
				3(0x03)= 3 F / 1.5 C
				4(0x04)= 4 F / 2.0 C (default)
				5(0x05)= 5 F / 2.5 C
				6(0x06)= 6 F / 3.0 C
			</Help>
      <Item label="3 F / 1.5 C" value="3"/>
      <Item label="4 F / 2.0 C" value="4"/>
      <Item label="5 F / 2.5 C" value="5"/>
      <Item label="6 F / 3.0 C" value="6"/>
    </Value>
    <Value genre="config" index="5" label="Upper limit of heat set point" type="short" value="950">
      <Help>
				Unit in C:
				Range from 5 to [(37 ) - (dead band)]
				Range from 50 (0x0032) to 355 (0x0163)
				Example 28 ; input = 280 (0x0118)

				Unit in F:
				Range from 41 to [(99 ) - (dead band)]
				Range from 410 (0x019A) to 960 (0x03C0)
				Example 82 ; input = 820 (0x0334)
				Default = (99 ) - (dead band)
			</Help>
    </Value>
    <Value genre="config" index="6" label="Lower limit of cool set point" type="short" value="440">
      <Help>
				Unit in C:
				Range from [(5 C) + (dead band)] to 37 C
				Range from 65 (0x0041) to 370 (0x0172)
				Example 20 C; input = 200 (0x00C8)

				Unit in F:
				Range from [(41 F) + (dead band)] to 99 F
				Range from 440 (0x01B8) to 990 (0x03DE)
				Example 68 F; input = 680 (0x02A8)
				Default = (41 F) + (dead band)
			</Help>
    </Value>
    <Value genre="config" index="7" label="Reset filter counter" size="1" type="byte" value="0">
      <Help>
                    0 (0x00) (default)
            </Help>
    </Value>
    <Value genre="config" index="8" label="Set filter counter" max="4000" min="500" type="short" value="500">
      <Help>How many hours before the filter change reminder is displayed.</Help>
    </Value>
    <Value genre="config" index="9" label="Report filter counter" read_only="true" type="short" value="0">
      <Help>How many hours the system has run since the filter counter was last reset. Read only.</Help>
    </Value>
    <Value genre="config" index="10" label="sensor temperature calibration" max="10" min="-10" size="1" type="list" value="0">
      <Help>
                    This parameter is used to change the display temperature
                    to match with your previous thermostat, or to match another
                    thermostat already in your home
                    Formula: Display temperature = sensor reading value + offset value
                    0 (0x00) = 0 F (default)
                    1 (0x01) = 1 F (0.5 C)
                    2 (0x02) = 2 F (1.0 C)
                    3 (0x03) = 3 F (1.5 C)
                    4 (0x04) = 4 F (2.0 C)
                    5 (0x05) = 5 F (2.5 C)
                    6 (0x06) = 6 F (3.0 C)
                    7 (0x07) = 7 F (3.5 C)
                    8 (0x08) = 8 F (4.0 C)
                    9 (0x09) = 9 F (4.5 C)
                    10 (0x0A) = 10 F (5.0 C)
                    -1 (0xFF) = -1 F (-0.5 C)
                    -2 (0xFE) = -2 F (-1.0 C)
                    -3 (0xFD) = -3 F (-1.5 C)
                    -4 (0xFC) = -4 F (-2.0 C)
                    -5 (0xFB) = -5 F (-2.5 C)
                    -6 (0xFA) = -6 F (-3.0 C)
                    -7 (0xF9) = -7 F (-3.5 C)
                    -8 (0xF8) = -8 F (-4.0 C)
                    -9 (0xF7) = -9 F (-4.5 C)
                    -10 (0xF6) = -10 F (-5.0 C)
            </Help>
      <Item label="-10 F / -5.0 C" value="-10"/>
      <Item label="-9 F / -4.5 C" value="-9"/>
      <Item label="-8 F / -4.0 C" value="-8"/>
      <Item label="-7 F / -3.5 C" value="-7"/>
      <Item label="-6 F / -3.0 C" value="-6"/>
      <Item label="-5 F / -2.5 C" value="-5"/>
      <Item label="-4 F / -2.0 C" value="-4"/>
      <Item label="-3 F / -1.5 C" value="-3"/>
      <Item label="-2 F / -1.0 C" value="-2"/>
      <Item label="-1 F / -0.5 C" value="-1"/>
      <Item label="0 F / 0 C" value="0"/>
      <Item label="1 F / 0.5 C" value="1"/>
      <Item label="2 F / 1.0 C" value="2"/>
      <Item label="3 F / 1.5 C" value="3"/>
      <Item label="4 F / 2.0 C" value="4"/>
      <Item label="5 F / 2.5 C" value="5"/>
      <Item label="6 F / 3.0 C" value="6"/>
      <Item label="7 F / 3.5 C" value="7"/>
      <Item label="8 F / 4.0 C" value="8"/>
      <Item label="9 F / 4.5 C" value="9"/>
      <Item label="10 F / 5.0 C" value="10"/>
    </Value>
    <Value genre="config" index="11" label="LED brightness level" size="1" type="byte" value="2">
      <Help>
                    1 (0x01) = Level-1 (dark)
                    2 (0x02) = Level-2 (middle) , default
                    3 (0x03) = Level-3 (bright)
            </Help>
    </Value>
    <Value genre="config" index="12" label="Sleep timer" size="1" type="byte" units="seconds" value="5">
      <Help>
                    3 (0x03) to 60 (0x3C) seconds,
                    255 (0xFF) = Always On
                    Step size = 1s,
                    Batt = 5s, default
                    24Vac = 60s, default
            </Help>
    </Value>
    <Value genre="config" index="13" label="Repeat basic set counter" size="1" type="byte" units="minutes" value="0">
      <Help>
				Repeat basic set counter (Association Group A and B only)
				Value(X): 0 (0x00), 3 (0x03) to 255 (0xFF)
				0 (0X00) = Disable, default
				3 (0x03) to 255 (0xFF) minutes
				(Thermostat sends "Basic Set" command to its association node repeatedly in every X minutes)
			</Help>
    </Value>
    <Value genre="config" index="14" label="Auto report trigger threshold" max="8" min="0" size="1" type="list" value="4">
      <Help>
				Trigger AUTO report if room temperature is different from last
				report.	(It will report room temperature only)
				*User can use this function to enhance batteries service life
				0 (0x00) = disable AUTO report if room temperature is different from last report.
				AUTO report if room temperature is different from last report.
				Delta change is >=
				1 (0x01) = 1 F (0.5 C), (default if powered by 24Vac)
				2 (0x02) = 2 F (1.0 C), (default if powered by battery)
				3 (0x03) = 3 F (1.5 C)
				4 (0x04) = 4 F (2.0 C)
				5 (0x05) = 5 F (2.5 C)
				6 (0x06) = 6 F (3.0 C)
				7 (0x07) = 7 F (3.5 C)
				8 (0x08) = 8 F (4.0 C)
			</Help>
      <Item label="1 F / 0.5 C" value="1"/>
      <Item label="2 F / 1.0 C" value="2"/>
      <Item label="3 F / 1.5 C" value="3"/>
      <Item label="4 F / 2.0 C" value="4"/>
      <Item label="5 F / 2.5 C" value="5"/>
      <Item label="6 F / 3.0 C" value="6"/>
      <Item label="7 F / 3.5 C" value="7"/>
      <Item label="8 F / 4.0 C" value="8"/>
    </Value>
    <Value genre="config" index="15" label="Auto report time interval" max="16" min="0" size="1" type="list" value="2">
      <Help>
				AUTO report by time interval. (It will report room temperature only)
				*User can use this function to enhance batteries service life.
				0 (0x00) = disable AUTO report function. (by time interval), (default)
				AUTO report timer:
				1 (0x01) = 0.5 hr
				2 (0x02) = 1.0 hr
				3 (0x03) = 1.5 hrs
				4 (0x04) = 2.0 hrs
				5 (0x05) = 2.5 hrs
				6 (0x06) = 3.0 hrs
				7 (0x07) = 3.5 hrs
				8 (0x08) = 4.0 hrs
				9 (0x09) = 4.5 hrs
				10 (0x0A) = 5.0 hrs
				11 (0x0B) = 5.5 hrs
				12 (0x0C) = 6.0 hrs
				13 (0x0D) = 6.5 hrs
				14 (0x0E) = 7.0 hrs
				15 (0x0F) = 7.5 hrs
				16 (0x10) = 8.0 hrs
			</Help>
      <Item label="Disabled" value="0"/>
      <Item label="30 minutes" value="1"/>
      <Item label="1 hour" value="2"/>
      <Item label="1 hour 30 minutes" value="3"/>
      <Item label="2 hours" value="4"/>
      <Item label="2 hours 30 minutes" value="5"/>
      <Item label="3 hours" value="6"/>
      <Item label="3 hours 30 minutes" value="7"/>
      <Item label="4 hours" value="8"/>
      <Item label="4 hours 30 minutes" value="9"/>
      <Item label="5 hours" value="10"/>
      <Item label="5 hours 30 minutes" value="11"/>
      <Item label="6 hours" value="12"/>
      <Item label="6 hours 30 minutes" value="13"/>
      <Item label="7 hours" value="14"/>
      <Item label="7 hours 30 minutes" value="15"/>
      <Item label="8 hours" value="16"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="3">
      <Group index="1" label="Lifeline" max_associations="1"/>
      <Group index="2" label="Heating Mode group" max_associations="5"/>
      <Group index="3" label="Cooling Mode group" max_associations="5"/>
    </Associations>
  </CommandClass>
</Product>
