<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='http://code.google.com/p/open-zwave/'>

<!-- Qubino: ZMNHAA2 Flush 1 Relay -->

	<!-- Configuration  -->
	<CommandClass id="112">
		<Value type="list" genre="config" instance="1" index="1" label="Input 1 switch type" size="1" min="0" max="1" value="1">
			<Help/>
			<Item label="Mono-stable switch type (push button)" value="0" />
			<Item label="Bi-stable switch type" value="1" />
		</Value>
		
		<Value type="list" genre="config" instance="1" index="2" label="Input 2 contact type" size="1" min="0" max="1" value="0">
			<Help/>
			<Item label="NO (normaly open) input type" value="0"/>
			<Item label="NC (normaly close) input type" value="1"/>
		</Value> 
		
		<Value type="list" genre="config" instance="1" index="3" label="Input 3 contact type" size="1" min="0" max="1" value="0">
			<Help/>
			<Item label="NO (normaly open) input type" value="0"/>
			<Item label="NC (normaly close) input type" value="1"/>
		</Value> 
		
		<Value type="list" genre="config" instance="1" index="10" label="Activate / deactivate functions ALL ON/ALL OFF" size="1" min="0" max="255" value="255">
			<Help>Flush 1 relay module responds to commands ALL ON / ALL OFF that may be sent by the main controller or by other controller belonging to the system.</Help>
			<Item label="ALL ON active, ALL OFF active" value="255" />
			<Item label="ALL ON is not active ALL OFF is not active" value="0" />
			<Item label="ALL ON is not active ALL OFF active" value="1" />
			<Item label="ALL ON active ALL OFF is not active" value="2" />
		</Value> 
		
		<Value type="short" genre="config" instance="1" index="11" label="Automatic turning off relay after set time" min="0" max="65535" value="0">
			<Help>0 - Auto OFF disabled. 1 - 65535 => 0,01 second - 655,35 seconds. Auto OFF enabled with define time, step is 10mseconds. Default value 0</Help>
		</Value>
		
		<Value type="list" genre="config" instance="1" index="30" label="Saving the state of the relay after a power failure" size="1" min="0" max="1" value="0">
			<Help/>
			<Item label="Flush 1relay module saves its state before power failure (it returns to the last position saved before a power failure)" value="0" />
			<Item label="Flush 1relay module does not save the state after a power failure, it returns to off position." value="1" />
		</Value>
		
		<Value type="byte" genre="config" instance="1" index="40" label="Power reporting in Watts on power change" size="1" min="0" max="100" value="3">
			<Help>Set value from 0 - 100 (0%- 100%). 0 - Reporting Disabled. 1 - 100 = 1% - 100% Reporting enabled. Power report is send (push) only when actual power in Watts in real time change for more than set percentage comparing to previous actual power in Watts, step is 1%. Default value 3</Help>
		</Value>
		
		<Value type="short" genre="config" instance="1" index="42" label="Power reporting in Watts by time interval" min="0" max="65535" value="300">
				<Help>Set value means time interval (0 - 65535) in seconds, when power report is send. 0 - Reporting Disabled. 1 - 65535 = 1second - 65535 seconds. Reporting enabled. Power report is send with time interval set by entered value. Default value 300 (power report in Watts is send each 300s)</Help>
		</Value>

	</CommandClass>

	<!-- Association Groups -->
	<CommandClass id="133">
		<Associations num_groups="4">
			<Group index="1" max_associations="5" label="Output Q state" auto="true"/>
			<Group index="2" max_associations="5" label="Input I2 state" auto="true" />
			<Group index="3" max_associations="5" label="Input I3 state" auto="true"/>		  
			<Group index="4" max_associations="1" label="Default reporting" auto="true"/>
		</Associations>
	</CommandClass>

	<!-- Remove COMMAND_CLASS_BASIC -->
	<CommandClass id="32" action="remove" />

</Product>
