Skip to content

Commit

Permalink
Adding a new entry for fgwds221 in Single switch mode (1A01) Typo cor…
Browse files Browse the repository at this point in the history
…rections / default value for LED frame – colour when OFF for fgwds221 Double switch (1B01)
  • Loading branch information
fcoquelet committed Feb 27, 2021
1 parent e5568ff commit dbe1d0f
Show file tree
Hide file tree
Showing 5 changed files with 321 additions and 42 deletions.
75 changes: 38 additions & 37 deletions config/fibaro/fgwds221.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Product Revision="3" xmlns="https://github.com/OpenZWave/open-zwave">
<Product Revision="4" xmlns="https://github.com/OpenZWave/open-zwave">
<!-- Please refer to https://github.com/OpenZWave/open-zwave/wiki/Adding-Devices for instructions -->
<MetaData>
<MetaDataItem name="Name">FGWDSEU-221 Walli Double Switch</MetaDataItem>
Expand Down Expand Up @@ -36,9 +36,10 @@
<Entry author="Makooy - marc@makooy.nl" date="07 July 2019" revision="1">Initial Creation of config file - https://products.z-wavealliance.org/Products/3395/XML</Entry>
<Entry author="Peter Gebruers - peter.gebruers@gmail.com" date="06 September 2019" revision="2">Change definition of params 30-34 to fix https://github.com/domoticz/domoticz/issues/3557</Entry>
<Entry author="Justin Hammond" date="24 June 2020" revision="3">Add Product Picture</Entry>
<Entry author="Florent Coquelet" date="27 February 2021" revision="4">Typo corrections / default value for LED frame – colour when OFF</Entry>
</ChangeLog>
</MetaData>

<!-- Configuration Command Class - All Configuration Parameters should be entered into the section below -->
<CommandClass id="112">

Expand All @@ -48,27 +49,27 @@
1 - restores remembered state after restoring power
</Help>
</Value>

<Value genre="config" index="2" label="First channel – overload safety switch" max="36200" min="0" size="4" type="int" value="0">
<Help>This function allows to turn off the controlled device in case of exceeding the defined power. Controlled device can be turned back on via button or sending a control frame.
0 - Function disabled
10-36200 - (1.0-3620.0W, step 0.1W) – Power threshold
</Help>
</Value>

<Value genre="config" index="3" label="Second channel – overload safety switch" max="36200" min="0" size="4" type="int" value="0">
<Help>This function allows to turn off the controlled device in case of exceeding the defined power. Controlled device can be turned back on via button or sending a control frame.
0 - Function disabled
10-36200 - (1.0-3620.0W, step 0.1W) – Power threshold
</Help>
</Value>

<Value genre="config" index="10" label="LED frame – power limit" max="30000" min="500" size="4" type="int" value="30000">
<Help>This parameter determines maximum active power. Exceeding it results in the LED frame flashing violet. Function is active only when parameter 11 is set to 8 or 9.
(50.0-3000.0W, step 0.1W) – power threshold
</Help>
</Value>

<Value genre="config" index="11" label="LED frame – colour when ON" max="9" min="0" size="1" type="list" value="1">
<Help>This parameter defines the LED colour when thedevice is ON. When set to 8 or 9, LED frame colour will change depending on he measured power and parameter 10. Other colours are set permanently and do not depend on power consumption.
</Help>
Expand All @@ -83,8 +84,8 @@
<Item label="Colour changes smoothly depending on measured power" value="8"/>
<Item label="Colour changes in steps depending on measured power" value="9"/>
</Value>
<Value genre="config" index="12" label="LED frame – colour when OFF" max="7" min="0" size="1" type="list" value="1">

<Value genre="config" index="12" label="LED frame – colour when OFF" max="7" min="0" size="1" type="list" value="0">
<Help>This parameter defines the LED colour when thedevice is ON. When set to 8 or 9, LED frame colour will change depending on he measured power and parameter 10. Other colours are set permanently and do not depend on power consumption.
</Help>
<Item label="LED disabled" value="0"/>
Expand All @@ -96,36 +97,36 @@
<Item label="Cyan" value="6"/>
<Item label="Magenta" value="7"/>
</Value>

<Value genre="config" index="13" label="LED frame – brightness" max="102" min="0" size="1" type="byte" value="100">
<Help>This parameter allows to adjust the LED frame brightness.
0 - LED disabled
1-100 - (1-100% brightness)
101 - brightness directly proportional to measured power
102 - brightness inversely proportional asured powerto me
102 - brightness inversely proportional to measured power
</Help>
</Value>

<Value genre="config" index="20" label="Buttons operation" max="4" min="1" size="1" type="list" value="3">
<Help>This parameter defines how device buttons should control the channels.</Help>
<Item label="1st and 2nd button toggle both channels" value="1"/>
<Item label="1st button turns both channels ON, 2nd button turns both channels OFF" value="2"/>
<Item label="1st button toggles 1st channel, 2nd button toggles 2nd channel" value="3"/>
<Item label="1st button single click turns 1st channel ON, 1st button double click turns 2nd channel ON, 2nd button single click turns both channels OFF" value="4"/>
</Value>

<Value genre="config" index="24" label="Buttons orientation" max="1" min="0" size="1" type="list" value="0">
<Help>This parameter allows reversing the operation of the buttons.</Help>
<Item label="Default (1st button controls 1st channel, 2nd button controls 2nd channel)" value="0"/>
<Item label="Reversed (1st button controls 2nd channel, 2nd button controls 1st channel)" value="1"/>
</Value>

<Value genre="config" index="25" label="Outputs orientation" max="1" min="0" size="1" type="list" value="0">
<Help>This parameter allows reversing the operation of Q1 and Q2 without changing the wiring (e.g. in case of invalid connection). Changing orientation turns both outputs off.</Help>
<Item label="Default (Q1 - 1st channel, Q2 - 2nd channel)" value="0"/>
<Item label="Reversed (Q1 - 2nd channel, Q2 - 1st channel)" value="1"/>
</Value>

<Value type="int" index="30" genre="config" label="Alarm configuration - 1st slot" value="0" min="0" max="4294967295">
<Help>This parameter determines to which alarm frames and how the device should react. The parameters consist of 4 bytes, three most significant bytes are set according to the official Z-Wave protocol specification.
1B: [MSB] Notification Type, 2B: Notification Status, 3B: Event/State Parameters, 4B: [LSB] action
Expand Down Expand Up @@ -163,7 +164,7 @@
1-32400 - (1s-9h, 1s step) – Duration
</Help>
</Value>

<Value genre="config" index="40" label="First button – scenes sent" max="8" min="0" size="1" type="byte" value="0">
<Help>This parameter determines which actions result in sending scene IDs assigned to them. Values can be combined (e.g. 1+2=3 means that scenes for single and double click are sent). Enabling scenes for triple click disables entering the device in learn mode by triple clicking.
1 - Key pressed 1 time
Expand All @@ -172,7 +173,7 @@
8 - Key hold down and key released
</Help>
</Value>

<Value genre="config" index="41" label="Second button – scenes sent" max="8" min="0" size="1" type="byte" value="0">
<Help>This parameter determines which actions result in sending scene IDs assigned to them. Values can be combined (e.g. 1+2=3 means that scenes for single and double click are sent). Enabling scenes for triple click disables entering the device in learn mode by triple clicking.
1 - Key pressed 1 time
Expand All @@ -181,116 +182,116 @@
8 - Key hold down and key released
</Help>
</Value>

<Value genre="config" index="60" label="Power reports – include self-consumption" max="1" min="0" size="1" type="list" value="0">
<Help>This parameter determines whether the power measurements should include power consumed by the device itself.
</Help>
<Item label="Self-consumption not included" value="0"/>
<Item label="Self-consumption included" value="1"/>
</Value>

<Value genre="config" index="61" label="Power reports for first channel – on change" max="500" min="0" size="2" type="short" value="15">
<Help>This parameter defines minimal change (from the last reported) in measured power that results in sending new report. For loads under 50W the parameter is irrelevant, report are sent every 5W change.
0 - Reporting on change disabled
1-500 - (1-500%, 1% step) – Minimal change
</Help>
</Value>

<Value genre="config" index="62" label="Power reports for first channel – periodic" max="32400" min="0" size="2" type="short" value="3600">
<Help>This parameter defines reporting interval for measured power. Periodic reports are independent from changes in value (parameter 61).
0 - periodic reports disabled
30-32400 - (30s-9h, 1s step) – time interval
</Help>
</Value>

<Value genre="config" index="63" label="Power reports for second channel – on change" max="500" min="0" size="2" type="short" value="15">
<Help>This parameter defines minimal change (from the last reported) in measured power that results in sending new report. For loads under 50W the parameter is irrelevant, report are sent every 5W change.
0 - Reporting on change disabled
1-500 - (1-500%, 1% step) – Minimal change
</Help>
</Value>

<Value genre="config" index="64" label="Power reports for second channel – periodic" max="32400" min="0" size="2" type="short" value="3600">
<Help>This parameter defines reporting interval for measured power. Periodic reports are independent from changes in value (parameter 63).
0 - periodic reports disabled
30-32400 - (30s-9h, 1s step) – time interval
</Help>
</Value>

<Value genre="config" index="65" label="Energy reports for first channel – on change" max="500" min="0" size="2" type="short" value="10">
<Help>This parameter defines minimal change (from the last reported) in measured energy that results in sending new report.
0 - reporting on change disabled
1-500 - (0.01-5kWh, 0.01kWh step) – minimal change
</Help>
</Value>

<Value genre="config" index="66" label="Energy reports for first channel – periodic" max="32400" min="0" size="2" type="short" value="3600">
<Help>This parameter defines reporting interval for measured energy. Periodic reports are independent from changes in value (parameter 66).
0 - periodic reports disabled
30-32400 - (30s-9h, 1s step) – time interval
</Help>
</Value>

<Value genre="config" index="67" label="Energy reports for second channel – on change" max="500" min="0" size="4" type="int" value="10">
<Help>This parameter defines minimal change (from the last reported) in measured energy that results in sending new report.
0 - reporting on change disabled
1-500 - (0.01-5kWh, 0.01kWh step) – minimal change
</Help>
</Value>

<Value genre="config" index="68" label="Energy reports for second channel – periodic" max="32400" min="0" size="2" type="short" value="3600">
<Help>This parameter defines reporting interval for measured energy. Periodic reports are independent from changes in value (parameter 67).
0 - periodic reports disabled
30-32400 - (30s-9h, 1s step) – time interval
</Help>
</Value>

<Value genre="config" index="150" label="First channel – operating mode" max="2" min="0" size="1" type="list" value="0">
<Help>This parameter allows to choose operating for the 1st channel.
</Help>
<Item label="Standard operation" value="0"/>
<Item label="Delayed OFF" value="1"/>
<Item label="Single pulse" value="2"/>
</Value>

<Value genre="config" index="151" label="Second channel – operating mode" max="2" min="0" size="1" type="list" value="0">
<Help>This parameter allows to choose operating for the 2nd channel.
</Help>
<Item label="Standard operation" value="0"/>
<Item label="Delayed OFF" value="1"/>
<Item label="Single pulse" value="2"/>
</Value>

<Value genre="config" index="152" label="First channel - reaction to switch for delayed OFF / pulse modes" max="2" min="0" size="1" type="list" value="0">
<Help>This parameter determines how the device in timed mode reacts to pushing the button for 1st channel. The parameter is relevant only for button toggles modes (parameter 20 set to 1 or 3).
</Help>
<Item label="Cancel mode and set default state" value="0"/>
<Item label="No reaction - mode runs until it ends" value="1"/>
<Item label="Reset timer - start counting from the beginning" value="2"/>
</Value>
</Value>

<Value genre="config" index="153" label="Second channel - reaction to switch for delayed OFF / pulse modes" max="2" min="0" size="1" type="list" value="0">
<Help>This parameter determines how the device in timed mode reacts to pushing the button for 2nd channel. The parameter is relevant only for button toggles modes (parameter 20 set to 1 or 3).
</Help>
<Item label="Cancel mode and set default state" value="0"/>
<Item label="No reaction - mode runs until it ends" value="1"/>
<Item label="Reset timer - start counting from the beginning" value="2"/>
</Value>

<Value genre="config" index="154" label="First channel - time parameter for delayed OFF / pulse modes" max="32000" min="1" size="2" type="short" value="50">
<Help>This parameter allows to set time parameter used in timed modes for 1st channel (parameter 150). Delay time for switching off or duration of the pulse.
0 - 0.1 second
1-32000 - 1-32000s, 1s step – time parameter
</Help>
</Value>

<Value genre="config" index="155" label="Second channel - time parameter for delayed OFF / pulse modes" max="32000" min="1" size="2" type="short" value="50">
<Help>This parameter allows to set time parameter used in timed modes for 2nd channel (parameter 151). Delay time for switching off or duration of the pulse.
0 - 0.1 second
1-32000 - 1-32000s, 1s step – time parameter
</Help>
</Value>

<Value genre="config" index="156" label="First channel – Switch ON value sent to 2nd and 3rd association groups" max="255" min="0" size="2" type="short" value="255">
<Help>This parameter defines value sent with Switch ON command to devices associated in 2nd and 3rd association group for manual changes of Endpoint 1 state.
0-99 - 2nd association group
Expand Down Expand Up @@ -318,14 +319,14 @@
255 - 5th association group
</Help>
</Value>

<Value genre="config" index="160" label="Second channel – Switch OFF value sent to 4th and 5th association groups" max="255" min="0" size="2" type="short" value="0">
<Help>This parameter defines value sent with Switch OFF command to devices associated in 4th and 5th association group for manual changes of Endpoint 2 state.
0-99 - 4th association group
255 - 5th association group
</Help>
</Value>

<Value genre="config" index="161" label="Second channel – Double Click value sent to 4th and 5th association groups" max="255" min="0" size="2" type="short" value="99">
<Help>This parameter defines value sent with Double Click command to devices associated in 4th and 5th association group for manual changes of Endpoint 2 state.
0-99 - 4th association group
Expand All @@ -340,8 +341,8 @@
<Group index="1" label="LifeLine" max_associations="1"/>
<Group index="2" label="On/Off S1" max_associations="5"/>
<Group index="3" label="Dimmer S1" max_associations="5"/>
<Group index="4" label="On/Off S1" max_associations="5"/>
<Group index="5" label="Dimmer S1" max_associations="5"/>
<Group index="4" label="On/Off S2" max_associations="5"/>
<Group index="5" label="Dimmer S2" max_associations="5"/>
</Associations>
</CommandClass>
</Product>
Loading

0 comments on commit dbe1d0f

Please sign in to comment.