<Product Revision="3" xmlns="https://github.com/OpenZWave/open-zwave">
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" index="1" label="Sensitivity" max="255" min="0" type="byte" units="" value="200">
      <Help>
				Sensitivity sets the amount of motion required for the device to
				detect motion. A higher value makes it more sensitive and a
				lower value makes it less sensitive. Note that values above 200
				are not recommended when the device is battery operated.
				Recommended values:
				10 = Pet Immune.
				100 = Medium sensitivity for hallways.
				200(default) = Highly sensitive for rooms where people are sitting still.
			</Help>
    </Value>
    <Value genre="config" index="2" label="On Time" max="255" min="0" type="byte" units="minutes" value="20">
      <Help>
				On Time sets the number of minutes that the lights stay on when
				motion has not been detected.
				A value of 0 On Time is a special mode where the lights are
				constantly sent a command to turn them on whenever motion is
				detected. The device will NOT turn the lights off in this mode.
				Note that this mode will significantly shorten battery life.
				Recommended values:
				5 min for hallways.
				20 min for an office environment.
				60 min for a library or other room where someone may be sitting
				still for a long time.
				This may be inaccurate, but default for Homeseer HSM100 may actually be 3 minutes, instead of 20?
			</Help>
    </Value>
    <Value genre="config" index="3" label="LED ON/OFF" max="" min="" size="1" type="list" units="" value="255">
      <Help>
				LED ON/OFF turns the LED on or off. A slight improvement in
				battery life is obtained by turning the LED off. Setting LED
				ON/OFF to zero will turn the LED off and 255 turns it on.
				Default is On (255).
			</Help>
      <Item label="Off" value="0"/>
      <Item label="On" value="255"/>
    </Value>
    <Value genre="config" index="4" label="Light Threshold" max="100" min="0" type="byte" units="%" value="100">
      <Help>
				Light Threshold is the percentage of light in the room above
				which the lights will not be turned on. Light Threshold is often
				used in room with a lot of natural daylight. Setting Light
				Threshold to a value of 50% will cause the device to not turn the
				lights on when the natural light in the room is already at the 50%
				value. This feature only prevents the lights from coming on when
				motion is first detected and the light level in the room is already
				above Light Threshold. It will not turn the lights off when the
				amount of natural light in the room increases. It will
				automatically turn on the lights in a room that has motion in it
				and that the amount of natural light has dropped below Light
				Threshold.
				A value of 100% turns off this feature (default).
				Recommended values:
				Usually a value between 40% and 60% will prevent the lights
				from coming on in a reasonably well light room and will turn
				them on as it is getting dark. Some experimentation is required
				with each room to determine the proper setting.
			</Help>
    </Value>
    <Value genre="config" index="5" label="Stay Awake" max="255" min="0" type="byte" units="" value="0">
      <Help>
				Setting Stay Awake to a non-zero value will cause the device to
				always be awake. NOTE: this mode should NOT be used when
				the device is battery powered! Batteries will only last a few days
				in this mode.
				Stay Awake is NOT set to the factory default (0) when the device
				is Excluded (reset) from the Z-Wave network.
				Setting Stay Awake to a non-zero value will cause the Z-Wave
				Listening Bit to be set. The device will become a routing node in
				the Z-Wave Mesh-Network when the Listening Bit is set.
				To properly have the device included in the routing tables, set
				Stay Awake to a non-zero value, then reset the device (Exclude
				from the network), then add it back to the network. The new
				routing information will be used now that the listening bit is set.
				Defaults to 0.
			</Help>
    </Value>
    <Value genre="config" index="6" label="On Value" max="255" min="0" type="byte" units="" value="255">
      <Help>
				On Value is the value sent by the Z-Wave BASIC_SET
				command when motion is detected.
				A value of 0 will turn the lights off (not recommended).
				A value between 1 and 100 will set the dim level to between 1%
				and 100%.
				A value of 255 will turn the light on (default).
				NB! According to the manual, the value should not be set between 101-254 (inclusive).
			</Help>
    </Value>
    <Value genre="config" index="7" label="TempAdj" max="255" min="0" type="byte" units="" value="0">
      <Help>
				TempAdj is a twos-complement number that is used to adjust the temperature reading to make it more accurate.
				The value programmed is in tenths of degree Fahrenheit.
				The temperature reading can be adjusted up to +12.7F to -12.8F.
				A value of 1 will adjust the temperature reading by +0.1F.
				A value of -1 will adjust the temperature by -0.1F.
				A value of 123 will adjust the temperature by +12.3F.
				TempAdj is NOT changed when Excluded (reset) from the Z- Wave network.
			</Help>
    </Value>
  </CommandClass>
  <!-- add Basic set CC to raise a node_event -->
  <CommandClass action="add" id="32"/>
  <!-- map endpoints -->
  <CommandClass id="96">
    <Compatibility>
      <MapRootToEndpoint>true</MapRootToEndpoint>
    </Compatibility>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="1">
      <Group index="1" label="Motion" max_associations="4"/>
    </Associations>
  </CommandClass>
</Product>
