diff --git a/bundles/org.openhab.binding.insteon/README.md b/bundles/org.openhab.binding.insteon/README.md index 11e4e1de3..84ec001ea 100644 --- a/bundles/org.openhab.binding.insteon/README.md +++ b/bundles/org.openhab.binding.insteon/README.md @@ -199,27 +199,27 @@ Sample things file: Bridge insteon:network:home [port="/dev/ttyUSB0"] { Thing device 22F8A8 [address="22.F8.A8", productKey="F00.00.15"] { Channels: - Type switch : keypadButtonA [ group=3 ] - Type switch : keypadButtonB [ group=4 ] - Type switch : keypadButtonC [ group=5 ] - Type switch : keypadButtonD [ group=6 ] + Type keypadButtonA : keypadButtonA [ group=3 ] + Type keypadButtonB : keypadButtonB [ group=4 ] + Type keypadButtonC : keypadButtonC [ group=5 ] + Type keypadButtonD : keypadButtonD [ group=6 ] } Thing device 238D93 [address="23.8D.93", productKey="F00.00.12"] Thing device 238F55 [address="23.8F.55", productKey="F00.00.11"] { Channels: - Type dimmer : dimmer [related="23.B0.D9+23.8F.C9"] + Type dimmer : dimmer [related="23.B0.D9+23.8F.C9"] } Thing device 238FC9 [address="23.8F.C9", productKey="F00.00.11"] { Channels: - Type dimmer : dimmer [related="23.8F.55+23.B0.D9"] + Type dimmer : dimmer [related="23.8F.55+23.B0.D9"] } Thing device 23B0D9 [address="23.B0.D9", productKey="F00.00.11"] { Channels: - Type dimmer : dimmer [related="23.8F.55+23.8F.C9"] + Type dimmer : dimmer [related="23.8F.55+23.8F.C9"] } Thing device 243141 [address="24.31.41", productKey="F00.00.11"] { Channels: - Type dimmer : dimmer [dimmermax=60] + Type dimmer : dimmer [dimmermax=60] } } ``` @@ -329,11 +329,11 @@ The below example sets a maximum level of 70% for dim 1 and 60% for dim 2: Bridge insteon:network:home [port="/dev/ttyUSB0"] { Thing device AABBCC [address="AA.BB.CC", productKey="F00.00.11"] { Channels: - Type dimmer : dimmer [dimmermax=70] + Type dimmer : dimmer [dimmermax=70] } Thing device AABBCD [address="AA.BB.CD", productKey="F00.00.15"] { Channels: - Type dimmer : loadDimmer [dimmermax=60] + Type loadDimmer : loadDimmer [dimmermax=60] } } ``` @@ -576,10 +576,10 @@ To make the buttons available, add the following: Bridge insteon:network:home [port="/dev/ttyUSB0"] { Thing device AABBCC [address="AA.BB.CC", productKey="F00.00.15"] { Channels: - Type switch : keypadButtonA [ group="0xf3" ] - Type switch : keypadButtonB [ group="0xf4" ] - Type switch : keypadButtonC [ group="0xf5" ] - Type switch : keypadButtonD [ group="0xf6" ] + Type keypadButtonA : keypadButtonA [ group="0xf3" ] + Type keypadButtonB : keypadButtonB [ group="0xf4" ] + Type keypadButtonC : keypadButtonC [ group="0xf5" ] + Type keypadButtonD : keypadButtonD [ group="0xf6" ] } } ``` @@ -747,7 +747,7 @@ The format is `broadcastOnOff#X` where X is the group that you want to be able t Bridge insteon:network:home [port="/dev/ttyUSB0"] { Thing device AABBCC [address="AA.BB.CC", productKey="0x000045"] { Channels: - Type switch : broadcastOnOff#2 + Type broadcastOnOff : broadcastOnOff#2 } } @@ -802,7 +802,7 @@ A typical example would be a switch configured to broadcast to a group, and one Bridge insteon:network:home [port="/dev/ttyUSB0"] { Thing device AABBCC [address="AA.BB.CC", productKey="0x000045"] { Channels: - Type switch : broadcastOnOff#3 [related="AA.BB.DD"] + Type broadcastOnOff : broadcastOnOff#3 [related="AA.BB.DD"] } Thing device AABBDD [address="AA.BB.DD", productKey="F00.00.11"] } diff --git a/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/config/config.xml new file mode 100644 index 000000000..b3966c2c5 --- /dev/null +++ b/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/config/config.xml @@ -0,0 +1,63 @@ + + + + + + + List of related Insteon devices separated by a '+' sign. + + + + + + + List of related Insteon devices separated by a '+' sign. + + + + + + + Maximum brightness of the dimmer in percentage. + + + + List of related Insteon devices separated by a '+' sign. + + + + + + + Insteon broadcast group configured for this button. + + + + List of related Insteon devices separated by a '+' sign. + + + + + + + Insteon broadcast group configured for this button. + + + + + + + Insteon broadcast group configured for this button. + + + + + + + List of related Insteon devices separated by a '+' sign. + + + diff --git a/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/thing/thing-types.xml index 09a58de64..93346592d 100644 --- a/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.insteon/src/main/resources/OH-INF/thing/thing-types.xml @@ -138,56 +138,67 @@ Switch + Switch + Switch + Switch + Switch + Switch + Switch + Switch + Switch + Switch + Contact + @@ -198,6 +209,7 @@ Dimmer + @@ -218,41 +230,49 @@ Switch + Switch + Switch + Switch + Switch + Switch + Switch + Switch + @@ -288,41 +308,49 @@ Switch + Switch + Switch + Switch + Switch + Switch + Switch + Switch + @@ -348,6 +376,7 @@ Dimmer + @@ -363,16 +392,19 @@ Dimmer + Switch + Switch + @@ -393,41 +425,49 @@ Number + Number + Number + Number + Number + Number + Number + Number + @@ -463,6 +503,7 @@ Switch + @@ -488,6 +529,7 @@ Switch +