<?xml version="1.0" encoding="utf-8"?>
<Product Revision="4" xmlns="https://github.com/OpenZWave/open-zwave">
	<MetaData>
		<MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/027a:a002:a000</MetaDataItem>
		<MetaDataItem name="ProductPic">images/zooz/zen27.png</MetaDataItem>
		<MetaDataItem id="000A" name="ZWProductPage" type="0101">https://products.z-wavealliance.org/products/3148</MetaDataItem>
		<MetaDataItem name="ResetDescription">If your primary controller is missing or inoperable, you may need to reset the device to factory settings. To complete the reset process manually, tap-tap-tap’n’hold the upper paddle for at least 10 seconds. The LED indicator will flash to confirm successful reset.
		NOTE: All previously recorded activity and custom settings will be erased from the device’s memory.</MetaDataItem>
		<MetaDataItem name="ExclusionDescription">1. Bring your Z-Wave gateway (hub) close to the switch if possible
2. Put the Z-Wave hub into exclusion mode (not sure how to do that?
ask@getzooz.com)
3. Tap the lower paddle on the switch 3 times quickly</MetaDataItem>
		<MetaDataItem name="InclusionDescription">1. Initiate inclusion (pairing) in the app (or web interface) of your hub.  2. Tap the upper paddle on the switch 3 times quickly.</MetaDataItem>
		<MetaDataItem id="A002" name="FrequencyName" type="A000">U.S. / Canada / Mexico</MetaDataItem>
		<MetaDataItem id="A002" name="Identifier" type="A000">ZEN27</MetaDataItem>
		<MetaDataItem name="ProductManual">https://products.z-wavealliance.org/ProductManual/File?folder=&amp;filename=MarketCertificationFiles/3148/zooz-z-wave-plus-s2-dimmer-switch-zen27-manual.pdf</MetaDataItem>
		<MetaDataItem name="Name">S2 Dimmer</MetaDataItem>
		<MetaDataItem name="Description">Product features:
- Manual or Z-Wave on/off and brightness control
- Simple Direct 3-Way: connect with existing on/off switches in 3-way, 4-way, and 5-way set-ups, no add-on needed (neutral wire required)
- Fully adjustable ramp rate for just the right on/off speed
- Double tap to full brightness feature
- Remembers and restores on/off status after power failure
- LED indicator signals inclusion, exclusion, reset, and setting changes
- Built-in Z-Wave Plus signal repeater to extend network range
- Extended compatibility with LED bulbs, no more flickering!
- S2 security protocol and the latest 500 Z-Wave chip for faster and safer wireless communication
- Customizable LED indicator and air-gap switch for added safety

SPECIFICATIONS:
- Model Number: ZEN27
- Z-Wave Signal Frequency: 908.42 MHz
- Power: 120 VAC, 60 Hz
- Maximum Load: 100 W LED/CFL, 300 W incandescent (100 W with
both sides of heat sink tabs off)
- Range: Up to 100 feet line of sight
- Operating Temperature: 32-104° F (0-40° C)
- Installation and Use: Indoor only

https://www.support.getzooz.com/kb/article/314-zooz-s2-dimmer-zen27-ver-2-08-advanced-settings/
MANUAL CONTROL
Upper Paddle:
1 x tap: load on to last / custom brightness; Scene 1, attribute 00 (button 1)
2 x tap: on to full / max brightness; Scene 1, attribute 03 (button 3)
3 x tap: enter inclusion (pairing) mode; Scene 1, attribute 04 (button 5)
4 x tap: Scene 1, attribute 05 (button 7)
6 x tap: change LED indicator mode (see parameter 2)
10 x tap: change physical / Z-Wave control mode (see parameter 15)
press and hold: increase brightness level
tap-tap-tap-and-hold: factory reset

Lower Paddle:
1 x tap: load off; Scene 2, attribute 00 (button 2)
2 x tap: Scene 2, attribute 03 (button 4)
3 x tap: enter exclusion (unpairing) mode; Scene 2, attribute 04 (button 6)
4 x tap: Scene 2, attribute 05 (button 8)
press and hold: decrease brightness level
tap-tap-tap-and-hold: factory reset
		</MetaDataItem>
		<ChangeLog>
			<Entry author="David Alden - dave@alden.name" date="23 Oct 2019" revision="2">Initial Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/3148/xml - this requires v2.0 (or newer) firmware</Entry>
			<Entry author="Brad Parker - https://github.com/bepsoccer" date="13 April 2020" revision="3">Updated for firmware version 2.08</Entry>
			<Entry author="Brad Parker - https://github.com/bepsoccer" date="28 May 2020" revision="4">Updated for param 9 min value</Entry>
		</ChangeLog>
	</MetaData>

	<!-- https://products.z-wavealliance.org/products/3148 -->

	<!-- Configuration Parameters -->
	<CommandClass id="112">
		<Value type="list" genre="config" index="1" label="Paddle Control" size="1" min="0" max="2" value="0">
			<Help>Normal mode: Upper paddle turns the light on, lower paddle turns the light off.  Reverse mode: Upper paddle turns the light off, lower paddle turns the light on.  Toggle mode: Either paddle toggles the light.</Help>
			<Item label="Normal" value="0"/>
			<Item label="Reverse" value="1"/>
			<Item label="Toggle" value="2"/>
		</Value>
		<Value type="list" genre="config" index="2" label="LED Indication Control" size="1" min="0" max="3" value="0">
			<Help>LED Indication light function.  Normal has the LED Indication on when the switch is off, off when the switch is on. </Help>
			<Item label="Normal" value="0"/>
			<Item label="Reverse" value="1"/>
			<Item label="Always Off" value="2"/>
			<Item label="Always On" value="3"/>
		</Value>
		<Value type="list" genre="config" index="3" label="Enable Auto Turn-Off Timer" size="1" min="0" max="1" value="0">
			<Help></Help>
			<Item label="Disabled" value="0"/>
			<Item label="Enabled" value="1"/>
		</Value>
		<Value type="int" genre="config" index="4" label="Auto Turn-Off Timer Duration" size="4" min="1" max="65535" value="60" units="minutes">
			<Help>Time, in minutes, for auto-off timer delay.</Help>
		</Value>
		<Value type="list" genre="config" index="5" label="Enable Auto Turn-On Timer" size="1" min="0" max="1" value="0">
			<Help></Help>
			<Item label="Disabled" value="0"/>
			<Item label="Enabled" value="1"/>
		</Value>
		<Value type="int" genre="config" index="6" label="Auto Turn-On Timer Duration" size="4" min="1" max="65535" value="60" units="minutes">
			<Help>Set the time (in minutes) after which you want the switch to automatically turn on once it has been turned off.</Help>
		</Value>
		<Value type="list" genre="config" instance="1" index="7" label="Association Reports" units="" min="0" max="15" value="15" size="1">
			<Help>Choose which physical and Z-Wave triggers should prompt the switch to send a status change report to associated devices.</Help>
			<Item label="none" value="0" />
			<Item label="physical tap on ZEN27 only" value="1" />
			<Item label="physical tap on connected 3-way switch only" value="2" />
			<Item label="physical tap on ZEN27 or connected 3-way switch" value="3" />
			<Item label="Z-Wave command from hub" value="4" />
			<Item label="physical tap on ZEN27 or Z-Wave command from hub" value="5" />
			<Item label="physical tap on connected 3-way switch or Z-Wave command from hub" value="6" />
			<Item label="physical tap on ZEN27 / connected 3-way switch or Z-Wave command from hub" value="7" />
			<Item label="timer only" value="8" />
			<Item label="physical tap on ZEN27 or timer" value="9" />
			<Item label="physical tap on connected 3-way switch or timer" value="10" />
			<Item label="physical tap on ZEN27 / connected 3-way switch or timer" value="11" />
			<Item label="Z-Wave command from hub or timer" value="12" />
			<Item label="physical tap on ZEN27, Z-Wave command from hub, or timer" value="13" />
			<Item label="physical tap on ZEN27 / connected 3-way switch, Z-Wave command from hub, or timer" value="14" />
			<Item label="all of the above. (default)" value="15" />
		</Value>
		<Value type="list" genre="config" index="8" label="On Off Status After Power Failure" size="1" min="0" max="2" value="2">
			<Help>Status after power failure.  Off: always turn light off.  On: always turn light on.  Restore: remember the latest state and restore that state.</Help>
			<Item label="Off" value="0"/>
			<Item label="On" value="1"/>
			<Item label="Restore" value="2"/>
		</Value>
		<Value type="byte" genre="config" index="9" label="Ramp Rate Control" size="1" min="0" max="99" value="1" units="seconds">
			<Help>Adjust the physical ramp rate for your dimmer (fade-in / fade-out effect for on / off operation). Values correspond to the number of seconds it take for the dimmer to reach full brightness or turn off when operated manually. This setting is for physical taps only, see parameter 17 to adjust Z-Wave ramp rate. Values: 1 – 99 (seconds). 0 – instant on/off. Default: 1</Help>
		</Value>
		<Value type="byte" genre="config" index="10" label="Minimum Brightness" size="1" min="1" max="99" value="1" units="%">
			<Help>Set the minimum brightness level (in %) for your dimmer. You won't be able to dim the light below the set value.</Help>
		</Value>
		<Value type="byte" genre="config" index="11" label="Maximum Brightness" size="1" min="1" max="99" value="99" units="%">
			<Help> Set the maximum brightness level (in %) for your dimmer. You won't be able to add brightness to the light beyond the set value. Note: if Parameter 12 is set to value "Full", Parameter 11 is automatically disabled.</Help>
		</Value>
		<Value type="list" genre="config" index="12" label="Double Tap Function" size="1" min="0" max="1" value="0">
			<Help>Double Tap action.  When set to Full, turns light on to 100%.  If set to Maximum Level, turns light on to % set in Parameter 11.</Help>
			<Item label="Full" value="0"/>
			<Item label="Maximum Level" value="1"/>
		</Value>
		<Value type="list" genre="config" index="13" label="Enable/Disable Scene Control" size="1" min="0" max="1" value="0">
			<Help>Enable or Disable scene control functionality for quick double tap triggers.</Help>
			<Item label="Disabled" value="0"/>
			<Item label="Enabled" value="1"/>
		</Value>
		<Value type="list" genre="config" index="14" label="Enable/Disable Double-tap" size="1" min="0" max="2" value="0">
			<Help>Enables/Disables the double-tap function and assign brightness to single tap.  Last level: single tap returns to last brightness level.  Full/Max level: single tap returns to full/max level</Help>
			<Item label="Enabled" value="0"/>
			<Item label="Disabled (last level)" value="1"/>
			<Item label="Disabled (full/max level)" value="2"/>
		</Value>
		<Value type="list" genre="config" instance="1" index="15" label="Smart Bulb Mode: Enable/Disable Paddle / Z-Wave Control" units="" min="0" max="2" value="1" size="1">
			<Help>Enable or disable local on/off control. If enabled, you’ll only be able to control the connected light via Z-Wave. Scenes and other functionality will still be available through paddles.</Help>
			<Item label="physical paddle control disabled" value="0" />
			<Item label="physical paddle control enabled (default)" value="1" />
			<Item label="physical paddle and Z-Wave control disabled" value="2" />
		</Value>
		<Value type="byte" genre="config" instance="1" index="16" label="Physical Dimming Speed" units="" min="1" max="99" value="4">
			<Help>Set the time it takes to get from 0% to 100% brightness when pressing and holding the paddle (physical dimming). The number entered as value corresponds to the number of seconds. Default: 4</Help>
		</Value>
		<Value type="list" genre="config" instance="1" index="17" label="Zwave Ramp Rate Control" units="" min="0" max="1" value="1" size="1">
			<Help>Choose if you want to set the Z-Wave ramp rate independently of the physical ramp rate (using an appropriate command in your hub) or if you want them to match.</Help>
			<Item label="Z-Wave ramp rate matches the physical ramp rate set in parameter 9" value="0" />
			<Item label="Z-Wave ramp rate is set independently using appropriate Z-Wave commands (default)" value="1" />
		</Value>
		<Value type="byte" genre="config" instance="1" index="18" label="Custom Brightness Level On" units="" min="0" max="99" value="0">
			<Help>Set the custom brightness level (instead of the last set brightness level) you want the dimmer to come on to when you single tap the upper paddle. Default: 0 - last brightness level</Help>
		</Value>
		<Value type="list" genre="config" instance="1" index="20" label="Zwave tap and hold Control" units="" min="0" max="1" value="0" size="1">
			<Help>Choose how you'd like the dimmer to report when paddles are tapped and held and physical / Z-Wave control is enabled or disabled.</Help>
			<Item label="report each brightness level to hub when physical / Z-Wave control is disabled for physical dimming (final level only reported if physical / Z-Wave control is enabled)" value="0" />
			<Item label="report final brightness level only for physical dimming, regardless of the physical / Z-Wave control mode" value="1" />
		</Value>
		<Value type="list" genre="config" instance="1" index="21" label="Reporting behavior with disabled physical control" units="" min="0" max="1" value="0" size="1">
			<Help>Set reporting behavior for disabled physical control.</Help>
			<Item label="switch reports on/off status and changes LED indicator state even if physical and Z-Wave control is disabled (default)" value="0" />
			<Item label="switch doesn't report on/off status or change LED indicator state when physical (and Z-Wave) control is disabled" value="1" />
		</Value>
		<Value type="byte" genre="config" instance="1" index="22" label="Night Light Mode" units="" min="0" max="99" value="20">
			<Help>Set the brightness level the dimmer will turn on to when off and when lower paddle is held DOWN for a second. Default: 20</Help>
		</Value>
	</CommandClass>

	<!-- Association Groups -->
	<CommandClass id="133">
		<Associations num_groups="2">
			<Group index="1" max_associations="1" label="Lifeline"/>
			<Group index="2" max_associations="5" label="Status"/>
		</Associations>
	</CommandClass>
</Product>
