Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LuxtronikHeatpump] Add channel for heating limit temperature #11273

Merged
merged 2 commits into from
Sep 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bundles/org.openhab.binding.luxtronikheatpump/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2061,6 +2061,13 @@
<state pattern="%.1f %unit%"></state>
</channel-type>

<channel-type id="temperatureHeatingLimit">
<item-type>Number:Temperature</item-type>
<label>Temperature Heating Limit</label>
<category>Temperature</category>
<state pattern="%.1f %unit%"></state>
</channel-type>

<channel-type id="comfortCoolingATExcess">
<item-type>Number:Time</item-type>
<label>AT Excess</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@
<channel id="thermalDisinfectionPermanent" typeId="thermalDisinfectionPermanent"/>
<channel id="temperatureComfortCoolingATRelease" typeId="temperatureComfortCoolingATRelease"/>
<channel id="temperatureComfortCoolingATReleaseTarget" typeId="temperatureComfortCoolingATReleaseTarget"/>
<channel id="temperatureHeatingLimit" typeId="temperatureHeatingLimit"/>
<channel id="comfortCoolingATExcess" typeId="comfortCoolingATExcess"/>
<channel id="comfortCoolingATUndercut" typeId="comfortCoolingATUndercut"/>
</channels>
Expand Down