<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="1">
    <!--
    Qubino: ZMNHODx Flush shutter DC

     ZMNHOD1 868,4 MHz
     ZMNHOD2 921,4 MHz
     ZMNHOD3 908,4 MHz
     ZMNHOD4 869,0 MHz
     ZMNHOD5 916,0 MHz
    -->
    <!-- Configuration  -->
    <CommandClass id="112">
        <Value type="list" genre="config" instance="1" index="10" label="Activate / deactivate functions ALL ON/ALL OFF" size="2" min="0" max="255" value="255">
            <Help>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="byte" genre="config" instance="1" index="40" label="Power reporting in Watts on power change" size="1" min="0" max="100" value="1">
            <Help>Set value from 0 - 100 (0% - 100%). 0 - Reporting Disabled. 1 to 100 = 1% to 100% Reporting enabled.
                Power report is send (push) only when actual power (in Watts) in real time changes for more
                than set percentage comparing to previous actual power in Watts, step is 1%. Default value 1</Help>
        </Value>

        <Value type="short" genre="config" instance="1" index="42" label="Power reporting in Watts by time interval" min="0" max="32767" value="300">
            <Help>Set value means time interval (0 - 32767) in seconds, when power report is send.
                0 - Reporting Disabled.
                1 - 32767) = 1second - 32767) seconds, Reporting enabled.
                Power report is send with time interval set by entered value.</Help>
        </Value>

        <Value type="list" genre="config" instance="1" index="45" label="Self-measurement" size="1" min="0" max="1" value="0">
            <Help>Module may include power and energy used by module itself in reports sent to the main controller</Help>
            <Item label="Disabled" value="0" />
            <Item label="Eable" value="1" />
        </Value>

        <Value type="list" genre="config" instance="1" index="71" label="Operating modes" size="1" min="0" max="1" value="0">
            <Help>Defines selection between two available operating modes. 0 Shutter mode
                1 Venetian mode (up/down and slate tilting)
                Note: When setting parameter, module needs to be reconfigured! Please check detailed description in this manual.
            </Help>
            <Item label="Shutter" value="0" />
            <Item label="Venetian" value="1" />
        </Value>

        <Value type="short" genre="config" instance="1" index="72" label="Slats tilting full turn time" min="0" max="32767" value="150">
            <Help>
                Defines the time necessary for slats to make full turn (180 degrees).
                0 Tilting time disabled
                1 to 32767 = 0,01seconds to 327,67 seconds
                Note: If time set is too high, this will result that after full turn, shutter will start move up or down, for time remaining.
            </Help>
        </Value>

        <Value type="list" genre="config" instance="1" index="73" label="Slats position" size="1" min="0" max="2" value="2">
            <Help>
                This parameter defines slats position after up/down movement through UI or push buttons, return to previously set position only in case of
                0 - UI control.
                1 - UI control, momentary switch operation, or when the limit switch is reached.
                2 - UI control, Push button, Limit switch is reached, after receiving a STOP control frame from UI.
                ( Default value 2 )
            </Help>
            <Item label="UI control" value="0" />
            <Item label="UI control, momentary switch operation, limit switch is reached" value="1" />
            <Item label="UI control, push button, limit switch is reached, STOP Frame" value="2" />
        </Value>

        <Value type="short" genre="config" instance="1" index="74" label="Motor moving up/down time" min="0" max="32767" value="0">
            <Help>
                Defines shutter motor moving time of complete opening or complete closing.
                0 - moving time disabled (working with limit switches)
                1 - 32767 = 0,1seconds - 3276,7seconds. After that time motor is stopped (relay goes to off state)
                See complete note in documentation.
            </Help>
        </Value>

        <Value type="byte" genre="config" instance="1" index="76" label="Motor operation detection" min="5" max="100" value="6">
            <Help>Power threshold to be interpreted when motor reach the limit switch.
                Available settings: 5 to 100 (0,5 W to 10 W), step is 0,1W.</Help>
        </Value>

        <Value type="list" genre="config" instance="1" index="78" label="Forced Shutter calibration" size="1" min="0" max="1" value="0">
            <Help>By modifying the parameters setting, Shutter enters the calibration mode.
                (after shutter performs the calibration process, completing full cycle - up, down and up,
                set the parameter value back to default. )
            </Help>
            <Item label="Default" value="0" />
            <Item label="Start calibration process" value="1" />
        </Value>

        <Value type="list" genre="config" instance="1" index="80" label="Power reporting to controller" size="1" min="0" max="1" value="1">
            <Help>
                Defines if reporting regarding power level, multilevel, etc.., are reported to controller or not.
            </Help>
            <Item label="Disabled" value="0" />
            <Item label="Enable" value="1" />
        </Value>

        <Value type="byte" genre="config" instance="1" index="85" label="Power consumption max delay time" min="3" max="50" value="8">
            <Help>Defines the max time before motor power consumption is read after one of the relays is switched ON.
                If there is no power consumption during this max time
                (motor not connected, damaged or requires higher time to start, motor in end position,...) the relay will switch OFF.
                Available settings: 3 - 50 = 0,3 seconds - 5 seconds (100ms resolution).
            </Help>
        </Value>

        <Value type="byte" genre="config" instance="1" index="86" label="Power consumption at limit switch delay time" min="3" max="50" value="8">
            <Help>Defines the max time at limit switch, when power consumption is below power threshold.
                If the power consumption during this time is below power threshold (par. 76), the active output will switch off, means that limit switch is reached.
                Available settings: 3 - 50 = 0,3 seconds - 5 seconds (100ms resolution).
            </Help>
        </Value>

        <Value type="byte" genre="config" instance="1" index="90" label="Delay time between outputs" min="1" max="30" value="5">
            <Help>Defines the time delay between output relay switching (time between switching up/down and vice versa).
                Available settings: 1 - 30 = 0,1 seconds - 3 seconds (100ms resolution).
            </Help>
        </Value>

        <Value type="short" genre="config" instance="1" index="110" label="Temperature sensor offset settings" min="1" max="1100" value="32536">
            <Help>
                From 1 to 100 - value from 0.1 C to 10.0 C is added to actual measured temperature.
                From 1001 to 1100 - value from -0.1 C to -10.0 C is subtracted to actual measured temperature.
            </Help>
        </Value>

        <Value type="byte" genre="config" instance="1" index="120" label="Digital temperature sensor reporting" min="0" max="127" value="5">
            <Help>If digital temperature sensor is connected, module reports measured temperature on temperature change defined by this parameter.
                Available settings: 0 - Reporting disabled.
                1 - 127 = 0,1C - 12,7C, step is 0,1C.
            </Help>
        </Value>

    </CommandClass>

    <!-- Association Groups -->
    <CommandClass id="133">
        <Associations num_groups="9">
            <Group index="1" max_associations="1" label="Lifeline" />
            <Group index="2" max_associations="16" label="Basic on/off of the input I1 state" />
            <Group index="3" max_associations="16" label="Basic on/off of the input I2 state" />
            <Group index="4" max_associations="16" label="Flush shutter DC direction" />
            <Group index="5" max_associations="16" label="Stop level change"/>
            <Group index="6" max_associations="16" label="Triggered at reaching roller position"/>
            <Group index="7" max_associations="16" label="Flush shutter DC position"/>
            <Group index="8" max_associations="16" label="Slats tilting position"/>
            <Group index="9" max_associations="16" label="Temperature sensor"/>
        </Associations>
    </CommandClass>

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

</Product>
