<Product Revision="5" xmlns="https://github.com/OpenZWave/open-zwave">
  <MetaData>
    <MetaDataItem name="OzwInfoPage">http://www.openzwave.com/device-database/010F:1001:0602</MetaDataItem>
    <MetaDataItem name="ProductPic">images/fibaro/fgwpfzw5.png</MetaDataItem>
    <MetaDataItem id="1001" name="ZWProductPage" type="0602">https://products.z-wavealliance.org/products/1653/</MetaDataItem>
    <MetaDataItem id="1001" name="Identifier" type="0602">FGWPE/F-102</MetaDataItem>
    <MetaDataItem name="ResetDescription">Resetting the device is not the recommended way of removing the device from the
Z-Wave network. Use reset procedure only if the primary controller is missing or
inoperable. Certain device removal can be achieved by the procedure of removing
described in “Adding/ removing the device”on page 6.

1) Make sure the device is powered.
2) Press and hold the B-button.
3) Wait for the LED ring to glow yellow (4th menu position).
4) Release the B-button.
5) Click the B-button once to confirm selection.
6) After few seconds the device will restart with factory settings, which is signalled with the red ring colour.



</MetaDataItem>
    <MetaDataItem name="ExclusionDescription">1) Plug the device into a socket nearby the main Z-Wave controller.
2) The LED ring will glow green signalling being added (removing is not necessary otherwise).
3) Set the main Z-Wave controller into remove mode (see the controller’s manual).
4) Quickly, triple click the B-button located on the casing.
5) Wait for the removing process to end.
6) Successful removing will be confirmed by the Z-Wave controller.
</MetaDataItem>
    <MetaDataItem name="Name">FIBARO Wall Plug E/F</MetaDataItem>
    <MetaDataItem name="WakeupDescription">Wakeup Description
FIBARO Wall Plug is powered with mains voltage so it is always awake.</MetaDataItem>
    <MetaDataItem name="ProductManual">https://Products.Z-WaveAlliance.org/ProductManual/File?folder=&amp;filename=Manuals/2818/FGWPEF-102-EN-A-v2.1.pdf</MetaDataItem>
    <MetaDataItem name="Description">FIBARO Wall Plug is a universal, Z-Wave Plus compatible, remotely controlled outlet adapter. This device may be applied wherever you want to control electrical devices with up to 2500W load. The Wall Plug is equipped with a power and energy metering function. It uses a LED ring to visualize the current load with colour changing illumination and operating mode. This is the smallest and most attractive device of this type available in the world. The Wall Plug may be operated using the B-button located on its casing or via any Z-Wave compatible controller.

Main features:
• Compatible with any Z-Wave or Z-Wave Plus Controller.
• Supports protected mode (Z-Wave network security mode) with AES-128 encryption.
• Extremely easy installation - simply plug the device into the mains socket.
• Works as a Z-Wave signal repeater.
• Active power and energy consumption metering.
• Current value of the load and operating mode are indicated by the multi-colour LED ring.
</MetaDataItem>
    <MetaDataItem id="1001" name="FrequencyName" type="0602">CEPT (Europe)</MetaDataItem>
    <MetaDataItem name="InclusionDescription">1) Plug the device into a socket nearby the main Z-Wave controller.
2) The LED ring will glow red signalling not being added (remove the device otherwise).
3) Set the main Z-Wave controller into adding mode (see the controller’s manual).
4) Quickly, triple click the B-button located on the casing.
5) Wait for the adding process to end.
6) Successful adding will be confirmed by the Z-Wave controller.
</MetaDataItem>
    <ChangeLog>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="24 May 2019" revision="4">Initial Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/1653/xml</Entry>
      <Entry author="Justin Hammond - Justin@dynam.ac" date="02 Jun 2019" revision="5">Updated Metadata Import from Z-Wave Alliance Database - https://products.z-wavealliance.org/products/2818/xml</Entry>
    </ChangeLog>
    <MetaDataItem id="1003" name="ZWProductPage" type="0602">https://products.z-wavealliance.org/products/2818/</MetaDataItem>
    <MetaDataItem id="1003" name="Identifier" type="0602">FGWPE/F-102</MetaDataItem>
    <MetaDataItem id="1003" name="FrequencyName" type="0602">CEPT (Europe)</MetaDataItem>
  </MetaData>
  <!-- COMMAND_CLASS_ALARM AlarmCmd_Get not supported -->
	<!-- CommandClass id="113" action="remove" /> -->

	<!-- COMMAND_CLASS_SENSOR_ALARM not supported -->
	<!-- CommandClass id="156" action="remove" /> -->

	<!-- COMMAND_CLASS_SWITCH_ALL not supported -->
	<!-- CommandClass id="39" action="remove" /> -->

	<!-- Configuration -->
  <CommandClass id="112">
    <Value genre="config" index="1" instance="1" label="Always on function" size="1" type="list" value="0">
      <Help>Once activated, Wall Plug will keep a connected device constantly ON, will stop reacting to alarm frames and B-button push. "Always on" function turns the Plug into a power and energy meter. Also, connected device will not be turned off upon receiving an alarm frame from another Z-Wave device (parameter 31 will be ignored). In "Always on" mode, connected device may be turned off only after user defined power has been exceeded (parameter 3). In such a case, connected device can be turned on again by pushing the B-button or sending a control frame. By default, overload protection is inactive. Default setting: 0</Help>
      <Item label="Inactive" value="0"/>
      <Item label="Active" value="1"/>
    </Value>
    <Value genre="config" index="2" instance="1" label="Remember device status after a power failure" size="1" type="list" value="1">
      <Help>This parameter determines how the Wall Plug will react in the event of power supply failure (e.g. taking out from the electrical outlet). After the power supply is back on, the Wall Plug can be restored to previous state or remain switched off. This parameter is ignored in Always On mode - the device automatically turns ON after plugging it into the socket. Default setting: 1</Help>
      <Item label="Wall Plug does not memorize its state after a power failure" value="0"/>
      <Item label="Wall Plug memorizes its state after a power failure" value="1"/>
    </Value>
    <Value genre="config" index="3" instance="1" label="Overload safety switch" max="30000" min="0" size="2" type="short" value="0">
      <Help>This function allows for turning off the controlled device in case of exceeding the defined power. Controlled device will be turned off even if "always on" function is active (parameter 1). Controlled device can be turned back on via B-button or sending a control frame. Available settings: 10 - 30000 (1,0W - 3000,0W step 0,1W). Default setting: 0 (function inactive)</Help>
    </Value>
    <Value genre="config" index="10" instance="1" label="High priority power report" max="100" min="1" size="1" type="byte" value="80">
      <Help>This parameter determines the minimum percentage change in active power that will result in sending power report to the main controller with the highest priority in the Z-Wave network. By default, the Wall Plug immediately sends the power report if the power load changes by 80%. Available settings: 1-99:power change in percent, 100:reports are disabled. Default setting: 80 (80%)</Help>
    </Value>
    <Value genre="config" index="11" instance="1" label="Standard power load reporting" max="100" min="1" size="1" type="byte" value="15">
      <Help>This parameter determines the minimum percentage change in active power that will result in sending power report to the main controller Compared to parameter 10, the maximum number of reports sent is reduced (parameter 12) to 5 in a specified time interval. In addition, the frames are not sent in EXPLORE mode, which prevents overloading the Z-Wave network. By default changes in power load may be reported up to 5 times per 30 seconds, when power load changes by 15%. Available settings: 1-99:power change in percent, 100:reports are disabled. Default setting: 15 (15%)</Help>
    </Value>
    <Value genre="config" index="12" instance="1" label="Power reporting interval" max="600" min="5" size="2" type="short" value="30">
      <Help>This parameter defines how frequently standard power reports (parameter 11) will be sent. By default Wall Plug sends up to 5 reports each 30 seconds, provided the power load changes by 15%.  Available setttings: 5-600 (in seconds). Default setting: 30 (s)</Help>
    </Value>
    <Value genre="config" index="13" instance="1" label="Energy reporting threshold" max="500" min="0" size="2" type="short" value="10">
      <Help>This parameter specifies the minimum change in energy consumption (in relation to the previously reported), that will result in sending a new report. Available settings: 1-500 (0,01kWh - 5kWh).   0 - energy reports inactive. Default Setting: 10 (0,1 kWh)</Help>
    </Value>
    <Value genre="config" index="14" instance="1" label="Power and energy periodic reports" max="32400" min="0" size="2" type="short" value="3600">
      <Help>This parameter defines time period between reports sent when changes in power load have not been recorded or if changes are insignificant (not exceeding values of parameters 20, 21 and 23). By default reports are sent every hour. Available settings: 5 - 32400 (s). 0 - periodic reports inactive. Reports will be sent only in case of power load / energy consumption changes (parameters 20,21,23) or in case of polling. Default setting: 3600</Help>
    </Value>
    <Value genre="config" index="15" instance="1" label="Measuring energy consumed by the Wall Plug itself" size="1" type="list" value="0">
      <Help>This parameter determines whether energy metering should include the amount of energy consumed by the Wall Plug itself. Results are being added to energy consumed by controlled device. Default setting: 0</Help>
      <Item label="Inactive" value="0"/>
      <Item label="Active" value="1"/>
    </Value>
    <Value genre="config" index="20" instance="1" label="Control of On/Off (button) association group(2) devices" size="1" type="list" value="0">
      <Help>Controlling devices with the B-Button. Control as the Wall Plug:  switching the Wall Plug on  switch the devices on (parameter 24) switching the Wall Plug off  switch the devices off (parameter 24)    This parameter is inactive in Always On mode (parameter 1). Default setting: 0</Help>
      <Item label="Control as the wallplug" value="0"/>
      <Item label="Control opposite of wallplug" value="1"/>
    </Value>
    <Value genre="config" index="21" instance="1" label="DOWN value- On/Off(power) association group(3)" max="24900" min="0" size="2" type="short" value="300">
      <Help>Lower power threshold, used in parameter 23. Available settings: 0 - 24900 (0,0W - 2490,0W step 0,1W) DOWN value cannot be higher than a value specified in parameter 22. Default setting: 300 (30W)</Help>
    </Value>
    <Value genre="config" index="22" instance="1" label="UP value- On/Off(power) association group(3)" max="25000" min="100" size="2" type="short" value="500">
      <Help>Upper power threshold, used in parameter 23. Available settings: 100 - 25000 (10,0W - 2500,0W) UP value cannot be lower than a value specified in parameter 21. Default setting: 500 (50W)</Help>
    </Value>
    <Value genre="config" index="23" instance="1" label="The response after exceeding defined power values" size="1" type="list" value="6">
      <Help>Parameter defines the way 3th association group devices are controlled, depending on the actual measured power(as parameter 21 and 22 settings). Available settings: 1 - turn the associated devices ON, once the power drops below DOWN value (parameter 21), 2 - turn the associated devices OFF, once the power drops below DOWN value (parameter 21),       3 - turn the associated devices ON, once the power rises above UP value (parameter 22), 4 - turn the associated devices OFF, once the power rises above UP value (parameter 22), 5 - combination of 1 and 4. Turn the associated devices ON, once the power drops below DOWN value (parameter 21). Turn the associated devices OFF, once the power rises above UP value (parameter 22).  6 - combination of 2 and 3. Turn the associated devices OFF, once the power drops below DOWN value (parameter 21). Turn the associated devices ON, once the power rises above UP value (parameter 22). Default setting: 6</Help>
      <Item label="Turn the associated devices on,Power below DOWN" value="1"/>
      <Item label="Turn the associated devices off,Power below DOWN" value="2"/>
      <Item label="Turn the associated devices on,Power above UP" value="3"/>
      <Item label="Turn the associated devices off,Power above UP" value="4"/>
      <Item label="1 and 4 combine" value="5"/>
      <Item label="2 and 3 combined" value="6"/>
    </Value>
    <Value genre="config" index="24" instance="1" label="Switch ON value - On/Off association groups" max="255" min="0" size="2" type="short" value="255">
      <Help>The value of BASIC SET command frame sent to the devices associated in On/Off association groups (2, 3). On/Off (Button) association group - in accordance with parameter 20. On/Off (Power) association group - in accordance with parameter 23. Available settings: 0-99 and 255. Default setting: 255</Help>
    </Value>
    <Value genre="config" index="30" instance="1" label="Active Alarms" max="63" min="1" size="1" type="list" value="63">
      <Help>Define Z-Wave network alarms to which the Wall Plug will respond.</Help>
      <Item label="General alarm" value="1"/>
      <Item label="Smoke alarm" value="2"/>
      <Item label="CO alarm" value="4"/>
      <Item label="CO2 alarm" value="8"/>
      <Item label="High temperature alarm" value="16"/>
      <Item label="Flood alarm" value="32"/>
      <Item label="All alarms" value="63"/>
    </Value>
    <Value genre="config" index="31" instance="1" label="Response to alarm frames" max="50" min="0" size="2" type="short" value="0">
      <Help>This parameter defines how the Wall Plug will respond to alarms (device's status change). In case of values 1 or 2 the Wall Plug is operating normally and LED ring signals an alarm through time defined in parameter 32 or until the alarm is cancelled. In case of values 5 to 50 the Wall Plug does not report status change, power changes, ignores BASIC SET command frames. After time defined in parameter 32 or after the alarm cancellation, connected device is set to the previous state.. 0- no reaction 1-turn connected device on 2-turn connected device off 5-50(0,5-50,0s step 0,1s)-cyclically change device state with set period. Default setting:0-no reaction</Help>
    </Value>
    <Value genre="config" index="32" instance="1" label="Alarm state duration" max="32400" min="1" size="2" type="short" value="600">
      <Help>This parameter specifies the duration of alarm state. If a device sending an alarm frame through the Z-Wave network sets alarm duration as well, this settings are ignored. Available settings 1-32400(s) Default setting: 600</Help>
    </Value>
    <Value genre="config" index="40" instance="1" label="Power load, which when exceeded, makes the LED ring flash violet." max="30000" min="1000" size="2" type="short" value="25000">
      <Help>Function is active only when parameter 41 is set to 0 or 1. Available settings: 1000 - 30000 (100,0W - 3000,0W, step 0,1W). Default setting: 25000 (2500W)</Help>
    </Value>
    <Value genre="config" index="41" instance="1" label="LED ring illumination colour when controlled device is on" size="1" type="list" value="1">
      <Help>0 - Illumination turned off completely, 1 - LED ring illumination colour changes continuously depending on active power, 2 - LED ring illumination colour changes in steps, depending on active power,  3 - White illumination, 4 - Red illumination, 5 - Green illumination, 6 - Blue illumination, 7 - Yellow illumination, 8 - Cyan illumination, 9 - Magenta illumination. Default setting: 1</Help>
      <Item label="illumination turned off completely" value="0"/>
      <Item label="Colour changes continuously depending on active power" value="1"/>
      <Item label="Colour changes in steps depending on active power" value="2"/>
      <Item label="White illumination" value="3"/>
      <Item label="Red illumination" value="4"/>
      <Item label="Green illumination" value="5"/>
      <Item label="Blue illumination" value="6"/>
      <Item label="Yellow illumination" value="7"/>
      <Item label="Cyan illumination" value="8"/>
      <Item label="Magenta illumination" value="9"/>
    </Value>
    <Value genre="config" index="42" instance="1" label="LED ring illumination colour when controlled device is off" size="1" type="list" value="0">
      <Help>0 - Illumination turned off completely, 1 - LED ring is illuminated with a colour corresponding to the last measured power, before the controlled device was turned off, 3 - White illumination, 4 - Red illumination, 5 - Green illumination, 6 - Blue illumination, 7 - Yellow illumination, 8 - Cyan illumination, 9 - Magenta illumination. Default setting: 0</Help>
      <Item label="illumination turned off completely" value="0"/>
      <Item label="LED ring is illuminated with a colour corresponding to the last measured power" value="1"/>
      <Item label="White illumination" value="3"/>
      <Item label="Red illumination" value="4"/>
      <Item label="Green illumination" value="5"/>
      <Item label="Blue illumination" value="6"/>
      <Item label="Yellow illumination" value="7"/>
      <Item label="Cyan illumination" value="8"/>
      <Item label="Magenta illumination" value="9"/>
    </Value>
    <Value genre="config" index="43" instance="1" label="LED ring illumination colour at the Z-Wave network alarm detection" size="1" type="list" value="2">
      <Help>0 - illumination turned off completely, 1 - No change in colour. LED ring illumination colour determined by parameters 41 or 42 settings, 2 - LED ring flashes red/blue/white (default), 3 - White illumination, 4 - Red illumination, 5 - Green illumination, 6 - Blue illumination, 7 - Yellow illumination, 8 - Cyan illumination, 9 - Magenta illumination. Default setting: 2</Help>
      <Item label="illumination turned off completely" value="0"/>
      <Item label="No change in colour" value="1"/>
      <Item label="LED ring flashes red / blue / white" value="2"/>
      <Item label="White illumination" value="3"/>
      <Item label="Red illumination" value="4"/>
      <Item label="Green illumination" value="5"/>
      <Item label="Blue illumination" value="6"/>
      <Item label="Yellow illumination" value="7"/>
      <Item label="Cyan illumination" value="8"/>
      <Item label="Magenta illumination" value="9"/>
    </Value>
    <Value genre="config" index="50" instance="1" label="Associations in Z-Wave network security mode" size="1" type="list" value="3">
      <Help>This parameter defines how commands are sent in specified association groups: as secure or non-secure. Parameter is active only in Z-Wave network security mode. This parameter does not apply to 1st Lifeline group. Available settings: 0-3: 0 - none of the groups are  sent as secure; 1 - 2nd group sent as secure; 2 - 3rd group sent as secure; 3 - 2nd and 3rd group sent as secure; Default setting: 3</Help>
      <Item label="none of the groups sent as secure" value="0"/>
      <Item label="2nd group send as secure" value="1"/>
      <Item label="3rd group send as secure" value="2"/>
      <Item label="2nd and 3rd group send as secure" value="3"/>
    </Value>
  </CommandClass>
  <!-- Association Groups -->
  <CommandClass id="133">
    <Associations num_groups="3">
      <Group index="1" label="Lifeline" max_associations="1"/>
      <Group index="2" label="On/Off (button)" max_associations="10"/>
      <Group index="3" label="On/Off (power)" max_associations="10"/>
    </Associations>
  </CommandClass>
  <!-- COMMAND_CLASS_BASIC supported -->
  <CommandClass action="add" id="32">
    <Compatibility/>
  </CommandClass>
</Product>
