From 8e94d8d8b955b7f76889c5808c2d181906676914 Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Sun, 19 Sep 2021 22:32:00 +0200 Subject: [PATCH] [LuxtronikHeatpump] Adds additional setting for heating limit temperature (#11273) * [Luxtronik Heatpump] Adds additional setting for heating limit temperature Signed-off-by: Stefan Giehl --- bundles/org.openhab.binding.luxtronikheatpump/README.md | 1 + .../internal/LuxtronikHeatpumpHandler.java | 1 + .../luxtronikheatpump/internal/enums/HeatpumpChannel.java | 7 +++++++ .../resources/OH-INF/i18n/luxtronikheatpump_de.properties | 1 + .../src/main/resources/OH-INF/thing/channels.xml | 7 +++++++ .../src/main/resources/OH-INF/thing/thing-types.xml | 1 + 6 files changed, 18 insertions(+) diff --git a/bundles/org.openhab.binding.luxtronikheatpump/README.md b/bundles/org.openhab.binding.luxtronikheatpump/README.md index 0f43bda38da..f2cf8e735f9 100644 --- a/bundles/org.openhab.binding.luxtronikheatpump/README.md +++ b/bundles/org.openhab.binding.luxtronikheatpump/README.md @@ -266,6 +266,7 @@ The following channels are also writable: | comfortCoolingMode | Number | | Comfort cooling mode | | temperatureComfortCoolingATRelease | Number:Temperature | | Comfort cooling AT release | | temperatureComfortCoolingATReleaseTarget | Number:Temperature | | Comfort cooling AT release target | +| temperatureHeatingLimit | Number:Temperature | | Temperature Heating Limit | | comfortCoolingATExcess | Number:Time | | AT Excess | | comfortCoolingATUndercut | Number:Time | | AT undercut | diff --git a/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/LuxtronikHeatpumpHandler.java b/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/LuxtronikHeatpumpHandler.java index bd0883581cf..1ebd8697e49 100644 --- a/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/LuxtronikHeatpumpHandler.java +++ b/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/LuxtronikHeatpumpHandler.java @@ -163,6 +163,7 @@ public class LuxtronikHeatpumpHandler extends BaseThingHandler { case CHANNEL_EINST_KUCFTL_AKT: case CHANNEL_SOLLWERT_KUCFTL_AKT: case CHANNEL_SOLL_BWS_AKT: + case CHANNEL_EINST_HEIZGRENZE_TEMP: float temperature = ((DecimalType) command).floatValue(); value = (int) (temperature * 10); break; diff --git a/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/enums/HeatpumpChannel.java b/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/enums/HeatpumpChannel.java index a0f042d7d86..7413423be69 100644 --- a/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/enums/HeatpumpChannel.java +++ b/bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/enums/HeatpumpChannel.java @@ -1298,6 +1298,13 @@ public enum HeatpumpChannel { CHANNEL_SOLLWERT_KUCFTL_AKT(132, "temperatureComfortCoolingATReleaseTarget", NumberItem.class, SIUnits.CELSIUS, true, HeatpumpVisibility.KUHLUNG), + /** + * Temperature heating limit + * (original: Temperatur Heizgrenze) + */ + CHANNEL_EINST_HEIZGRENZE_TEMP(700, "temperatureHeatingLimit", NumberItem.class, SIUnits.CELSIUS, true, + HeatpumpVisibility.HEIZUNG), + /** * AT Excess * (original: AT-Überschreitung) diff --git a/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/i18n/luxtronikheatpump_de.properties b/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/i18n/luxtronikheatpump_de.properties index af6697bfdbd..7ff2aa3141f 100644 --- a/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/i18n/luxtronikheatpump_de.properties +++ b/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/i18n/luxtronikheatpump_de.properties @@ -287,6 +287,7 @@ channel-type.luxtronikheatpump.comfortCoolingMode.state.option.0 = Aus channel-type.luxtronikheatpump.comfortCoolingMode.state.option.1 = Auto channel-type.luxtronikheatpump.temperatureComfortCoolingATRelease.label = Comfort Kühlung AT-Freigabe channel-type.luxtronikheatpump.temperatureComfortCoolingATReleaseTarget.label = Comfort Kühlung AT-Freigabe Sollwert +channel-type.luxtronikheatpump.temperatureHeatingLimit.label = Temperatur Heizgrenze channel-type.luxtronikheatpump.comfortCoolingATExcess.label = AT-Überschreitung channel-type.luxtronikheatpump.comfortCoolingATUndercut.label = AT-Unterschreitung diff --git a/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/channels.xml index 5d4a9a590c4..6f2b38bbdaa 100644 --- a/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/channels.xml @@ -2061,6 +2061,13 @@ + + Number:Temperature + + Temperature + + + Number:Time diff --git a/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/thing-types.xml index e45b66e738e..145858409c3 100644 --- a/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/thing-types.xml @@ -226,6 +226,7 @@ +