Skip to content

Commit

Permalink
Merge pull request #2610 from yml78/master
Browse files Browse the repository at this point in the history
Add Hank smartplug so08 configuration
  • Loading branch information
nechry authored Jun 7, 2021
2 parents 3e36e71 + 9044d18 commit 38f8f6c
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 8 deletions.
120 changes: 120 additions & 0 deletions config/hank/hkzw-so08-smartplug.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<Product Revision="3" xmlns="https://github.com/OpenZWave/open-zwave">
<MetaData>
<MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0208:0019:0100</MetaDataItem>
<MetaDataItem name="ProductPic">images/hank/hkzw-so05-smartplug.png</MetaDataItem>
<MetaDataItem id="0019" name="ZWProductPage" type="0100">https://products.z-wavealliance.org/products/3202/</MetaDataItem>
<MetaDataItem name="Name">Smart Plug</MetaDataItem>
<MetaDataItem name="ProductManual">https://products.z-wavealliance.org/ProductManual/File?filename=MarketCertificationFiles/3202/SmartPlug%20SO08P%20SpecificationEngineering.pdf</MetaDataItem>
<MetaDataItem id="0019" name="FrequencyName" type="0100">CEPT (Europe)</MetaDataItem>
<MetaDataItem name="ResetDescription">1) Insert the Plug into a socket,
2) Press and hold the Z button for more than 20 seconds,
3) If holding time more than 20seconds, the RGB LED indicator will keep yellow for 2 seconds, which means resetting is completed.
Use this procedure only in the event that the network primary controller is missing or otherwise inoperable.
</MetaDataItem>
<MetaDataItem name="InclusionDescription">1) Connect the power supply.
2) Set the Z-Wave network main controller into inclusion mode (see Z-Wave network controller operating manual).
3) Triple click the Z-button or power up the device , RGB LED indicator should blink fast in blue.
4) Smart Plug should be recognized and included into the Z-Wave network.
</MetaDataItem>
<MetaDataItem id="0019" name="Identifier" type="0100">HKZW-SO08</MetaDataItem>
<MetaDataItem name="Description">Smart plug is a Z-Wave Switch plugin module specifically used to enable Z-Wave command and control (on/off) of any plug-in tool. It can report wattage consumption or kWh energy usage, and can indicate the power level with a RGB LED.
Smart Plug is also a security Z-Wave device and supports the Over The Air (OTA) feature for the product’s firmware upgrade .
</MetaDataItem>
<MetaDataItem name="ExclusionDescription">1) Insert the Plug into a socket.
2) Set the Z-Wave network controller into the exclusion mode (see Z-Wave controller operating manual).
3) Triple click the Z button.
4) RGB LED indicator will blink orange till the removing process is completed, than the indicator will keep orange for 3 seconds.
</MetaDataItem>
<ChangeLog>
<Entry author="YL" date="23 May 2021" revision="3">Initial Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/3202/xml</Entry>
</ChangeLog>
</MetaData>
<!--
Hank HKZW-SO08
http://products.z-wavealliance.org/products/3202
-->
<!-- Configuration -->
<CommandClass id="112">
<Value genre="config" index="20" instance="1" label="Overload Protection" max="1" min="0" size="1" type="list" value="1">
<Help>Smart Plug keep detecting the load power, once the current exceeds 11.5A for more than 5s, smart plug's relay will turn off</Help>
<Item label="Disabled" value="0"/>
<Item label="Enabled" value="1"/>
</Value>
<Value genre="config" index="21" instance="1" label="Device status after power failure" max="2" min="0" size="1" type="list" value="0">
<Help>Define how the plug reacts after the power supply is back on.
0 - Smart Plug memorizes its state after a power failure.
1 - Smart Plug does not memorize its state after a power failure. Connected device will be on after the power supply is reconnected.
2 - Smart Plug does not memorize its state after a power failure. Connected device will be off after the power supply is reconnected.
</Help>
<Item label="Memorize" value="0"/>
<Item label="On" value="1"/>
<Item label="Off" value="2"/>
</Value>
<Value genre="config" index="24" instance="1" label="Notification when load status change" max="2" min="0" size="1" type="list" value="1">
<Help>
Smart Plug can send notifications to association device(Group Lifeline) when state of smart plug's load change
0 - The function is disabled
1 - Send Basic report.
2 - Send Basic report only when Load condition is not changed by Z-WAVE Command
</Help>
<Item label="Disabled" value="0"/>
<Item label="Basic" value="1"/>
<Item label="Basic without Z-WAVE Command" value="2"/>
</Value>
<Value genre="config" index="27" instance="1" label="Indicator Modes" max="1" min="0" size="1" type="list" value="0">
<Help>After smart plug being included into a Z-Wave network, the LED in the device will indicator the state of load.
0 - The LED will follow the status(on/off) of its load
1 - When the state of Switch's load changed, The LED will follow the status(on/off) of its load, but the red LED will turn off after 5 seconds if there is no any switch action.
</Help>
<Item label="Enabled" value="0"/>
<Item label="Disabled" value="1"/>
</Value>
<Value genre="config" index="151" instance="1" label="Threshold of power report" max="200" min="0" size="2" type="short" units="W" value="50">
<Help>
Power threshold to be interpereted, when the change value of load power exceeds the setting threshold, the smart plug will send meter report to association device(Group Lifeline)
</Help>
</Value>
<Value genre="config" index="152" instance="1" label="Percentage threshold of power report" max="100" min="0" size="1" type="byte" units="%" value="10">
<Help>
Power percentage threshold to be interpreted, when change value of the load power exceeds the setting threshold, the smart plug will send meter report to association device(Group Lifeline).
</Help>
</Value>
<Value genre="config" index="171" instance="1" label="Power report frequency" max="2678400" min="3600" size="4" type="int" units="seconds" value="3600">
<Help>
The interval of sending power report to association device(Group Lifeline).
0 - The function is disabled.
</Help>
</Value>
<Value genre="config" index="172" instance="1" label="Energy report frequency" max="2678400" min="3600" size="4" type="int" units="seconds" value="7200">
<Help>
The interval of sending power report to association device(Group Lifeline).
0 - The function is disabled.
</Help>
</Value>
<Value genre="config" index="173" instance="1" label="Voltage report frequency" max="2678400" min="3600" size="4" type="int" units="seconds" value="0">
<Help>
The interval of sending voltage report to association device(Group Lifeline).
0 - The function is disabled.
</Help>
</Value>
<Value genre="config" index="174" instance="1" label="Electricity report frequency" max="2678400" min="3600" size="4" type="int" units="seconds" value="0">
<Help>
The interval of sending electricity report to association device(Group Lifeline).
0 - The function is disabled.
</Help>
</Value>
<Value genre="config" index="254" instance="1" label="Enable/disable the configuration command" max="2678400" min="3600" size="1" type="list" value="0">
<Help>
Lock/unlock all configuration parameters.
</Help>
<Item label="Unlock" value="0"/>
<Item label="Lock" value="1"/>
</Value>
</CommandClass>
<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="1">
<Group index="1" label="Lifeline" max_associations="5"/>
</Associations>
</CommandClass>
</Product>
1 change: 1 addition & 0 deletions config/manufacturer_specific.xml
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@
<Product config="hank/hkzw-rgb01.xml" id="0004" name="HKZW-RGB01 RGB bulb" type="0101"/>
<Product config="hank/hkzw-so03.xml" id="000a" name="HKZW-SO03 Smart Plug" type="0101"/>
<Product config="hank/hkzw-fld01.xml" id="000f" name="HKZW-FLD01 Flood Sensor" type="0200"/>
<Product config="hank/hkzw-so08-smartplug.xml" id="0019" name="HKZW-SO08 Smart Plug" type="0100"/>
</Manufacturer>
<Manufacturer id="024C" name="Hankook Gas Kiki CO.LTD"></Manufacturer>
<Manufacturer id="025C" name="Hauppauge"></Manufacturer>
Expand Down
28 changes: 20 additions & 8 deletions cpp/build/testconfigversions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@
'md5' => 'c4775cc1e44d3580cf6cadede3c1dca34dc94d9cb573888775ded7da5f224035853690d715ce8c7de0031d1e5df637d0da1ff7c1c86957755f09b65bcd4677f5'
},
'config/aeotec/zw100.xml' => {
'Revision' => 24,
'md5' => 'd7844707b29f8fe526d94aca4b1a47a26a3639e8d4a681199bb2775024d2f273c7be634cba65062d1ba2000803491af6aa654bcf33969e7ab870ffc80ce6f673'
'Revision' => 25,
'md5' => '3260a03fd6b6656d02ce4d70755e72cd7af35b0e1ed1c95efed230c8ee7d5bc13443092e031977d114efad81e43b35af53ba965b9c12b6a8e5c30b1e4fc59b02'
},
'config/aeotec/zw111.xml' => {
'Revision' => 8,
Expand Down Expand Up @@ -364,8 +364,8 @@
'md5' => 'b64f170b079ae1340bd4a74ef3a88f0cdf66281fa28d656b46f408b183d04c8e6a67f584f90dd6f8b2aa1fc2b2039e32b936f6f947394d28002b3d3a2a47cadb'
},
'config/aeotec/zw141.xml' => {
'Revision' => 7,
'md5' => '3707dc66d31c2b7b68d3067021825beb48e00aaf04802a8b5f69dbccb2e1228cb0fa10ea71e3fe1f4ce2f1ac92958504fe3200552f8daca10024da401d9bb7ea'
'Revision' => 8,
'md5' => '06b71d604f18c6a9a1dc5f7dd9ed31e561ad406814d96e2b2cf5d7242db12fc19ca5cea9d15901f8d22050fbdf9eb33c21099feacf53f692418d3f517fb27961'
},
'config/aeotec/zw162.xml' => {
'Revision' => 8,
Expand Down Expand Up @@ -419,6 +419,10 @@
'Revision' => 1,
'md5' => 'dea1ef33d8f6ee2abbe83a0aabd9c9e22e4a9d86e0715f1ee90c8851ed135ff27521ddd6cc308cd09648e2aca4a498903054fd5ee66f3338098f9ce81fcef2f3'
},
'config/aeotec/zwa011.xml' => {
'Revision' => 1,
'md5' => 'a67f8c997e6813f1772b4e980ad1580327d4f993fe007442580b9a37163bf732ddecd431fdd944e8d1f5841f9a55ad8cd43e4a5b5471709748b5974e7171e55e'
},
'config/aeotec/zwa012.xml' => {
'Revision' => 1,
'md5' => 'bcfcf5d1a552ab8a8ac6ab7586f3de4cd7189d72a11e60bbad6b0038eb33f1d4acba164b625e7d8343b712aa27752fbe9f17f5ee9294ce82599e7abdf6c675f9'
Expand Down Expand Up @@ -1459,6 +1463,10 @@
'Revision' => 3,
'md5' => '6dc4cc5e720bb5c534f25510f20c134baffb3d4b1f68704d397bab9775b6b14397471dee6469f230ecb81afd79363837589a531be926a7d3e789e82b4c1c5a83'
},
'config/hank/hkzw-so08-smartplug.xml' => {
'Revision' => 3,
'md5' => '825fa7c75df29cad9ad3d2556e2b3c3eed5636ee0a4b2ca3af5eeb0542908373eac082b2db0839ec362d18332842add4fc09aca713629fed8c092e9dcf576fde'
},
'config/hank/scenecontroller1.xml' => {
'Revision' => 3,
'md5' => 'e748ff7ae3bb3358e80b863cdea2103275dbf536edbd538963502c7629aaa623c49b562d092cfbf4db17f7fa2f4b191223ad1e9513c86b58b937eb6504145f7c'
Expand Down Expand Up @@ -1952,8 +1960,8 @@
'md5' => '4d34aeaaea917c229bedbb737e4de1550b2d7db5f9e61566a1c0a39966b6442d381d01f93714e12aae1404797d36854274cc4063dd7424b00d27da238b17a36a'
},
'config/manufacturer_specific.xml' => {
'Revision' => 167,
'md5' => '49cf25b11c0e08a228e10add2adfb48f6ea0a2196cf057a99cf54ea81f90505566e51d6a31760e59039c9903b57f53a36c6b3e7d48068fad8d8a55b2f667bf4c'
'Revision' => 170,
'md5' => '4266bc4b80e80f81016662fda6051f0c7f27ff4e8f35b433708374eced543e220c22dc5099073f1a33763413af26f1ab0adc01052d86b39b9c8a9cde1dcf5892'
},
'config/mcohome/a8-9.xml' => {
'Revision' => 1,
Expand Down Expand Up @@ -2384,8 +2392,8 @@
'md5' => 'de18029a1539e10dd15fc85ede084182e1cfcbc78325602ca6e5b428884f6db6ce1bebdbea331a8ca0f4ba133828c09f13ce6c1f8486871a5ca9c17258358ba1'
},
'config/qubino/ZMNHHDx.xml' => {
'Revision' => 2,
'md5' => '190639b81177c88bd4a340e96d83578085f35ede860d7bc613bc879e4baff907c951d498696a52d84659936714855efae2a62e183d279957e3a8bda14d949a26'
'Revision' => 3,
'md5' => '1670fc7355688ae031018b28e6b3c184b3efa84a964b6d7b435175842e43a1ff445c5cdc7a336f71203fbd4d53ad9169a61968fac2b760db7339d9d5b58538b0'
},
'config/qubino/ZMNHIA2.xml' => {
'Revision' => 2,
Expand Down Expand Up @@ -2419,6 +2427,10 @@
'Revision' => 3,
'md5' => '5024808b8551691103b25c05fe37ae3b49499a38fe0491bcd492accab0eb346b7e810c3132cd67e1920ed0d971f07dd9303a3b774276aab38ac04610fe5dbd50'
},
'config/qubino/ZMNHMDx.xml' => {
'Revision' => 1,
'md5' => '10bb3f3f11e86e4ec0e164e74e69f990864cd9fd76a4b407b1c26c54f5bcd5f16c3dc08482988b4f557f244da5cbb61b6555d5b1496d5ce3d7086868cd4ba3bc'
},
'config/qubino/ZMNHNDx.xml' => {
'Revision' => 6,
'md5' => 'a10317520ca58616369d1d7782640ffeb84fb778c781f3bb39e7d6a0f22cfdad7aedb65b781f632e36c2c9837188019d00bb8b6509bc022719a64a77ea2c6277'
Expand Down
9 changes: 9 additions & 0 deletions distfiles.mk
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ DISTFILES = .gitignore \
config/aeotec/zwa006.xml \
config/aeotec/zwa008.xml \
config/aeotec/zwa009.xml \
config/aeotec/zwa011.xml \
config/aeotec/zwa012.xml \
config/aeotec/zwa019.xml \
config/aeotec/zwa021.xml \
Expand Down Expand Up @@ -517,6 +518,7 @@ DISTFILES = .gitignore \
config/images/aeotec/zwa005.png \
config/images/aeotec/zwa006.png \
config/images/aeotec/zwa009.png \
config/images/aeotec/zwa011.png \
config/images/aeotec/zwa012.png \
config/images/aeotec/zwa019.png \
config/images/aeotec/zwa021.png \
Expand Down Expand Up @@ -891,6 +893,7 @@ DISTFILES = .gitignore \
config/images/qubino/ZMNHCDx.png \
config/images/qubino/ZMNHDA2.png \
config/images/qubino/ZMNHDDx.png \
config/images/qubino/ZMNHHDx.png \
config/images/qubino/ZMNHIDx.png \
config/images/qubino/ZMNHNDx.png \
config/images/qubino/ZMNHODx.png \
Expand Down Expand Up @@ -1030,6 +1033,7 @@ DISTFILES = .gitignore \
config/images/widom/WTED.png \
config/images/wink/wnk-mot1.png \
config/images/wink/wnk-sir1p.png \
config/images/zen17.png \
config/images/zipato/HS1CA-Z.png \
config/images/zipato/HS1CG-Z.png \
config/images/zipato/HS1SA-Z.png \
Expand All @@ -1046,6 +1050,7 @@ DISTFILES = .gitignore \
config/images/zooz/zen06.png \
config/images/zooz/zen15.png \
config/images/zooz/zen16.png \
config/images/zooz/zen17.png \
config/images/zooz/zen20.png \
config/images/zooz/zen20v2.png \
config/images/zooz/zen21.png \
Expand All @@ -1057,6 +1062,7 @@ DISTFILES = .gitignore \
config/images/zooz/zen27.png \
config/images/zooz/zen30.png \
config/images/zooz/zen31.png \
config/images/zooz/zen32.png \
config/images/zooz/zen34.png \
config/images/zooz/zen71.png \
config/images/zooz/zen72.png \
Expand Down Expand Up @@ -1267,6 +1273,7 @@ DISTFILES = .gitignore \
config/qubino/ZMNHKDx.xml \
config/qubino/ZMNHLAx.xml \
config/qubino/ZMNHLDx.xml \
config/qubino/ZMNHMDx.xml \
config/qubino/ZMNHNDx.xml \
config/qubino/ZMNHODx.xml \
config/qubino/ZMNHQDx.xml \
Expand Down Expand Up @@ -1446,6 +1453,7 @@ DISTFILES = .gitignore \
config/zooz/zen07.xml \
config/zooz/zen15.xml \
config/zooz/zen16.xml \
config/zooz/zen17.xml \
config/zooz/zen20.xml \
config/zooz/zen20v2.xml \
config/zooz/zen21.xml \
Expand All @@ -1461,6 +1469,7 @@ DISTFILES = .gitignore \
config/zooz/zen27.xml \
config/zooz/zen30.xml \
config/zooz/zen31.xml \
config/zooz/zen32.xml \
config/zooz/zen34.xml \
config/zooz/zen71.xml \
config/zooz/zen72.xml \
Expand Down

0 comments on commit 38f8f6c

Please sign in to comment.