<?xml version="1.0" encoding="utf-8"?>
<Product xmlns='https://github.com/OpenZWave/open-zwave' Revision="3">
  <!--
  Shenzhen NEO Electronics (Neo-CoolCam) Smart Power Plug
  http://products.z-wavealliance.org/products/1783
  -->
  <!-- Configuration Parameters -->
  <CommandClass id="112">
    <Value type="list" genre="config" instance="1" index="1" label="Send Meter Report" value="1" size="1">
      <Help>This parameter defines Disable/Enable meter report measure data to controller.</Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="short" genre="config" instance="1" index="2" label="Meter Report Interval" units="second" value="300" min="1" max="65536" size="2">
      <Help>This parameter defines interval time (in seconds) that Meter report data to main controller.</Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="3" label="Configure maximum over-load current" units="Ampere" value="13" min="1" max="16" size="1">
      <Help>
        This parameter defines maximum current (in Amperes) the plug can provide to load that be connected to plug.
        If the current consumed by load is greater than maximum current, the plug will cut off power, and send NOTIFICATION_EVENT_POWER_MANAGEMENT_OVER_LOAD_DETECTED to associated devices in lifeline. Red Led will blink every seconds until current is normal (less than Parameter #3).
        You must remove the loader and turn on the Plug (press the button once) to enable current monitor and clear NOTIFICATION ALARM. This parameter value must be great than #4.
        If user set this parameter to default by Configure CC, the parameter #4 will be set to default value.
      </Help>
    </Value>
    <Value type="byte" genre="config" instance="1" index="4" label="Configure maximum Alarm current" units="Ampere" value="12" min="1" max="16" size="1">
      <Help>
        This parameter defines maximum current (in Amperes), if the current plug provide to load is greater than this parameter, the plug will send over-current notification to the controller and the LED will turn RED, but plug cannot cut-off power. This parameter value must be less than parameter #3.
        If user set this parameter to default by Configure CC, the parameter #3 will be set to default value.
      </Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="5" label="Led Display" value="1" size="1">
      <Help>
        This parameter defines the LED indication Function ON/OFF.
        If disabled, then LED indication Function and will always be turn-off, while enabled means LED Function is on.
      </Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="byte" genre="config" instance="1" index="6" label="Configure power report" units="%" value="30" min="1" max="100" size="1">
      <Help>
        This parameter defines by how much power consumed must change to be reported to the Z-Wave Controller or Z-Wave Gateway, in percents. If the rate of power consumed change ratio is greater than this parameter, the plug will report the results, voltage, current, power and energy, that plug measure to Z-Wave Controller or Z-Wave Gateway
      </Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="7" label="Remember Relay ON/OFF status" value="0" size="1">
      <Help>
        This parameter defined the relay status if remember or not.
        If remembered, the plug will restore the relay status last power off when the plug supply power next time.
      </Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="list" genre="config" instance="1" index="8" label="Configure Plug Time switch Function" value="1" size="1">
      <Help>
        This parameter defines the timer function Enable/Disable.
        If disabled, then time switch function is not available.
        The time period will be defined in parameter #9.
        If enabled, and when turn the plug relay on, the timer in plug start run with time period defined in parameter #9 and the plug will turn the relay off.
      </Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
    <Value type="short" genre="config" instance="1" index="9" label="Configure Time switch Period" units="minute" value="150" min="1" max="65535" size="2">
      <Help>
        This parameter defines the time period that plug time switch off. This parameter can be configured 1 - 65535(in minutes).
        If Parameter #8 is enabled, and relay is turn-on, the relay will be turn-off after delay this parameter.
      </Help>
    </Value>
    <Value type="list" genre="config" instance="1" index="10" label="Button On/Off" value="1" size="1">
      <Help>
        This parameter defines the button on/off function is enabled or not on the top of the wall plug.
        If enabled, users can turn on and off the wall plug by pressing the button on the top of the wall plug.
        If disabled, the wall plug cannot be turned on and off by pressing the button.
      </Help>
      <Item label="Disable" value="0"/>
      <Item label="Enable" value="1"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="3">
      <Group index="1" max_associations="5" label="Lifeline"/>
      <Group index="2" max_associations="5" label="Over-load current"/>
      <Group index="3" max_associations="5" label="Send Notification"/>
    </Associations>
  </CommandClass>
</Product>
