<!--
Aeotec ZW139 Nano Switch, base on Engineering Spec 03/19/2018 V2.0
Product Type ID: EU=0x00, US=0x01, AU=0x02 CN=0x1D 
--><Product Revision="5" xmlns="https://github.com/OpenZWave/open-zwave">
  <MetaData>
    <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0086:008B:0103</MetaDataItem>
    <MetaDataItem name="ProductPic">images/aeotec/zw139.png</MetaDataItem>
    <MetaDataItem id="008B" name="ZWProductPage" type="0103">https://products.z-wavealliance.org/products/2306/</MetaDataItem>
    <MetaDataItem name="Name">Nano Switch</MetaDataItem>
    <MetaDataItem name="Description">Aeotec Nano Switch is a Z-Wave Smart Switch specifically used to enable Z-Wave command and control (on/off) of any wall switches. In the event of power failure, non-volatile memory retains all programmed information relating to the unit’s operating status.
It can connect to 2 external manual switches to control the load ON/OFF independently. Its surface has a pin socket, which can be used for connecting to the touch panel, so you can also use the touch panel to control the Dual Nano Switch.
The Nano Switch is also a security Z-Wave device and supports Over The Air (OTA) feature for the products firmware upgrade.</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, short press the product’s Action button that you can find on the product's housing.</MetaDataItem>
    <MetaDataItem name="ProductManual">https://Products.Z-WaveAlliance.org/ProductManual/File?folder=&amp;filename=Manuals/2320/Nano Switch manual.pdf</MetaDataItem>
    <MetaDataItem id="008B" name="Identifier" type="0103">ZW139-A</MetaDataItem>
    <MetaDataItem id="008B" name="FrequencyName" type="0103">U.S. / Canada / Mexico</MetaDataItem>
    <MetaDataItem name="InclusionDescription">Turn the primary controller of Z-Wave network into inclusion mode, short press the product’s Action button that you can find on the product's housing.</MetaDataItem>
    <ChangeLog>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="02 Jun 2019" revision="3">Initial Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/2306/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/2319/xml</Entry>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="02 Jun 2019" revision="5">Updated Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/2320/xml</Entry>
    </ChangeLog>
    <MetaDataItem id="008B" name="ZWProductPage" type="0203">https://products.z-wavealliance.org/products/2319/</MetaDataItem>
    <MetaDataItem id="008B" name="Identifier" type="0203">ZW139-B</MetaDataItem>
    <MetaDataItem id="008B" name="FrequencyName" type="0203">Australia / New Zealand</MetaDataItem>
    <MetaDataItem id="008B" name="ZWProductPage" type="0003">https://products.z-wavealliance.org/products/2320/</MetaDataItem>
    <MetaDataItem id="008B" name="Identifier" type="0003">ZW139-C</MetaDataItem>
    <MetaDataItem id="008B" name="FrequencyName" type="0003">CEPT (Europe)</MetaDataItem>
  </MetaData>
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" index="4" label="Over heat protection" max="1" min="0" size="1" type="list" units="" value="0">
      <Help>Output load will be closed after 30 seconds if the temperature inside the product exceeds 100C.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value genre="config" index="20" label="Status re-power on" size="1" type="list" value="0">
      <Help>Configure the output load status after re-power on</Help>
      <Item label="The last status before the power outage" value="0"/>
      <Item label="Always on" value="1"/>
      <Item label="Always off" value="2"/>
    </Value>
    <Value genre="config" index="21" label="WallSwipe IR sensor" type="int" value="80">
      <Help>
				Enable/disable the IR sensor of WallSwipe.
				(LSB) Value 1.
				Value 1 = 0, disable the IR Sensor.
				Value 1 = 1, enable the IR Sensor.
				Value 2 = 0, Wave Option 1 is selected.
				Value 2 = 1, Wave Option 2 is selected.
				Value 3 = 0, disable the scene control functionality for Left/Right wave.
				Value 3 = 1, enable the scene control functionality for Left/Right wave
				Value 4 = 0, disable the scene control functionality for all wave actions.
				Value 4 = 1, enable the scene control functionality for all wave actions.
			</Help>
    </Value>
    <Value genre="config" index="64" label="WallSwipe button color" type="int" value="184549375">
      <Help>
				Set the button color of WallSwipe.
				Value 1= Level 1.
				Value 2= the color value of Red.
				Value 3= the color value of Green.
				Value 4= the color value of Blue.
			</Help>
    </Value>
    <Value genre="config" index="65" label="WallSwipe LED Up gesture action" type="int" value="855638015">
      <Help>
				Set the LED indication color of WallSwipe when the gesture action is UP.
				Value 1= Reserved.
				Value 2= the color value of Red.
				Value 3= the color value of Green.
				Value 4= the color value of Blue.
			</Help>
    </Value>
    <Value genre="config" index="66" label="WallSwipe LED Down gesture action" type="int" value="855638015">
      <Help>
				Set the LED indication color of WallSwipe when the gesture action is Down.
				Value 1= Reserved.
				Value 2= the color value of Red.
				Value 3= the color value of Green.
				Value 4= the color value of Blue.
			</Help>
    </Value>
    <Value genre="config" index="67" label="WallSwipe LED Left gesture action" type="int" value="855638015">
      <Help>
				Set the LED indication color of WallSwipe when the gesture action is Left.
				Value 1= Reserved.
				Value 2= the color value of Red.
				Value 3= the color value of Green.
				Value 4= the color value of Blue.
			</Help>
    </Value>
    <Value genre="config" index="68" label="WallSwipe LED Right gesture action" type="int" value="855638015">
      <Help>
				Set the LED indication color of WallSwipe when the gesture action is Right.
				Value 1= Reserved.
				Value 2= the color value of Red.
				Value 3= the color value of Green.
				Value 4= the color value of Blue.
			</Help>
    </Value>
    <Value genre="config" index="69" label="WallSwipe Night light" type="int" value="184483840">
      <Help>
				Set the LED indication color of WallSwipe when it is in Night light state.
				Value 1= Reserved.
				Value 2= the color value of Red.
				Value 3= the color value of Green.
				Value 4= the color value of Blue.
			</Help>
    </Value>
    <Value genre="config" index="71" label="WallSwipe sensitivity" type="byte" value="1">
      <Help>
				Set the sensitivity of WallSwipe.
			</Help>
    </Value>
    <Value genre="config" index="80" label="Notification report association group 1" size="1" type="list" units="" value="3">
      <Help>To set which notification would be sent to the associated nodes in association group 1 when the state of output load is changed</Help>
      <Item label="None" value="0"/>
      <Item label="Hail" value="1"/>
      <Item label="Basic" value="2"/>
      <Item label="Hail CC when using the external switch to switch the loads" value="3"/>
    </Value>
    <Value genre="config" index="81" label="Notification report using the external switch 1" size="1" type="list" units="" value="1">
      <Help>To set which notification would be sent to the associated nodes in association group 3 when using the external switch 1 to switch the loads</Help>
      <Item label="None" value="0"/>
      <Item label="Basic" value="1"/>
    </Value>
    <Value genre="config" index="82" label="Notification report using the external switch 2" size="1" type="list" units="" value="1">
      <Help>To set which notification would be sent to the associated nodes in association group 4 when using the external switch 2 to switch the loads</Help>
      <Item label="None" value="0"/>
      <Item label="Basic" value="1"/>
    </Value>
    <Value genre="config" index="83" label="LED status" size="1" type="list" units="" value="0">
      <Help>Configure the state of LED when it is in 3 modes below</Help>
      <Item label="The LED will follow the status" value="0"/>
      <Item label="LED will follow the status (on/off) of its load but the LED will turn off after 5 seconds" value="1"/>
      <Item label="Night light mode" value="2"/>
    </Value>
    <Value genre="config" index="84" label="Time set for Night light mode" type="int" value="301991936">
      <Help>
				Value1: Hour of ON.
				Value2: Minute of ON.
				Value3: Hour of OFF.
				Value4: Minute of OFF.
				E.g. The default setting is the Night light mode is enabled at 12: 00 and disabled at 8:00 0x12000800.
			</Help>
    </Value>
    <Value genre="config" index="86" label="Set the ON time of output load" type="int" value="8327680">
      <Help>
				Value1: 0= Disable / 1= Enable.
				Value2: Weekday (Bit 0-6 means Monday to Sunday).
				Value3: Hour of turning OFF.
				Value4: Minute of turning OFF
				E.g. The default setting 0x007F1200
			</Help>
    </Value>
    <Value genre="config" index="87" label="Set the OFF time of output load" type="int" value="8328960">
      <Help>
				Value1: 0= Disable / 1= Enable.
				Value2: Weekday (Bit 0-6 means Monday to Sunday).
				Value3: Hour of turning OFF.
				Value4: Minute of turning OFF
				E.g. The default setting 0x001707F00
			</Help>
    </Value>
    <Value genre="config" index="120" label="Set the external S1 mode" max="3" min="0" size="1" type="list" units="" value="0">
      <Help>When the switch mode of S1 is determined or identified or configured, this mode value will not be reset after exclusion</Help>
      <Item label="Unknown switch mode" value="0"/>
      <Item label="2-state switch" value="1"/>
      <Item label="3-way switch" value="2"/>
      <Item label="Momentary button" value="3"/>
      <Item label="Automatic identification mode" value="4"/>
    </Value>
    <Value genre="config" index="121" label="Set the external S2 mode" max="3" min="0" size="1" type="list" units="" value="0">
      <Help>When the switch mode of S2 is determined or identified or configured, this mode value will not be reset after exclusion</Help>
      <Item label="Unknown switch mode" value="0"/>
      <Item label="2-state switch" value="1"/>
      <Item label="3-way switch" value="2"/>
      <Item label="Momentary button" value="3"/>
      <Item label="Automatic identification mode" value="4"/>
    </Value>
    <Value genre="config" index="122" label="Set the control destination of the external switch" max="3" min="0" size="1" type="list" units="" value="3">
      <Help></Help>
      <Item label="Control itself" value="1"/>
      <Item label="Control other nodes in the same network" value="2"/>
      <Item label="Control itself and other nodes in the same network" value="3"/>
    </Value>
    <Value genre="config" index="144" label="WallSwipe" max="1" min="0" read_only="true" size="1" type="list" units="" value="0">
      <Help>Get the state of touch panel port</Help>
      <Item label="Disconnected" value="0"/>
      <Item label="Connected" value="1"/>
    </Value>
    <Value genre="config" index="247" label="S1/S2 when the Switch mode is 3-way switch" max="3" min="0" size="1" type="list" units="" value="0">
      <Help>Set the working way for S1/S2 when the Switch mode is 3-way switch mode.</Help>
      <Item label="S1 and S2 is a toggle switch" value="0"/>
      <Item label="S1 is an On/Off switch" value="1"/>
      <Item label="S2 is an On/Off switch" value="2"/>
      <Item label="S1 and S2 are an On/Off switch" value="3"/>
    </Value>
    <Value genre="config" index="248" label="Function of S1/S2" type="byte" units="" value="131">
      <Help>
				Set the function of S1/S2.
				Bit 0 = 0, the function of sending NIF is disabled.
				Bit 0 = 1, the function of sending NIF is enabled.
				Bit 1 = 0, the function of entering RF power level test mode is disabled.
				Bit 1 = 1, the function of entering RF power level test mode is enabled.
				Bit 2 = 0, the function of factory reset is disabled.
				Bit 2 = 1, the function of factory reset is enabled.
				Bit 3 to Bit 6 are reserved.
				Bit 7 = 0, the setting for Bit 0 to Bit 2 are ineffective. Bit 7 = 1, the setting for Bit 0 to Bit 2 are effective.
			</Help>
    </Value>
    <Value genre="config" index="251" label="Configuration factory reset function" max="1" min="0" size="1" type="list" units="" value="1">
      <Help>Enable/disable the factory reset function of Action Button, external switches or WallSwipe.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value genre="config" index="255" label="Reset To Factory Defaults" size="4" type="list" value="1" write_only="true">
      <Help>Reset to factory defaults</Help>
      <Item label="Reset to factory default setting" value="0"/>
      <Item label="Normal" value="1"/>
      <Item label="Reset to factory default setting and removed from the z-wave network" value="1431655765"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="4">
      <Group index="1" label="Lifeline" max_associations="5"/>
      <Group index="2" label="Retransmit" max_associations="5"/>
      <Group index="3" label="Control Key1" max_associations="5"/>
      <Group index="4" label="Control Key2" max_associations="5"/>
    </Associations>
  </CommandClass>
</Product>
