Add HANK motion sensor HKZW-MS02 type 300 (#1901)

This commit is contained in:
Geert van Horrik 2019-08-12 09:24:43 +02:00 committed by Peter Gebruers
parent 10752e0e84
commit a2f8a143bc
3 changed files with 87 additions and 43 deletions

View file

@ -1,54 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
<!--
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="2">
<MetaData>
<MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0208:0012:0300</MetaDataItem>
<MetaDataItem name="ProductPic">images/hank/hkzw-ms02-200.png</MetaDataItem>
<MetaDataItem id="0012" name="ZWProductPage" type="0300">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 controllers 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 controllers message.
</MetaDataItem>
<MetaDataItem id="0012" name="FrequencyName" type="0300">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="0300">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 controllers 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 controllers message.
</MetaDataItem>
<ChangeLog>
<Entry author="Geert van Horrik - geert@catenalogic.com" date="08 Aug 2019" revision="2">Improvements based on the HKZW-M02-200 entry</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 type="byte" genre="config" instance="1" index="12" label="Motion sensor's sensitivity" units="%" size="1" min="0" max="8" value="8">
<Help>
<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 type="list" genre="config" instance="1" index="14" label="Enable/disable basic set command" size="1" min="0" max="1" value="0">
<Help>Enable/disable basic set command</Help>
<Item label="Disabled" value="0"/>
<Item label="Enabled" value="1"/>
</Value>
<Value type="list" genre="config" instance="1" index="15" label="Value of the basic set" size="1" min="0" max="1" value="0">
<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 type="byte" genre="config" instance="1" index="17" label="Enable/disable shock alarm" size="1" min="0" max="1" 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 type="short" genre="config" instance="1" index="18" label="Motion alarm cancellation delay" units="lux" size="2" min="0" max="65535" value="200">
<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="lux" value="200">
<Help>
0 Reports are not sent.
1 to 65535 the change in luminance level resulting in luminance report being sent to the main controller.
</Help>
</Value>
<Value type="byte" genre="config" instance="1" index="32" label="Level of low battery" units="%" size="1" min="10" max="50" 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" max_associations="5" label="Lifeline"/>
<Group index="2" max_associations="5" label="Basic set command"/>
</Associations>
</CommandClass>
</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>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ManufacturerSpecificData Revision="45" xmlns="https://github.com/OpenZWave/open-zwave">
<ManufacturerSpecificData Revision="46" xmlns="https://github.com/OpenZWave/open-zwave">
<Manufacturer id="0028" name="2B Electronics"></Manufacturer>
<Manufacturer id="0098" name="2GIG Technologies">
<Product config="2gig/ct50e.xml" id="015e" name="CT50e Thermostat" type="3200"/>
@ -819,6 +819,7 @@
<Product config="hank/hkzw-so05-smartplug.xml" id="000a" name="HKZW-SO05 Smart Plug" type="0100"/>
<Product config="hank/hkzw-ms01.xml" id="0006" name="HKZW-MS01 Multisensor" type="0200"/>
<Product config="hank/hkzw-ms02-200.xml" id="0012" name="HKZW-MS02 Motion Sensor" type="0200"/>
<Product config="hank/hkzw-ms02-300.xml" id="0012" name="HKZW-MS02 Motion Sensor" type="0300"/>
<Product config="hank/hkzw-dws01.xml" id="0008" name="HKZW-DWS01 Door/Window Sensor" type="0200"/>
<Product config="hank/hkzw-dws01.xml" id="0008" name="HKZW-DWS01 Door/Window Sensor" type="0201"/>
<Product config="hank/scenecontroller1.xml" id="0009" name="HKZW-SCN01 Scene Controller" type="0200"/>

View file

@ -1224,8 +1224,8 @@
'md5' => '412110b25652a63fd8fa53a0e8c465f8d73a1f1a8ee3af7c2e989e7446e6ff70c577af28cc953059312bac9dcfadd5801e61f2669d723c0991534084eac07344'
},
'config/hank/hkzw-ms02-300.xml' => {
'Revision' => '1',
'md5' => 'ee254cc8c2cf29a5a59911f3be721e923e395ff9a8be30c5577df4e4281061fdc9404b7e1c7ee0989f3da7ff536340e6e565867a6a96a9ce97448e1fd2bb3298'
'Revision' => 2,
'md5' => '7e4f9dcbe624e04301dd0b7363747633902930c2a1f59d832bdaade1b0c76b5f0b22287275db2d2bcd301c69993a2800f4db0c92ce52ad7cb4fa40a680687c97'
},
'config/hank/hkzw-rgb01.xml' => {
'Revision' => '3',
@ -1608,8 +1608,8 @@
'md5' => '4d34aeaaea917c229bedbb737e4de1550b2d7db5f9e61566a1c0a39966b6442d381d01f93714e12aae1404797d36854274cc4063dd7424b00d27da238b17a36a'
},
'config/manufacturer_specific.xml' => {
'Revision' => '45',
'md5' => 'a479db86ed96175922c5b1b68d7d41568c5bc3839b5ad99cc9e22c89383a5be843dc942814e48b33116168b4c072e90eb98fbbe4f49b5a70dbfaddecce902d55'
'Revision' => '46',
'md5' => '564663bc84f931e818643919f14b59dd5aa1fafc280093eab4259b9ce8ad5f241499f77de8531fd4c752b742be021fb961a18a065cfe10b8092c9b247a8d38ef'
},
'config/mcohome/a8-9.xml' => {
'Revision' => '1',