<Product Revision="4" xmlns="https://github.com/OpenZWave/open-zwave">
  <MetaData>
    <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/0115:0103:0100</MetaDataItem>
    <MetaDataItem name="ProductPic">images/zwave.me/popp_kfob-c.png</MetaDataItem>
    <MetaDataItem id="0103" name="ZWProductPage" type="0100">https://products.z-wavealliance.org/products/1282/</MetaDataItem>
    <MetaDataItem name="InclusionDescription">When in factory default push Button 3 (secure) or Button 4 (normal) for one second to enter inclusion mode. The inclusion mode is indicated by a blinking green LED. From second device on you need to enter management mode  push all four buttons together for one second - green led blinks slowly), hit button 3 ( enter primary controller functions - green led blinks faster) and then button 1 (secure) or button 2 (normal).</MetaDataItem>
    <MetaDataItem name="ExclusionDescription">Enter management mode  by push all four buttons together for one second - green led blinks slowly), hit button 3 ( enter primary controller functions - green led blinks faster) and then button 3 again.

  </MetaDataItem>
    <MetaDataItem name="WakeupDescription">Enter management mode  by push all four buttons together for one second - green led blinks slowly), then hit button 2 .</MetaDataItem>
    <MetaDataItem id="0103" name="FrequencyName" type="0100">CEPT (Europe)</MetaDataItem>
    <MetaDataItem name="Name">Secure Key Chain Controller</MetaDataItem>
    <MetaDataItem id="0103" name="Identifier" type="0100">ZME_KFOBC</MetaDataItem>
    <MetaDataItem name="ResetDescription">Enter management mode by push all four buttons together for one second - green led blinks slowly), then hit button 3 followed by keeping button 4 pushed down for 10 seconds. The first five seconds the green LED still blinks followed by a long red, shot green sequence. Once LEDs go off, reset was executed. Please use this
procedure only if the device is secondary controller and  the primary controller is missing or otherwise inoperable.</MetaDataItem>
    <MetaDataItem name="ProductManual">https://Products.Z-WaveAlliance.org/ProductManual/File?folder=&amp;filename=Manuals/1282/ZMEEKFOBC_Manualfinal.pdf</MetaDataItem>
    <MetaDataItem name="Description">The Secure Key Fob Controller is a 4 button Z-Wave device capable to act both as primary or secondary controller. The four buttons can control other Z-Wave devices such as switches, dimmer and even door locks directly. Various options - configurable by Z-Wave configuration commands - define the actions and the commands used for this control. It is possible to use two sets of buttons (one of on/open/up and one for off/closed/down) or 4 single buttons to control 4 different groups of devices.

The controller also allows triggering scenes in a central controller. Again different modes can be configured to adapt to the various implementations of scenes in different central controllers in the market.

Control options also include special modes like 'all on/off' or always controlling the Z-Wave device in proximity to the fob. The device supports secure communication when included with enhanced security option and when communicating to a device also supporting enhanced security option. Otherwise the device will automatically turn into normal communication. to maintain backward compatibility.</MetaDataItem>
    <ChangeLog>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="08 May 2019" revision="4">Initial Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/1282/xml</Entry>
    </ChangeLog>
  </MetaData>
  <!-- Popp KFOB-C Remote Control -->
    <!-- COMMAND_CLASS_CONFIGURATION. Configuration Parameters -->
  <CommandClass id="112">
    <Value genre="config" index="1" label="Button 1 and 3 pair mode" max="2" min="0" size="1" type="list" units="" value="1">
      <Help>In separate mode button 1 works with group A, button 3 with groups C.
                Click is On, Hold is dimming Up, Double click is Off, Click-Hold is dimming Down.
                In pair button 1/3 are Up/Down correspondingly. Click is On/Off, Hold is dimming Up/Down. Single clicks works with group A, double click with group C.</Help>
      <Item label="Separately" value="0"/>
      <Item label="In pair without double clicks (default)" value="1"/>
      <Item label="In pair with double clicks" value="2"/>
    </Value>
    <Value genre="config" index="2" label="Button 2 and 4 pair mode" max="2" min="0" size="1" type="list" units="" value="1">
      <Help>In separate mode button 2 works with group B, button 4 with groups D.
                Click is On, Hold is dimming Up, Double click is Off, Click-Hold is dimming Down.
                In pair button 2/4 are Up/Down correspondingly. Click is On/Off, Hold is dimming Up/Down. Single clicks works with group B, double click with group D.</Help>
      <Item label="Separately" value="0"/>
      <Item label="In pair without double clicks (default)" value="1"/>
      <Item label="In pair with double clicks" value="2"/>
    </Value>
    <Value genre="config" index="11" label="Command to Control Group A" max="8" min="0" size="1" type="list" units="" value="8">
      <Help>This parameter defines the command to be sent to devices of control group A when the related button is pressed</Help>
      <Item label="Disabled" value="0"/>
      <Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1"/>
      <Item label="Switch On/Off only (send Basic Set)" value="2"/>
      <Item label="Switch All" value="3"/>
      <Item label="Send Scene" value="4"/>
      <Item label="Send Preconfigured Scenes" value="5"/>
      <Item label="Control devices in proximity" value="6"/>
      <Item label="Control DoorLock" value="7"/>
      <Item label="Central Scene to Gateway (Default)" value="8"/>
    </Value>
    <Value genre="config" index="12" label="Command to Control Group B" max="8" min="0" size="1" type="list" units="" value="8">
      <Help>This parameter defines the command to be sent to devices of control group B when the related button is pressed</Help>
      <Item label="Disabled" value="0"/>
      <Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1"/>
      <Item label="Switch On/Off only (send Basic Set)" value="2"/>
      <Item label="Switch All" value="3"/>
      <Item label="Send Scene" value="4"/>
      <Item label="Send Preconfigured Scenes" value="5"/>
      <Item label="Control devices in proximity" value="6"/>
      <Item label="Control DoorLock" value="7"/>
      <Item label="Central Scene to Gateway (Default)" value="8"/>
    </Value>
    <Value genre="config" index="13" label="Command to Control Group C" max="8" min="0" size="1" type="list" units="" value="8">
      <Help>This parameter defines the command to be sent to devices of control group C when the related button is pressed</Help>
      <Item label="Disabled" value="0"/>
      <Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1"/>
      <Item label="Switch On/Off only (send Basic Set)" value="2"/>
      <Item label="Switch All" value="3"/>
      <Item label="Send Scene" value="4"/>
      <Item label="Send Preconfigured Scenes" value="5"/>
      <Item label="Control devices in proximity" value="6"/>
      <Item label="Control DoorLock" value="7"/>
      <Item label="Central Scene to Gateway (Default)" value="8"/>
    </Value>
    <Value genre="config" index="14" label="Command to Control Group D" max="8" min="0" size="1" type="list" units="" value="8">
      <Help>This parameter defines the command to be sent to devices of control group D when the related button is pressed</Help>
      <Item label="Disabled" value="0"/>
      <Item label="Switch On/Off and Dim (send Basic Set and Switch Multilevel)" value="1"/>
      <Item label="Switch On/Off only (send Basic Set)" value="2"/>
      <Item label="Switch All" value="3"/>
      <Item label="Send Scene" value="4"/>
      <Item label="Send Preconfigured Scenes" value="5"/>
      <Item label="Control devices in proximity" value="6"/>
      <Item label="Control DoorLock" value="7"/>
      <Item label="Central Scene to Gateway (Default)" value="8"/>
    </Value>
    <Value genre="config" index="21" label="Send the following Switch All commands" max="255" min="1" size="1" type="list" units="" value="1">
      <Help>Send the following Switch All ON/OFF commands</Help>
      <Item label="Switch Off only (default)" value="1"/>
      <Item label="Switch On only" value="2"/>
      <Item label="Switch On and Off" value="255"/>
    </Value>
    <Value genre="config" index="22" label="Invert buttons" max="1" min="0" size="1" type="list" units="" value="0">
      <Help>Invert meaning of On/Dim up and Off/Dim down in pairs of buttons. This applies only to pairs in grouped mode. Buttons 1 and 2 will become Off/Dim down, buttons 3 and 4 On/Dim up.</Help>
      <Item label="No (default)" value="0"/>
      <Item label="Yes" value="1"/>
    </Value>
    <Value genre="config" index="25" label="Blocks wake up even when wake up interval is set" max="1" min="0" size="1" type="list" units="" value="0">
      <Help>If the KFOB wakes up and there is no controller nearby, several unsuccessful communication attempts will drain battery</Help>
      <Item label="Wakeup is blocked (default)" value="0"/>
      <Item label="Wakeup is possible if configured accordingly" value="1"/>
    </Value>
    <Value genre="config" index="30" label="Send unsolicited Battery Report on Wake Up" max="2" min="0" size="1" type="list" units="" value="1">
      <Help/>
      <Item label="No" value="0"/>
      <Item label="To same node as wake up notification (Default)" value="1"/>
      <Item label="Broadcast to neighbors" value="2"/>
    </Value>
  </CommandClass>
  <!-- COMMAND_CLASS_SCENE_ACTIVATION. KFob can be configured to send scene commands but does not advertise it -->
  <CommandClass action="add" id="43">
    <Compatibility>
      <GetSupported>false</GetSupported>
    </Compatibility>
  </CommandClass>
  <!-- COMMAND_CLASS_MULTI_CHANNEL_V2
    <CommandClass id="96" version="2"/>
        -->

    <!--COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION_V2
    <CommandClass id="142" version="2"/>
    -->

    <!-- COMMAND_CLASS_ASSOCIATION -->
  <CommandClass id="133">
    <Associations num_groups="5">
      <Group index="1" label="Lifeline" max_associations="10"/>
      <Group index="2" label="Control Group A, controlled by button 1 or single clicks of buttons 1 and 3" max_associations="10"/>
      <Group index="3" label="Control Group B, controlled by button 2 or single clicks of buttons 2 and 4" max_associations="10"/>
      <Group index="4" label="Control Group C, controlled by button 3 or single clicks of buttons 1 and 3" max_associations="10"/>
      <Group index="5" label="Control Group D, controlled by button 4 or single clicks of buttons 2 and 4" max_associations="10"/>
    </Associations>
  </CommandClass>
</Product>
