]> git.basschouten.com Git - openhab-addons.git/commitdiff
[lcn] Improve readme; Allow special module IDs <5 (#10770)
authorFabian Wolter <github@fabian-wolter.de>
Sat, 29 May 2021 11:51:32 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Sat, 29 May 2021 11:51:32 +0000 (13:51 +0200)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
bundles/org.openhab.binding.lcn/README.md
bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/config/config.xml

index db9ecdf7fe41617718dc4d0ac5891c97c2fd3612..15afd6d6b76f0fce90d96fc13ea268974f3501eb 100644 (file)
@@ -249,6 +249,10 @@ After the colon, the LCN "hit type" follows: HIT, MAKE or BREAK (German: kurz, l
 
 If multiple keys or key tables are programmed in a single "send keys" command, multiple triggers will be executed.
 
+> Notice: Don't test the command with the "Test command" button in LCN-PRO.
+This will send a command from LCN-PRO to openHAB, but openHAB expects the module as the sender.
+Simply press the physical button at the module for testing.
+
 ### Remote Control
 
 To evaluate commands from LCN remote controls (e.g. LCN-RT or LCN-RT16), the module's I-port behavior must be configured as "IR access control" within *LCN-PRO*:
index 0e6dfa6c8b43180d08fc4a50e292acdb97b676c9..97782e96683bc726c19f2d0284e74a81de572592 100644 (file)
@@ -43,7 +43,7 @@
        </config-description>
 
        <config-description uri="thing-type:lcn:module">
-               <parameter name="moduleId" type="integer" required="true" min="5" max="254">
+               <parameter name="moduleId" type="integer" required="true" min="1" max="254">
                        <label>Module ID</label>
                        <description>The module ID, configured in LCN-PRO</description>
                </parameter>
@@ -58,7 +58,7 @@
                        <label>Group Number</label>
                        <description>The group number, configured in LCN-PRO</description>
                </parameter>
-               <parameter name="moduleId" type="integer" required="true" min="5" max="254">
+               <parameter name="moduleId" type="integer" required="true" min="1" max="254">
                        <label>Module ID</label>
                        <description>The module ID of any module in the group. The state of this module is used for visualization of the
                                group as representative for all modules.</description>