<Product Revision="3" xmlns="https://github.com/OpenZWave/open-zwave">
  <MetaData>
    <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0208:0012:0200</MetaDataItem>
    <MetaDataItem name="ProductPic">images/hank/hkzw-ms02-200.png</MetaDataItem>
    <MetaDataItem id="0012" name="ZWProductPage" type="0200">https://products.z-wavealliance.org/products/2578/</MetaDataItem>
    <MetaDataItem name="ResetDescription">1)Power on the device,
2) Press and hold the Z button for more than 20 seconds,
3) If holding time more than 20seconds, the LED indicator will keep on for 2 seconds, which means resetting is complete.
4) The reset feature works only when the device has been included into a Z-Wave network.

Please use this procedure only when the network primary controller is missing or otherwise inoperable.
</MetaDataItem>
    <MetaDataItem name="Description">Motion sensor can be included and operated in any Z-Wave network with other Z-Wave certified devices. 

The features list:
1)	Z-Wave Plus certified for wide compatibility (500 serials product).
2)	Supports security 0 and security 2 protected mode with AES-128 encryption.
3)	Motion sensor.
4)	Tamper alarm by shock sensor.
5)	The battery life is up to 1 year.
6)	Low battery alarm.
7)	Support firmware OTA.
</MetaDataItem>
    <MetaDataItem name="InclusionDescription">1) Open the cover.
2) Place the device within the direct range of your Z-Wave controller.
3) Set the main controller in add mode (see the controller’s manual).
4) Click the Z-button once or triple click the Z-button quickly, the LED indicator should blink fast. 
5) Wait for the adding process to end.
6) Successful adding will be confirmed by the Z-Wave controller’s message.

</MetaDataItem>
    <MetaDataItem id="0012" name="FrequencyName" type="0200">CEPT (Europe)</MetaDataItem>
    <MetaDataItem name="ProductManual">https://Products.Z-WaveAlliance.org/ProductManual/File?folder=&amp;filename=Manuals/2578/HKZW-MS02-ProductManual.pdf</MetaDataItem>
    <MetaDataItem id="0012" name="Identifier" type="0200">HKZW-MS02</MetaDataItem>
    <MetaDataItem name="Name">Motion Sensor</MetaDataItem>
    <MetaDataItem name="WakeupDescription">Press and hold the Z button for more than 5 seconds and release.</MetaDataItem>
    <MetaDataItem name="ExclusionDescription">1) Open the cover.
2) Place the device within the direct range of your Z-Wave controller.
3) Set the main controller remove mode (see the controller’s manual).
4) Triple click the Z-button quickly, the LED indicator should blink fast.
5) Wait for the removing process to end.
6) Successful adding will be confirmed by the Z-Wave controller’s message.
</MetaDataItem>
    <ChangeLog>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="02 Jun 2019" revision="2">Initial Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/2578/xml</Entry>
      <Entry author="Gert van Dijk - gertvdijk@gmail.com" date="10 January 2020" revision="3">Adjust description and units of configuration parameter 18 as per user manual</Entry>
    </ChangeLog>
  </MetaData>
  <!--
      Hank HKZW-MS02 Multisensor
      http://products.z-wavealliance.org/products/2578
      https://products.z-wavealliance.org/ProductManual/File?folder=&filename=Manuals/2578/HKZW-MS02-ProductManual.pdf
      Config capabilities: https://products.z-wavealliance.org/products/2578/configs
    -->
    <!-- Configuration -->
  <CommandClass id="112">
    <Value genre="config" index="12" instance="1" label="Motion sensor's sensitivity" max="8" min="0" size="1" type="byte" units="%" value="8">
      <Help>
                Level 1 to 8. The higher the value, the more sensitive the PIR sensor.
                0 Disabled.
            </Help>
    </Value>
    <Value genre="config" index="14" instance="1" label="Enable/disable basic set command" max="1" min="0" size="1" type="list" value="0">
      <Help>Enable/disable basic set command</Help>
      <Item label="Disabled" value="0"/>
      <Item label="Enabled" value="1"/>
    </Value>
    <Value genre="config" index="15" instance="1" label="Value of the basic set" max="1" min="0" size="1" type="list" value="0">
      <Help>
                Send basic set value = 255 to nodes associated with group 2 when motion alarm is triggered. Send basic set value = 0 to nodes associated with group 2 when motion alarm is canceled.
                Send basic set value = 0 to nodes associated with group 2 when motion alarm is triggered. Send basic set value = 255 to nodes associated with group 2 when motion alarm is canceled.</Help>
      <Item label="Basic On" value="0"/>
      <Item label="Basic Off" value="1"/>
    </Value>
    <Value genre="config" index="17" instance="1" label="Enable/disable shock alarm" max="1" min="0" size="1" type="byte" value="0">
      <Help>when the value is 0, the product will not sends a vibration alarm after moving or shaking; when the value is 1, the product will sends a vibration alarm after moving or shaking</Help>
      <Item label="Disabled" value="0"/>
      <Item label="Enabled" value="1"/>
    </Value>
    <Value genre="config" index="18" instance="1" label="Motion alarm cancellation delay" max="65535" min="0" size="2" type="short" units="seconds" value="30">
      <Help>The number of seconds to delay the alarm cancellation after motion has not been detected any longer.</Help>
    </Value>
    <Value genre="config" index="32" instance="1" label="Level of low battery" max="50" min="10" size="1" type="byte" units="%" value="20">
      <Help>The low level from 10% to 50%</Help>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="2">
      <Group index="1" label="Lifeline" max_associations="5"/>
      <Group index="2" label="Basic set command" max_associations="5"/>
    </Associations>
  </CommandClass>
</Product>
