<!--
Qubino: ZMNHIDx Flush On Off thermostat Z-Wave+ H1S2P1
ZMNHID1 868,4 MHz
ZMNHID2 921,4 MHz
ZMNHID3 908,4 MHz
ZMNHID4 869,0 MHz
ZMNHID5 916,0 MHz

ref: http://qubino.com/download/1061/
-->
<Product Revision="3" xmlns="https://github.com/OpenZWave/open-zwave">
    <MetaData>
        <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0159:0051:0005</MetaDataItem>
        <MetaDataItem name="ProductPic">images/qubino/ZMNHIDx.png</MetaDataItem>
        <MetaDataItem id="0051" name="ZWProductPage" type="0005"></MetaDataItem>
        <MetaDataItem name="ExclusionDescription">
            1. Connect the device to the power supply
            2. Make sure the device is within direct range of your Z-Wave gateway (hub) or use a hand-held Z-Wave remote to perform exclusion
            3. Enable add/remove mode on your Z-Wave gateway (hub)
            4. Toggle the switch connected to the I1 terminal 3 times within 3 seconds
            OR
            If the device is powered by 24 V SELV supply, press and hold the S (Service) button between 2 and 6 seconds
            5. The device will be removed from your network but any custom configuration parameters will not be erased
        </MetaDataItem>
        <MetaDataItem name="Description">The Qubino Flush On/Off Thermostat 2 is ideal for remotely controlling electric
            or water-based underfloor heating systems, electric water heaters, hot water pumps, electric radiators, and
            similar devices.
        </MetaDataItem>
        <MetaDataItem name="ProductManual"></MetaDataItem>
        <MetaDataItem id="0051" name="FrequencyName" type="0005">CEPT (Europe)</MetaDataItem>
        <MetaDataItem name="InclusionDescription">
            1. Enable add/remove mode on your Z-Wave gateway (hub)
            2. Connect the device to the power supply (with the temperature sensor already connected*)
            3. Toggle the switch connected to the I1 terminal 3 times within 3 seconds. The device has to get On/Off signal 3 times, meaning 3 times push on the push button or 6 times press of the switch.
            OR
            If the device is powered by 24 V SELV supply, press and hold the S (Service) button between 2 and 6 seconds
            4. A new multi-channel device will appear on your dashboard
            *If connecting the temperature sensor, switch off the power supply and make sure the device is excluded from your network BEFORE connecting the sensor.
        </MetaDataItem>
        <MetaDataItem id="0051" name="Identifier" type="0005">ZMNHID1</MetaDataItem>
        <MetaDataItem name="Name">Qubino Flush On Off thermostat Z-Wave+ H1S2P1</MetaDataItem>
        <MetaDataItem name="ResetDescription">
            1. Connect the device to the power supply
            2. Within the first minute (60 seconds) the device is connected to the power supply, toggle the switch connected to the I1 terminal 5 times within 3 seconds (5 times change switch state)
            OR
            If the device is powered by 24 V SELV supply, press and hold the S (Service) button for more than 6 seconds
        </MetaDataItem>
        <ChangeLog>
            <Entry author="Jean-Francois Auger - nechry@gmail.com" date="27 Aug 2019" revision="3">Add missing parameter 59</Entry>
        </ChangeLog>
    </MetaData>

    <!-- The thermostat does not properly report its operating modes -->
    <CommandClass id="64">
        <Value genre="user" index="0" instance="1" label="Mode" max="0" min="0" read_only="false" type="list" units=""
               value="0" write_only="false">
            <Item label="Off" value="0"/>
            <Item label="Heat" value="1"/>
        </Value>
        <SupportedModes>
            <Mode index="0" label="Off"/>
            <Mode index="1" label="Heat"/>
        </SupportedModes>
    </CommandClass>
    <!-- This thermostat's setpoint descriptions are 0 based, not 1 -->
    <CommandClass id="67">
        <Compatibility>
            <OverridePrecision>2</OverridePrecision>
            <Base>0</Base>
        </Compatibility>
    </CommandClass>
    <!-- Configuration -->
    <CommandClass id="112">
        <Value genre="config" index="1" instance="1" label="Input I1 switch type" max="1" min="0" size="1" type="list"
               value="1">
            <Help/>
            <Item label="Mono-stable" value="0"/>
            <Item label="Bi-stable" value="1"/>
        </Value>
        <Value genre="config" index="2" instance="1" label="Input I2 switch type" max="1" min="0" size="1" type="list"
               value="0">
            <Help/>
            <Item label="Mono-stable" value="0"/>
            <Item label="Bi-stable" value="1"/>
        </Value>
        <Value genre="config" index="3" instance="1" label="Input I3 switch type" max="1" min="0" size="1" type="list"
               value="0">
            <Help/>
            <Item label="Mono-stable" value="0"/>
            <Item label="Bi-stable" value="1"/>
        </Value>
        <Value genre="config" index="4" instance="1" label="Input 1 contact type" max="1" min="0" size="1" type="list"
               value="0">
            <Help/>
            <Item label="NO (normally open) input type" value="0"/>
            <Item label="NC (normally close) input type" value="1"/>
        </Value>
        <Value genre="config" index="5" instance="1" label="Input 2 contact type" max="1" min="0" size="1" type="list"
               value="0">
            <Help/>
            <Item label="NO (normally open) input type" value="0"/>
            <Item label="NC (normally close) input type" value="1"/>
        </Value>
        <Value genre="config" index="6" instance="1" label="Input 3 contact type" max="1" min="0" size="1" type="list"
               value="0">
            <Help/>
            <Item label="NO (normally open) input type" value="0"/>
            <Item label="NC (normally close) input type" value="1"/>
        </Value>
        <Value genre="config" index="10" instance="1" label="Activate / deactivate functions ALL ON/ALL OFF" max="255"
               min="0" size="2" type="list" value="255">
            <Help>Flush on off thermostat 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 genre="config" index="11" instance="1" label="Set point set by I1" max="65535" min="0" size="2"
               type="short" value="1">
            <Help>
                When I1 is pressed set point will be set according to the value of this parameter.
                Default value 1.
                32767 - input I1 does not influence on the set point
                From 0 to 990 - set point from 0.0 C to 99.0 C
                From 1001 to 1150 - set point from -0.1 C to -15.0 C
            </Help>
        </Value>
        <Value genre="config" index="12" instance="1" label="Set point set by I2" max="65535" min="0" size="2"
               type="short" value="32767">
            <Help>
                When I3 is pressed set point will be set according to the value of this parameter.
                Default value 32767.
                32767 - input I2 does not influence on the set point
                From 0 to 990 - set point from 0.0 C to 99.0 C
                From 1001 to 1150 - set point from -0.1 C to -15.0 C
            </Help>
        </Value>
        <Value genre="config" index="13" instance="1" label="Set point set by I3" max="65535" min="0" size="2"
               type="short" value="32767">
            <Help>
                When I3 is pressed set point will be set according to the value of this parameter.
                Default value 32767.
                32767 - input I3 does not influence on the set point
                From 0 to 990 - set point from 0.0 C to 99.0 C
                From 1001 to 1150 - set point from -0.1 C to -15.0 C
            </Help>
        </Value>
        <Value genre="config" index="40" instance="1" label="Power reporting in Watts on power change" max="100" min="0"
               size="1" type="byte" value="0">
            <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 0
            </Help>
        </Value>
        <Value genre="config" index="42" instance="1" label="Power reporting in Watts by time interval" max="65535"
               min="0" type="short" value="0">
            <Help>Set value means time interval (0 - 65535) in seconds, when power report is send. 0 - Reporting
                Disabled.
                1 - 65535 = 1 second - 65535 seconds.
                Reporting enabled.
                Power report is send with time interval set by entered value.
                Default value 0
            </Help>
        </Value>
        <Value genre="config" index="43" instance="1" label="Hysteresis On" max="1127" min="0" size="2" type="short"
               value="1005">
            <Help>This parameter defines temperature min difference between real measured temperature and set-point
                temperature to turn heating on.
                The parameter can be set from 0 to 1127 where 0 to 127 means from 0.0 C to 12.7 C and from 1001 to 1127
                means from - 0.1 C to -12.7 C.
                Default value 132 (-0.5 C)
            </Help>
        </Value>
        <Value genre="config" index="44" instance="1" label="Hysteresis Off" max="1127" min="0" size="2" type="short"
               value="5">
            <Help>This parameter defines temperature min difference between real measured temperature and set-point
                temperature to turn heating off.
                The parameter can be set from 0 to 1127 where 0 to 127 means from 0.0 C to 12.7 C and from 1001 to 1127
                means from - 0.1 C to -12.7 C.
                Default value 5 (+0.5 C)
            </Help>
        </Value>
        <Value genre="config" index="45" instance="1" label="Antifreeze" max="1127" min="0" size="2" type="short"
               value="50">
            <Help>Set value means at which temperature the device will be turned on even if the thermostat was manually
                set to off.
                0 - 127 = 0.0C - 12.7 C.
                1001 - 1127 = -0.1C - 12.6 C.
                255 - Antifreeze functionality disabled.
                Default value 50 (5.0 C).
            </Help>
        </Value>
        <Value genre="config" index="59" instance="1" label="Thermostat mode" max="1" min="0" size="1" type="list"
               value="0">
            <Help>
                This parameter determines how the device will operate if it will operate in the heating mode or in the
                cooling mode.
                The range of the hysteresis will remain the same, only operation will change from heating to cooling and
                vice versa
            </Help>
            <Item label="Heat" value="0"/>
            <Item label="Cool" value="1"/>
        </Value>
        <Value genre="config" index="60" instance="1" label="Too low temperature limit" max="1150" min="1" size="2"
               type="short" value="50">
            <Help>
                Default value 50 (Minimum Temperature alarm is 5.0C)
                1 - 1000 = 0.1C - 100.0C, step is 0.1C.
                1001 - 1150 = -0.1 C - 15 C
                Too low temperature limit is set by entered value. In case is set value out of this range, module is
                changing set value automatically to default value.
            </Help>
        </Value>
        <Value genre="config" index="61" instance="1" label="Too high temperature limit" max="1000" min="1" size="2"
               type="short" value="700">
            <Help>
                Default value 700 (Minimum Temperature alarm is 70.0C)
                1 - 1000 = 0.1C - 100.0C, step is 0.1C.
                Too high temperature limit is set by entered value. In case is set value out of this range, module is
                changing automatically set value to default value.
            </Help>
        </Value>
        <Value genre="config" index="63" instance="1" label="Switch selection" max="1" min="0" size="1" type="list"
               value="0">
            <Help>Set value means the type of the device that is connected to the relay output. The device type can be
                normally open (NO) or normally close (NC).
                Available config. parameters (data type is 1 Byte DEC):
                default value 0
                0 - When system is turned off the output is 0 V.
                1 - When system is turned off the output is 230 V.
            </Help>
            <Item label="0V" value="0"/>
            <Item label="230V" value="1"/>
        </Value>
        <Value genre="config" index="70" instance="1" label="Input 1 status on delay" max="32000" min="0" size="2"
               type="short" value="0">
            <Help>
                Default value 0
                1 - 32000 seconds
                If the value of the parameter is different to 0, means that the influence of this input to heating or
                cooling will react after inserted time.
                This parameter has influence only when the window sensor functionality is selected by the parameter no.
                11.
            </Help>
        </Value>
        <Value genre="config" index="71" instance="1" label="Input 1 status off delay" max="32000" min="0" size="2"
               type="short" value="0">
            <Help>
                Default value 0
                1 - 32000 seconds
                If the value of the parameter is different to 0, means that the influence of this input to heating or
                cooling will react after inserted time.
                This parameter has influence only when the window sensor functionality is selected by the parameter no.
                11.
            </Help>
        </Value>
        <Value genre="config" index="72" instance="1" label="Input 2 status on delay" max="32000" min="0" size="2"
               type="short" value="0">
            <Help>
                Default value 0
                1 - 32000 seconds
                If the value of the parameter is different to 0, means that the influence of this input to heating or
                cooling will react after inserted time.
                This parameter has influence only when the condense sensor functionality is selected by the parameter
                no. 12.
            </Help>
        </Value>
        <Value genre="config" index="73" instance="1" label="Input 2 status off delay" max="32000" min="0" size="2"
               type="short" value="0">
            <Help>
                Default value 0
                1 - 32000 seconds
                If the value of the parameter is different to 0, means that the influence of this input to heating or
                cooling will react after inserted time.
                This parameter has influence only when the condense sensor functionality is selected by the parameter
                no. 12.
            </Help>
        </Value>
        <Value genre="config" index="74" instance="1" label="Input 3 status on delay" max="32000" min="0" size="2"
               type="short" value="0">
            <Help>
                Default value 0
                1 - 32000 seconds
                If the value of the parameter is different to 0, means that the influence of this input to heating or
                cooling will react after inserted time.
                This parameter has influence only when the flood sensor functionality is selected by the parameter no.
                13.
            </Help>
        </Value>
        <Value genre="config" index="75" instance="1" label="Input 3 status off delay" max="32000" min="0" size="2"
               type="short" value="0">
            <Help>
                Default value 0
                1 - 32000 seconds
                If the value of the parameter is different to 0, means that the influence of this input to heating or
                cooling will react after inserted time.
                This parameter has influence only when the flood sensor functionality is selected by the parameter no.
                13.
            </Help>
        </Value>
        <Value genre="config" index="100" instance="1"
               label="Enable / Disable Endpoints I1 or select notification type and event" max="9" min="0" size="1"
               type="list" value="0">
            <Help>
                Enabling I1 means that Endpoint (I1) will be present on UI.
                Disabling it will result in hiding the endpoint according to the parameter set value.
                Additionally, a Notification Type and Event can be selected for the endpoint.
                NOTE 1: After parameter change, first exclude module (without setting parameters to default value) and
                then re include the module!
                NOTE 2: When the parameter is set to value 9 the notifications are send for Home Security.
            </Help>
            <Item label="Disabled" value="0"/>
            <Item label="Home Security; Motion Detection" value="1"/>
            <Item label="Carbon Monoxide; Carbon Monoxide detected" value="2"/>
            <Item label="Carbon Dioxide; Carbon Dioxide detected" value="3"/>
            <Item label="Water Alarm; Water Leak detected" value="4"/>
            <Item label="Heat Alarm; Overheat detected" value="5"/>
            <Item label="Smoke Alarm; Smoke detected" value="6"/>
            <Item label="Sensor binary" value="9"/>
        </Value>
        <Value genre="config" index="101" instance="1"
               label="Enable / Disable Endpoints I2 or select notification type and event" max="9" min="0" size="1"
               type="list" value="0">
            <Help>
                Enabling I2 means that Endpoint (I2) will be present on UI.
                Disabling it will result in hiding the endpoint according to the parameter set value.
                Additionally, a Notification Type and Event can be selected for the endpoint.
                NOTE 1: After parameter change, first exclude module (without setting parameters to default value) and
                then re include the module!
                NOTE 2: When the parameter is set to value 9 the notifications are send for Home Security.
            </Help>
            <Item label="Disabled" value="0"/>
            <Item label="Home Security; Motion Detection" value="1"/>
            <Item label="Carbon Monoxide; Carbon Monoxide detected" value="2"/>
            <Item label="Carbon Dioxide; Carbon Dioxide detected" value="3"/>
            <Item label="Water Alarm; Water Leak detected" value="4"/>
            <Item label="Heat Alarm; Overheat detected" value="5"/>
            <Item label="Smoke Alarm; Smoke detected" value="6"/>
            <Item label="Sensor binary" value="9"/>
        </Value>
        <Value genre="config" index="102" instance="1"
               label="Enable / Disable Endpoints I3 or select notification type and event" max="9" min="0" size="1"
               type="list" value="0">
            <Help>
                Enabling I3 means that Endpoint (I3) will be present on UI.
                Disabling it will result in hiding the endpoint according to the parameter set value.
                Additionally, a Notification Type and Event can be selected for the endpoint.
                NOTE 1: After parameter change, first exclude module (without setting parameters to default value) and
                then re include the module!
                NOTE 2: When the parameter is set to value 9 the notifications are send for Home Security.
            </Help>
            <Item label="Disabled" value="0"/>
            <Item label="Home Security; Motion Detection" value="1"/>
            <Item label="Carbon Monoxide; Carbon Monoxide detected" value="2"/>
            <Item label="Carbon Dioxide; Carbon Dioxide detected" value="3"/>
            <Item label="Water Alarm; Water Leak detected" value="4"/>
            <Item label="Heat Alarm; Overheat detected" value="5"/>
            <Item label="Smoke Alarm; Smoke detected" value="6"/>
            <Item label="Sensor binary" value="9"/>
        </Value>
        <Value genre="config" index="110" instance="1" label="Temperature sensor offset settings" max="32536" min="0"
               size="2" type="short" value="32536">
            <Help>
                Set value is added or subtracted to actual measured value by sensor.
                From 1 to 100 = value from 0.1C to 10.0C 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.
                Default value 32536. 32536 offset is 0.0C.
            </Help>
        </Value>
        <Value genre="config" index="120" instance="1" label="Digital temperature sensor reporting" max="127" min="0"
               type="byte" value="5">
            <Help>If digital temperature sensor is connected, module reports measured temperature on temperature change
                defined by this parameter.
                0 = reporting disabled.
                1 to 127 = 0,1C to 12,7C, step is 0,1C.
                Default value is 5 = 0,5C
            </Help>
        </Value>
        <Value genre="config" index="121" instance="1" label="Digital temperature sensor / setpoint selector" max="10"
               min="0" size="1" type="list" value="0">
            <Help>
                If digital temperature sensor is not connected, module can grab measured temperature from external
                secondary module.
                Default value is 0.
            </Help>
            <Item label="internal digital temperature sensor is mounted, setpoint is set by controller" value="0"/>
            <Item label="(bit 0) temperature is grabbed from external always on sensor with sensor_multilevel_get sent by association 3"
                  value="1"/>
            <Item label="(bit 1) temperature is grabbed from external battery powered room sensor declared in parameter 122"
                  value="2"/>
            <Item label="(bit 2) setpoint is grabbed from external always on module with thermostat_setpoint_get by association 5"
                  value="4"/>
            <Item label="(bit 3) setpoint is grabbed from external battery powered room sensor declared in parameter 122"
                  value="8"/>
            <Item label="(bit 1 and bit 3) temperature AND setpoint are grabbed from external battery powered sensor declared in parameter 122"
                  value="10"/>
        </Value>
        <Value genre="config" index="122" instance="1" label="Node ID of external battery powered room sensor" max="254"
               min="0" type="byte" value="0">
            <Help>If digital temperature sensor is not connected, module can grab measured temperature from external
                battery powered room sensor defined by this paramater.
                0 = external battery powered room sensor not in function.
                1 to 254 = Node ID of external battery powered room sensor.
                Default value is 0
            </Help>
        </Value>
    </CommandClass>
    <!-- Association Groups -->
    <CommandClass id="133">
        <Associations num_groups="9">
            <Group index="1" label="Lifeline" max_associations="1"/>
            <Group index="2"
                   label="Basic on/off (triggered at change of the output Q state and reflecting its state) up to 16 nodes"
                   max_associations="16"/>
            <Group index="3"
                   label="SENSOR_MULTILEVEL_GET (triggered once per minute if Parameter 121 is not 0) up to 16 nodes"
                   max_associations="16"/>
            <Group index="4" label="Basic on/off (triggered by Too high temperature limit, it send FF) up to 16 nodes"
                   max_associations="16"/>
            <Group index="5"
                   label="THERMOSTAT_SETPOINT_GET (triggered once per minute if Parameter 121 is not 0) up to 16 nodes"
                   max_associations="16"/>
            <Group index="6" label="Basic on/off (trigged by change of I1) up to 16 nodes" max_associations="16"/>
            <Group index="7" label="Basic on/off (trigged by change of I2) up to 16 nodes" max_associations="16"/>
            <Group index="8" label="Basic on/off (trigged by change of I3) up to 16 nodes" max_associations="16"/>
            <Group index="9" label="Sensor multilevel (trigged by change of temperature)" max_associations="16"/>
        </Associations>
    </CommandClass>
</Product>
