From a2bcb2ec7a8314ffd24a472e3878ab8b70018f44 Mon Sep 17 00:00:00 2001 From: Fabian Wolter Date: Sun, 29 Nov 2020 05:27:16 +0100 Subject: [PATCH] [lcn] doc: make dimmer output resolution more clearer, fix i18n error (#9162) Signed-off-by: Fabian Wolter --- bundles/org.openhab.binding.lcn/README.md | 13 +++++++------ .../src/main/resources/OH-INF/config/config.xml | 2 +- .../main/resources/OH-INF/i18n/lcn_de.properties | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/bundles/org.openhab.binding.lcn/README.md b/bundles/org.openhab.binding.lcn/README.md index 0d328c7a61..7efc06860e 100644 --- a/bundles/org.openhab.binding.lcn/README.md +++ b/bundles/org.openhab.binding.lcn/README.md @@ -59,14 +59,15 @@ Thing Type ID: `pckGateway` | `mode` | Dimmer resolution: `native50` or `native200` See below. | String | Yes | | `timeoutMs` | Period after which an LCN command is resent, when no acknowledge has been received (in ms) (default: 3500) | Integer | Yes | -> **IMPORTANT:** You need to configure the dimmer output resolution. This setting is valid for the **whole** LCN bus.
-The setting is either 0-50 steps or 0-200 steps. -It **has to be the same** as in the parameterizing software **LCN-PRO** under Options/Settings/Expert Settings. -See the following screenshot. +> **ATTENTION:** You must set the correct dimmer output resolution in the PCK Gateway Thing (`mode`)! +This setting is crucial, and valid for the **whole** LCN bus.
+It is either 0-50 steps or 0-200 steps. +It has to be the same as in the parameterizing software LCN-PRO under Options/Settings/Expert Settings.
+**When using a wrong dimmer output setting, dimming the outputs will result in unintended behavior!** -![LCN-PRO screenshot, showing the 50 or 200 steps for the dimmer outputs](doc/LCN-PRO_output_steps.png) +Please see the following LCN-PRO screenshot to determine the dimmer output resolution for the LCN bus: -When using a wrong dimmer output setting, dimming the outputs will result in unintended behavior. +![LCN-PRO screenshot, showing the 50 or 200 steps for the dimmer outputs](doc/LCN-PRO_output_steps.png) ### Thing: LCN Group diff --git a/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/config/config.xml b/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/config/config.xml index 4392568292..5e43ddbe9b 100644 --- a/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/config/config.xml +++ b/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/config/config.xml @@ -30,7 +30,7 @@ - IMPORTANT: Dimming range of all modules. Must be the same value as configured in LCN-PRO (Options/Settings/Expert Settings). If you only have modules with firmware newer than Feb. 2013, you probably want to choose 0 - 200.]]> + ATTENTION: Dimming range of all modules. Must be the same value as configured in LCN-PRO (Options/Settings/Expert Settings). If you only have modules with firmware newer than Feb. 2013, you probably want to choose 0 - 200.]]> native200 diff --git a/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/i18n/lcn_de.properties b/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/i18n/lcn_de.properties index e8df2d867b..32ab9b1869 100644 --- a/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/i18n/lcn_de.properties +++ b/bundles/org.openhab.binding.lcn/src/main/resources/OH-INF/i18n/lcn_de.properties @@ -15,7 +15,7 @@ thing-type.config.lcn.pckGateway.hostname.description = Hostname oder die IP-Adr thing-type.config.lcn.pckGateway.port.description = Netzwerk-Port auf dem der PCK-Koppler läuft thing-type.config.lcn.pckGateway.username.description = Benutzername vom PCK-Koppler thing-type.config.lcn.pckGateway.password.description = Login-Passwort vom PCK-Koppler -thing-type.config.lcn.pckGateway.mode.description = WICHTIG: Der Dimmbereich von allen LCN-Modulen. Muss der gleiche Wert, wie in LCN-PRO sein (Optionen/Einstellungen/Experteneinstellungen). Wenn nur Module älter als 2013 im Bus vorhanden sind, muss hier wahrscheinlich 0 - 200 ausgewählt werden. +thing-type.config.lcn.pckGateway.mode.description = ACHTUNG: Der Dimmbereich von allen LCN-Modulen. Muss der gleiche Wert, wie in LCN-PRO sein (Optionen/Einstellungen/Experteneinstellungen). Wenn nur Module neuer als 2013 im Bus vorhanden sind, muss hier wahrscheinlich 0 - 200 ausgewählt werden. thing-type.config.lcn.pckGateway.timeoutMs.description = Zeit nach der eine PCK-Nachricht erneut gesendet wird, wenn vom Modul keine positive Quittung empfangen wurde. thing-type.config.lcn.module.moduleId.label = Modul-ID -- 2.47.3