<!--
Aeotec ZW141 Nano Shutter, based on Engineering Spec 8/22/2019
Product Type ID: EU=0x00, US=0x01, AU=0x02 CN=0x1D

-->
<Product Revision="7" xmlns="https://github.com/OpenZWave/open-zwave">
  <MetaData>
    <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0086:008D:0103</MetaDataItem>
    <MetaDataItem name="ProductPic">images/aeotec/zw141.png</MetaDataItem>
    <MetaDataItem id="008D" name="ZWProductPage" type="0103">https://products.z-wavealliance.org/products/3693</MetaDataItem>
    <MetaDataItem name="ProductManual">https://products.z-wavealliance.org/ProductManual/File?folder=&amp;filename=product_documents/3693/Nano%20Shutter%20-%20Product%20Manual.pdf</MetaDataItem>
    <MetaDataItem name="ResetDescription">Press and hold the Action button that you can find on the product's housing for 20 seconds and then release. This procedure should only be used when the primary controller is inoperable.</MetaDataItem>
    <MetaDataItem name="ExclusionDescription">Turn the primary controller of Z-Wave network into exclusion mode, quick press the product’s Action button 6 times that you can find on the product's housing or toggle the external manual switch 2 times in fast succession. If the Nano Dimmer has been successfully removed from your Z-Wave network, its RGB LED will remain colorful gradient. If the removal was unsuccessful, the RGB LED will still be solid (following the state of the output load), repeat the instructions above from step 1.</MetaDataItem>
    <MetaDataItem name="Name">Nano Shutter</MetaDataItem>		
    <MetaDataItem name="Description">Aeotec New Generation Nano Shutter 1. Used to control the motor of Curtain, support Shutter Mode and Venetian Mode . 2. Can be calibrated according to diff e rent curtains 3. Used to control other Z-Wave device directly. 4. Support S2, more safe and more re liable 5. Support SmartStart, faster inclusion</MetaDataItem>
    <MetaDataItem id="008D" name="Identifier" type="0003">ZW141-C</MetaDataItem>
    <MetaDataItem id="008D" name="FrequencyName" type="0003">CEPT (Europe)</MetaDataItem>
    <MetaDataItem id="008D" name="ZWProductPage" type="0003">https://products.z-wavealliance.org/Products/3693</MetaDataItem>	 
    <MetaDataItem name="InclusionDescription">
      1. Set your z-wave controller into 'Add Device' mode to add the product into your z-wave network. Refer to the controller's manual if you are unsure of how to perform this step.
      2. Make sure the product is powered on. If not, plug it into a wall socket and power on; the LED will flash a blinking blue light. 
      3. Click the action button once, the LED should flash a blue light for 30 seconds until the product is added into the network. The LED will flash a bright yellow light after being assigned a NodeID. 
      4. If your z-wave controller supports S2 encryption, enter the first 5 digits of the DSK into your controller's interface if/when requested. The DSK is printed on its housing. 
      5. If inclusion fails, the LED will flash a bright red light for 2 second and then flash a blinking blue light; repeat steps 1 to 4. Contact us for further support if needed. 
      6. If inclusion succeeds, the LED will flash a bright blue light for 2 second and then turn to load indicator mode to indicate the product has been added to your z-wave network successfully. You can configure the product and its automations via your smart home automation platform; please refer to your software's user guide for details.
    </MetaDataItem>
    <MetaDataItem name="ExclusionDescription">
      1. Set your z-wave controller into 'Remove Device' mode to remove the product from your z-wave network. Refer to the controller's manual if you are unsure of how to perform this step. 
      2. Click the action / S1 / S2 button 6 times to enter exclusion mode. 
      3. If removal fails, the LED will flash bright red for 2 seconds and then turn return to regular light mode; repeat steps 1-2. Contact us for further support if needed. 
      4. If removal succeeds, the LED will flash a blinking blue light to indicate the product has been removed from the z-wave network successfully.
    </MetaDataItem>
    <MetaDataItem name="ResetDescription">
      Press and hold the action button for at least 20 second and then release. The LED will blink a blue light to indicate the factory reset was successful. Otherwise, please try again. Contact us for further support if needed. 
      This procedure should only be used when the primary controller is missing or inoperable. 
      Factory reset will: a) remove the product from your z-wave network; and b) delete the association setting.
    </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/2903/xml</Entry>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="02 Jun 2019" revision="3">Updated Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/2907/xml</Entry>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="02 Jun 2019" revision="4">Updated Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/2953/xml</Entry>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="03 Jun 2019" revision="5">Updated Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/3075/xml</Entry>
      <Entry author="Duy Nguyen - dooz127@gmail.com" date="16 Feb 2020" revision="6">Updated Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/Products/3693/XML</Entry>	    
      <Entry author="Matej Drobnič - matejdro@gmail.com" date="02 Oct 2020" revision="7">Fixed timing types, Fixed button list types</Entry>	    
    </ChangeLog>
    <MetaDataItem id="008D" name="FrequencyName" type="0103">U.S. / Canada / Mexico</MetaDataItem>
    <MetaDataItem id="008D" name="Identifier" type="0103">ZW141-A</MetaDataItem>
    <MetaDataItem id="008D" name="Identifier" type="0203">ZW141-B</MetaDataItem>
    <MetaDataItem id="008D" name="FrequencyName" type="0203">Australia / New Zealand</MetaDataItem> 
  </MetaData>
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" index="20" label="Motor behavior after powering on" size="1" type="list" units="" value="0">
      <Help>Set the motor behavior after powering on</Help>
      <Item label="Stay the same position" value="0" />
      <Item label="Move to 99%" value="1" />
      <Item label="Move to 0%" value="2" />
    </Value>	
    <Value genre="config" index="22" label="Motor direction" size="1" type="list" units="" value="2">
      <Help>Set to toggle the motor running direction</Help>
    </Value>
    <Value genre="config" index="34" label="Blade turn time" size="2" max="32767" min="10" type="short" units="0.01 seconds" value="150">
      <Help>Set the blade turn time for Venetian mode. Details can be found in section 4.2 of Advanced information Product Manual.</Help>
    </Value>
    <Value genre="config" index="35" label="Curtain trip time" size="2" max="32767" min="500" type="short" units="0.01 seconds" value="15000">
      <Help>Set the run time of the curtain. Details can be found in section 4.2 of Advanced information Product Manual.</Help>
    </Value>
    <Value genre="config" index="36" label="Enter/exit calibration mode" size="1" type="list" units="" value="0" write_only="true"> 
      <Help>Set to enter/exit calibration mode</Help>
      <Item label="Set: Exit calibration mode/Report: Not in calibration mode" value="0" />
      <Item label="Set: Enter shutter mode calibration/Report: in shutter mode calibration" value="1" />
      <Item label="Set: Enter Venetian mode calibration/Report: in Venetian mode calibration" value="2" />
    </Value>
    <Value genre="config" index="37" label="User confirmation for calibration" size="1" type="list" units="" value="0" write_only="true">
      <Help>Set user confirmation for calibration</Help>
      <Item label="Default" value="0" />
      <Item label="Confirm calibration" value="1" />
    </Value>
    <Value genre="config" index="38" label="Calibration mode status report" size="1" type="list" units="" value="0" read_only="true">
      <Help>Get calibration mode status report</Help>
      <Item label="Calibration mode complete" value="0" />
      <Item label="Start calibration mode, going to reference point A" value="1" />
      <Item label="Reach reference point A, going to reference point B" value="2" />
      <Item label="Reach reference point B, waiting for blade turn calibration" value="3" />
      <Item label="Going to reference point C" value="4" />
      <Item label="Calibration mode terminated" value="5" />
    </Value>	
    <Value genre="config" index="39" label="Curtain mode opeation" size="1" type="list" units="" value="0">
      <Help>Set the curtain mode operation</Help>
      <Item label="Shutter mode" value="0" />
      <Item label="Venetian mode" value="1" />
    </Value>
    <Value genre="config" index="40" label="Repositioning" size="1" type="list" units="" value="1" write_only="true">
      <Help>Set to begin repositioning</Help>
      <Item label="Default" value="0" />
      <Item label="In repositioning" value="1" />
    </Value>		
    <Value genre="config" index="41" label="Repositioning status report" size="1" type="list" units="" value="0" read_only="true">
      <Help>Get repositioning status report</Help>
      <Item label="Repositioning complete" value="0" />
      <Item label="In repositioning" value="1" />
    </Value>
    <Value genre="config" index="42" label="Calibration lock" size="1" type="list" units="" value="1">
      <Help>Enable/disable calibration lock</Help>
      <Item label="Disable calibration" value="0" />
      <Item label="Enable calibration" value="1" />
    </Value>
    <Value genre="config" index="48" label="S1 scene activation" size="1" type="list" units="" value="0">
      <Help>Set S1 scene activation</Help>
      <Item label="Enable S1 'Key pressed one time'" value="1" />
      <Item label="Enable S1 'Key released'" value="2" />
      <Item label="Enable S1 'Key held down'" value="4" />
      <Item label="Enable S1 'Key pressed two times'" value="8" />
    </Value>  
    <Value genre="config" index="49" label="S2 scene activation" size="1" type="list" units="" value="0">
      <Help>Set S1 scene activation</Help>
      <Item label="Enable S2 'Key pressed one time'" value="1" />
      <Item label="Enable S2 'Key released'" value="2" />
      <Item label="Enable S2 'Key held down'" value="4" />
      <Item label="Enable S2 'Key pressed two times'" value="8" />
    </Value>      		
    <Value genre="config" index="80" label="Type of status report" size="1" type="list" units="" value="2">
      <Help>Select which report to send when switch status changes</Help>
      <Item label="No report" value="0"/>
      <Item label="Basic report" value="1"/>
      <Item label="Switch multilevel report" value="2"/>
    </Value>
    <Value genre="config" index="85" label="External button mode operation" size="1" type="list" units="" value="0">
      <Help>
        Set operation mode of external button. 
        In Operation Mode 1, external button 1 maps to z-wave button, external button 2 opens or stops motor.
        In Operation Mode 2, external button 1 maps to z-wave button, external button 2 closes or stops motor.
      </Help>
      <Item label="Operation Mode 1" value="0"/>
      <Item label="Operation Mode 2" value="1"/>
    </Value>
    <Value genre="config" index="120" label="Set external switch mode for S1" size="1" type="list" units="" value="0">
      <Help>When the mode is determined, this mode value will not be reset after exclusion</Help>
      <Item label="Unidentified" value="0"/>
      <Item label="2-state switch" value="1"/>
      <Item label="3-way switch" value="2"/>
      <Item label="Push button" value="3"/>
      <Item label="Automatic identification mode" value="4"/>
    </Value>  
    <Value genre="config" index="121" label="Set external switch mode for S2" size="1" type="list" units="" value="0">
      <Help>When the mode is determined, this mode value will not be reset after exclusion</Help>
      <Item label="Unidentified" value="0"/>
      <Item label="2-state switch" value="1"/>
      <Item label="3-way switch" value="2"/>
      <Item label="Push button" value="3"/>
      <Item label="Automatic identification mode" value="4"/>
    </Value>
    <Value genre="config" index="243" label="DSK" size="16" type="string" units="" value="0" read_only="true">
      <Help>Get the DSK from the product</Help>
    </Value>   
    <Value genre="config" index="248" label="S1 and S2 operation" size="1" type="list" units="" value="1">
      <Help>Set the operation of external switches S1 and S2</Help>
      <Item label="Enable network inclusion/exclusion" value="1"/>
      <Item label="Enable reset to factory defaults" value="2"/>
      <Item label="Enable network function and reset to factory defaults" value="3" />
    </Value>	
    <Value genre="config" index="255" label="Reset to factory defaults" size="4" type="list" value="0" write_only="true">
      <Help>Reset to factory defaults</Help>
      <Item label="Reset to factory default setting" value="0"/>
      <Item label="Reset to factory default setting and remove from the z-wave network" value="1431655765"/>
    </Value>
  </CommandClass>  
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="2">
      <Group index="1" label="Lifeline" max_associations="5"/>
      <Group index="2" label="Retransmit" max_associations="5"/>
    </Associations>
  </CommandClass>  	
</Product>
