Skip to content

Commit

Permalink
fgbs222
Browse files Browse the repository at this point in the history
  • Loading branch information
f-bor committed Mar 1, 2019
1 parent b8391e1 commit 1a64ec0
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 0 deletions.
249 changes: 249 additions & 0 deletions config/fibaro/fgbs222.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
<?xml version="1.0" encoding="utf-8"?>

<Product xmlns='http://code.google.com/p/open-zwave/'>
<!--
Fibaro Smart Implant
https://www.fibaro.com/us/products/smart-implant/
https://manuals.fibaro.com/content/manuals/en/FGBS-222/FGBS-222-EN-T-v1.0.pdf
-->
<!-- Configuration -->
<CommandClass id="112">
<Value type="list" genre="config" instance="1" index="20" label="Input 1 - operating mode" value="2" size="1">
<Help>This parameter allows to choose mode of 1st input (IN1). Change it depending on connected device.</Help>
<Item label="Normally closed alarm input (Notification)" value="0" />
<Item label="Normally open alarm input (Notification)" value="1" />
<Item label="Monostable button (Central Scene)" value="2" />
<Item label="Bistable button (Central Scene)" value="3" />
<Item label="Analog input without internal pull-up (Sensor Multilevel)" value="4" />
<Item label="Analog input with internal pullup (Sensor Multilevel)" value="5" />
</Value>

<Value type="list" genre="config" instance="1" index="21" label="Input 2 - operating mode" value="2" size="1">
<Help>This parameter allows to choose mode of 2nd input (IN2). Change it depending on connected device.</Help>
<Item label="Normally closed alarm input (Notification)" value="0" />
<Item label="Normally open alarm input (Notification)" value="1" />
<Item label="Monostable button (Central Scene)" value="2" />
<Item label="Bistable button (Central Scene)" value="3" />
<Item label="Analog input without internal pull-up (Sensor Multilevel)" value="4" />
<Item label="Analog input with internal pullup (Sensor Multilevel)" value="5" />
</Value>

<Value type="list" genre="config" instance="1" index="24" label="Inputs orientation" value="0" size="1">
<Help>This parameter allows reversing operation of IN1 and IN2 inputs without changing the wiring. Use in case of incorrect wiring.</Help>
<Item label="default (IN1 - 1st input, IN2 - 2nd input)" value="0" />
<Item label="reversed (IN1 - 2nd input, IN2 - 1st input)" value="1" />
</Value>

<Value type="list" genre="config" instance="1" index="25" label="Outputs orientation" value="0" size="1">
<Help>This parameter allows reversing operation of OUT1 and OUT2 inputs without changing the wiring. Use in case of incorrect wiring.</Help>
<Item label="default (OUT1 - 1st output, OUT2 - 2nd output)" value="0" />
<Item label=" reversed (OUT1 - 2nd output, OUT2 - 1st output)" value="1" />
</Value>

<Value type="list" genre="config" instance="1" index="40" label="Input 1 - sent scenes" value="0" size="1">
<Help>This parameter defines which actions result in sending scene ID and attribute assigned to them. Parameter is relevant only if parameter 20 is set to 2 or 3</Help>
<Item label="No scenes sent" value="0" />
<Item label="Key pressed 1 time" value="1" />
<Item label="Key pressed 2 times" value="2" />
<Item label="Key pressed 3 times" value="4" />
<Item label="Key hold down and key released" value="8" />
</Value>

<Value type="list" genre="config" instance="1" index="41" label="Input 2 - sent scenes" value="0" size="1">
<Help>This parameter defines which actions result in sending scene ID and attribute assigned to them. Parameter is relevant only if parameter 21 is set to 2 or 3.</Help>
<Item label="No scenes sent" value="0" />
<Item label="Key pressed 1 time" value="1" />
<Item label="Key pressed 2 times" value="2" />
<Item label="Key pressed 3 times" value="4" />
<Item label="Key hold down and key released" value="8" />
</Value>

<Value type="short" genre="config" instance="1" index="47" label="Input 1 - value sent to 2nd association group when activated" min="0" max="255" value="255">
<Help>
This parameter defines value sent to devices in 2nd association group when IN1 input is triggered (using Basic Command Class).
Available settings: 0-255.
Default setting: 255.
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="49" label="Input 1 - value sent to 2nd association group when deactivated" min="0" max="255" value="255">
<Help>
This parameter defines value sent to devices in 2nd association group when IN1 input is deactivated (using Basic Command Class).
Available settings: 0-255.
Default setting: 255.
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="52" label="Input 2 - value sent to 3rd association group when activated" min="0" max="255" value="255">
<Help>
This parameter defines value sent to devices in 3rd association group when IN2 input is triggered (using Basic Command Class).
Available settings: 0-255.
Default setting: 255.
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="54" label="Input 2 - value sent to 3rd association group when deactivated" min="0" max="255" value="255">
<Help>
This parameter defines value sent to devices in 3rd association group when IN2 input is deactivated (using Basic Command Class).
Available settings: 0-255.
Default setting: 255.
</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="150" label="Input 1 - sensitivity" min="1" max="100" value="10">
<Help>
This parameter defines the inertia time of IN1 input in alarm modes.
Adjust this parameter to prevent bouncing or signal disruptions. Parameter is relevant only if parameter 20 is set to 0 or 1 (alarm mode).
Available settings: 1-100 (10ms-1000ms, 10ms step).
Default setting: 10 (100ms).
</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="151" label="Input 2 - sensitivity" min="1" max="100" value="10">
<Help>
This parameter defines the inertia time of IN2 input in alarm modes.
Adjust this parameter to prevent bouncing or signal disruptions. Parameter is relevant only if parameter 21 is set to 0 or 1 (alarm mode).
Available settings: 1-100 (10ms-1000ms, 10ms step).
Default setting: 10 (100ms).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="152" label="Input 1 - delay of alarm cancellation" min="0" max="3600" value="0">
<Help>
This parameter defines additional delay of cancelling the alarm on IN1 input. Parameter is relevant only if parameter 20 is set to 0 or 1 (alarm mode).
Available settings:
0 - no delay.
1-3600s.
Default setting: 0 (no delay).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="153" label="Input 2 - delay of alarm cancellation" min="0" max="3600" value="0">
<Help>
This parameter defines additional delay of cancelling the alarm on IN2 input. Parameter is relevant only if parameter 21 is set to 0 or 1 (alarm mode).
Available settings:
0 - no delay.
1-3600s.
Default setting: 0 (no delay).
</Help>
</Value>

<Value type="list" genre="config" instance="1" index="154" label="Output 1 - logic of operation" value="0" size="1">
<Help>This parameter defines logic of OUT1 output operation.</Help>
<Item label="contacts normally open" value="0" />
<Item label="contacts normally closed" value="1" />
</Value>

<Value type="list" genre="config" instance="1" index="155" label="Output 2 - logic of operation" value="0" size="1">
<Help>This parameter defines logic of OUT2 output operation.</Help>
<Item label="contacts normally open" value="0" />
<Item label="contacts normally closed" value="1" />
</Value>

<Value type="byte" genre="config" instance="1" index="156" label="Output 1 - auto off" min="0" max="27000" value="0">
<Help>
This parameter defines time after which OUT1 will be automatically deactivated.
Available settings:
0 - auto off disabled.
1-27000 (0.1s-45min, 0.1s step).
Default setting: 0 (auto off disabled).
</Help>
</Value>

<Value type="byte" genre="config" instance="1" index="157" label="Output 2 - auto off" min="0" max="27000" value="0">
<Help>
This parameter defines time after which OUT2 will be automatically deactivated.
Available settings:
0 - auto off disabled.
1-27000 (0.1s-45min, 0.1s step).
Default setting: 0 (auto off disabled).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="63" label="Analog inputs - minimal change to report" min="0" max="100" value="5">
<Help>
This parameter defines minimal change (from the last reported) of
analog input value that results in sending new report. Parameter is
relevant only for analog inputs (parameter 20 or 21 set to 4 or 5).
Available settings:
0 - (reporting on change disabled).
1-100 (0.1-10V, 0.1V step).
Default setting: 5 (0.5V).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="64" label="Analog inputs - periodical reports" min="0" max="32400" value="0">
<Help>
This parameter defines reporting period of analog inputs value.
Periodical reports are independent from changes in value (parameter 63). Parameter is relevant only for analog inputs (parameter
20 or 21 set to 4 or 5).
Available settings:
0 (periodical reports disabled).
60-32400 (60s-9h).
Default setting: 0 (periodical reports disabled).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="65" label="Internal temperature sensor - minimal change to report" min="0" max="255" value="5">
<Help>
This parameter defines minimal change (from the last reported)
of internal temperature sensor value that results in sending new
report.
Available settings:
0 - (reporting on change disabled).
1-255 (0.1-25.5C).
Default setting: 5 (0.5C).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="66" label="Internal temperature sensor - periodical reports" min="0" max="32400" value="0">
<Help>
This parameter defines reporting period of internal temperature
sensor value. Periodical reports are independent from changes in
value (parameter 65).
Available settings:
0 (periodical reports disabled).
60-32400 (60s-9h).
Default setting: 0 (periodical reports disabled).
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="67" label="External sensors - minimal change to report" min="0" max="255" value="5">
<Help>
This parameter defines minimal change (from the last reported) of
external sensors values (DS18B20 or DHT22) that results in sending new
report. Parameter is relevant only for connected DS18B20 or DHT22
sensors.
Available settings:
0 - (reporting on change disabled).
1-255 (0.1-25.5 units).
Default setting: 5 (0.5 units)
</Help>
</Value>

<Value type="short" genre="config" instance="1" index="68" label="External sensors - periodical reports" min="0" max="32400" value="0">
<Help>
This parameter defines reporting period of analog inputs value.
Periodical reports are independent from changes in value (parameter 67).
Parameter is relevant only for connected DS18B20 or DHT22 sensors.
Available settings:
0 - (periodical reports disabled).
60-32400 (60s-9h).
Default setting: 0 (periodical reports disabled).
</Help>
</Value>
</CommandClass>

<CommandClass id="96" mapping="endpoints" />
<CommandClass id="32" setasreport="true" />

<!-- Association Groups -->
<CommandClass id="133">
<Associations num_groups="3">
<Group index="1" max_associations="1" label="Lifeline" />
<Group index="2" max_associations="5" label="Input IN1" />
<Group index="3" max_associations="5" label="Input IN2" />
</Associations>
</CommandClass>

</Product>
1 change: 1 addition & 0 deletions config/manufacturer_specific.xml
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@
<Product type="0501" id="1002" name="FGBS001 Universal Binary Sensor" config="fibaro/fgbs001.xml" />
<Product type="0501" id="3002" name="FGBS001 Universal Binary Sensor" config="fibaro/fgbs001.xml" />
<Product type="0501" id="4002" name="FGBS001 Universal Binary Sensor" config="fibaro/fgbs001.xml" />
<Product type="0502" id="1000" name="FGBS222 Smart Implant" config="fibaro/fgbs222.xml" />
<Product type="0100" id="0104" name="FGD211 Universal Dimmer 500W" config="fibaro/fgd211.xml" />
<Product type="0100" id="0106" name="FGD211 Universal Dimmer 500W" config="fibaro/fgd211.xml" />
<Product type="0100" id="0107" name="FGD211 Universal Dimmer 500W" config="fibaro/fgd211.xml" />
Expand Down
1 change: 1 addition & 0 deletions distfiles.mk
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ DISTFILES = .gitignore \
config/fakro/zws12.xml \
config/fakro/zws230.xml \
config/fibaro/fgbs001.xml \
config/fibaro/fgbs222.xml \
config/fibaro/fgcd001.xml \
config/fibaro/fgd211.xml \
config/fibaro/fgd212.xml \
Expand Down

0 comments on commit 1a64ec0

Please sign in to comment.