<!-- 
MCO Home Touch Panel Dimmer Switch MH-P511, imported on User Manual 30/06/2016
-->
<Product Revision="1" xmlns="https://github.com/OpenZWave/open-zwave">
  <MetaData>
    <MetaDataItem name="Name">MH-P511 Touch Panel Dimmer Switch</MetaDataItem>
    <MetaDataItem name="Description">MCOHome Touch Panel Dimmer Switch is a wall switch with built-in dimmer &amp; Z-Wave module together in one compact unit. It supports basic command class，association command class, which can control all associated devices synchronously. This product can be included and operated in any Z-Wave network with other Z-Wave certified devices from any other manufacturers.</MetaDataItem>
    <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/015f:1453:511a</MetaDataItem>
    <MetaDataItem name="ProductPage">http://www.mcohome.com/show_list.php?id=13&amp;sid=47</MetaDataItem>
    <MetaDataItem name="ProductSupport">http://www.mcohome.com/show_list.php?id=17&amp;pcate=13&amp;mid=47</MetaDataItem>
    <MetaDataItem name="ProductPic">images/mcohome/mhp511.png</MetaDataItem>
    <MetaDataItem name="ProductManual">https://smarthome.hancan.com.au/wp-content/uploads/2018/02/MH-P511_UM_V.02.pdf</MetaDataItem>
    <MetaDataItem name="InclusionDescription">Press the key on the panel 3 times in quick succession (within approx 1.5sec)</MetaDataItem>
    <MetaDataItem name="ExclusionDescription">Press the key on the panel 3 times in quick succession (within approx 1.5sec)</MetaDataItem>
    <MetaDataItem name="ResetDescription">Write 0x55 to Configuration Parameter Index 255</MetaDataItem>
    <MetaDataItem id="1453" name="FrequencyName" type="511a">Australia / New Zealand</MetaDataItem>
    <MetaDataItem id="1453" name="Identifier" type="511a">MH-P511-AU</MetaDataItem>
    <ChangeLog>
      <Entry author="StuartW - swish@email4me.com" date="11 June 2019" revision="1">Initial creation of config file from import of data from User Manual</Entry>
    </ChangeLog>
  </MetaData>
  <!-- Configuration Command Class - All Configuration Parameters should be entered into the section below -->
  <CommandClass id="112">
    <Value genre="config" index="1" label="Dimmer state saved or not when power down" max="1" min="0" size="1" type="list" value="1">
      <Help>Dimmer state saved or not when power down</Help>
      <Item label="Not Saved. Dimmer will be off when powered again" value="0"/>
      <Item label="Saved. Dimmer will keep the same state when powered again" value="1"/>
    </Value>
    <Value genre="config" index="2" label="Beep" max="1" min="0" size="1" type="list" value="1">
      <Help>Beep</Help>
      <Item label="Beep disabled" value="0"/>
      <Item label="Beep enabled" value="1"/>
    </Value>
    <Value genre="config" index="3" label="LED Backlit brightness level" max="10" min="0" type="byte" units="%" value="10">
      <Help>
      LED Backlit brightness level.
      0 = Off;
      10 = Max brightness
      </Help>
    </Value>
    <Value genre="config" index="4" label="All On / All Off" max="1" min="0" size="1" type="list" value="255">
      <Help>All On / All Off</Help>
      <Item label="forbid ALL ON, forbid ALL OFF" value="0"/>
      <Item label="forbid ALL ON, allow ALL OFF" value="1"/>
      <Item label="allow ALL ON, forbid ALL OFF" value="2"/>
      <Item label="allow ALL ON, allow ALL OFF" value="255"/>
    </Value>
    <Value genre="config" index="5" label="Minimum brightness level" max="98" min="1" type="byte" units="%" value="1">
      <Help>Minimum brightness level (should be less than Maximum brightness level)</Help>
    </Value>
    <Value genre="config" index="6" label="Maximum brightness level" max="99" min="2" type="byte" units="%" value="99">
      <Help>Maximum brightness level (should be greater than Minimum brightness level)</Help>
    </Value>
    <Value genre="config" index="7" label="Manual single dimming step time" max="255" min="1" type="short" units="ms" value="3">
      <Help>
      Manual single dimming step time, in 10ms steps.
      Manual control achieved by holding external button.
      </Help>
    </Value>
    <Value genre="config" index="8" label="Manual single dimming step size" max="99" min="1" type="byte" units="%" value="1">
      <Help>
      Manual single dimming step size.
      Manual control achieved by holding external button.
      Modification isn’t recommended!
      </Help>
    </Value>
    <Value genre="config" index="9" label="Auto single dimming step time" max="255" min="1" type="short" units="ms" value="3">
      <Help>
      Auto single dimming step time, in 10ms steps.
      Auto control achieved by double click external button.
      </Help>
    </Value>
    <Value genre="config" index="10" label="Auto single dimming step size" max="99" min="1" type="byte" units="%" value="1">
      <Help>
      Auto single dimming step size.
      Auto control achieved by double click external button.
      Modification isn’t recommended!
      </Help>
    </Value>
    <Value genre="config" index="11" label="Timer function (Auto-off)" max="255" min="1" type="short" units="s" value="0">
      <Help>
      Timer function (Auto-off).
      0 = function disabled
      1 - 255 = 1s - 255s auto-off delay
      </Help>
    </Value>
    <Value genre="config" index="13" label="One click of S1" max="99" min="1" type="byte" units="%" value="99">
      <Help>
      One click of external button (S1).
      0 = either (switch Off) or (switch On to last saved brightness level)
      1 - 99 = either (switch Off) or (switch On to set percentage brightness level)
      </Help>
    </Value>
    <Value genre="config" index="14" label="Double click of S1" max="1" min="0" size="1" type="list" value="1">
      <Help>Double click of external button (S1)</Help>
      <Item label="Function disabled" value="0"/>
      <Item label="Goto maximum brightness level" value="1"/>
    </Value>
    <Value genre="config" index="15" label="Operation report from S1 to association group 2 &amp; 3" max="130" min="0" size="1" type="list" value="0">
      <Help>
      Operation report from external button (S1) to Association Group 2 &amp; 3
      Device send Basic Set to AG2; Send Multilevel Set to AG3
      </Help>
      <Item label="Report all operations to association groups 2 &amp; 3, but not while dimming" value="0"/>
      <Item label="Only report when switching OFF, but not while dimming" value="1"/>
      <Item label="Only report when switching ON, but not while dimming" value="2"/>
      <Item label="Report all operations to association groups 2 &amp; 3, including while dimming" value="128"/>
      <Item label="Only report when switching OFF, including while dimming" value="129"/>
      <Item label="Only report when switching ON, including while dimming" value="130"/>
    </Value>
    <Value genre="config" index="16" label="Operation report from S1 to association group 2" max="1" min="0" size="1" type="list" value="1">
      <Help>Operation report from external button (S1) to Association Group 2</Help>
      <Item label="When Basic Set On sent, Brightness value is 0xFF" value="0"/>
      <Item label="When Basic Set On sent, Brightness value is Current Dimmer Value" value="1"/>
    </Value>
    <Value genre="config" index="19" label="Scene ID sent to AG1 when one click of S1" max="255" min="0" type="byte" units="" value="0">
      <Help>
      0 = Scene Activation disabled
      1 - 255 = send Activation CC to AG1 with specified Scene ID
      </Help>
    </Value>
    <Value genre="config" index="20" label="Scene ID sent to AG1 when double click of S1" max="255" min="0" type="byte" units="" value="0">
      <Help>
      For momentary button only
      0 = Scene Activation disabled
      1 - 255 = send Activation CC to AG1 with specified Scene ID
      </Help>
    </Value>
    <Value genre="config" index="21" label="Scene ID sent to AG1 when hold S1" max="255" min="0" type="byte" units="" value="0">
      <Help>
      For momentary button only
      0 = Scene Activation disabled
      1 - 255 = send Activation CC to AG1 with specified Scene ID
      </Help>
    </Value>
    <Value genre="config" index="255" label="Restore factory setting" max="85" min="0" size="1" type="list" value="0">
      <Help>Restore factory setting</Help>
      <Item label="Normal" value="0"/>
      <Item label="Reset to factory defaults" value="85"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="3">
      <Group index="1" label="Dimmer State" max_associations="1"/>
      <Group index="2" label="S1 Basic Set Command" max_associations="5"/>
      <Group index="3" label="S1 Multi-level Set Command" max_associations="5"/>
    </Associations>
  </CommandClass>
  
</Product>