Skip to content

Commit d6ab538

Browse files
authored
[Luxtronik] Enable Utility Lock 2 (EVU2) channel (openhab#18331)
Signed-off-by: Stefan Giehl <[email protected]>
1 parent 80d64cc commit d6ab538

File tree

5 files changed

+57
-15
lines changed

5 files changed

+57
-15
lines changed

bundles/org.openhab.binding.luxtronikheatpump/src/main/java/org/openhab/binding/luxtronikheatpump/internal/enums/HeatpumpChannel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ public enum HeatpumpChannel {
950950
* EVU 2
951951
* (original: EVU 2)
952952
*/
953-
// CHANNEL_HZIO_EVU2(185, "HZIO_EVU2", NumberItem.class, null, false, null),
953+
CHANNEL_HZIO_EVU2(185, "inputUtilityLock2", SwitchItem.class, null, false, HeatpumpVisibility.IN_EVU),
954954

955955
/**
956956
* Safety tempearture limiter floor heating

bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/i18n/luxtronikheatpump.properties

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ channel-type.luxtronikheatpump.inputSPL.label = Input SPL
112112
channel-type.luxtronikheatpump.inputSwimmingPoolThermostat.label = Input "Swimming Pool Thermostat"
113113
channel-type.luxtronikheatpump.inputSwitchHighPressure2.label = Input Pressure Switch High Pressure 2
114114
channel-type.luxtronikheatpump.inputUtilityLock.label = Input "Utility Lock"
115+
channel-type.luxtronikheatpump.inputUtilityLock2.label = Input "Utility Lock 2"
115116
channel-type.luxtronikheatpump.linBusInstalled.label = LIN BUS Installed
116117
channel-type.luxtronikheatpump.lowPressure.label = Low Pressure
117118
channel-type.luxtronikheatpump.lowPressure2.label = Low Pressure 2

bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/channels.xml

+6
Original file line numberDiff line numberDiff line change
@@ -1584,6 +1584,12 @@
15841584
<state pattern="%.1f rpm" readOnly="true"/>
15851585
</channel-type>
15861586

1587+
<channel-type id="inputUtilityLock2" advanced="true">
1588+
<item-type>Switch</item-type>
1589+
<label>Input "Utility Lock 2"</label>
1590+
<state readOnly="true"/>
1591+
</channel-type>
1592+
15871593
<channel-type id="temperatureSafetyLimitFloorHeating" advanced="true">
15881594
<item-type>Switch</item-type>
15891595
<label>Safety Temp. Limiter Floor Heating</label>

bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/thing/thing-types.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
<channel id="outputCompressorHeating" typeId="outputCompressorHeating"/>
169169
<channel id="controlSignalCirculatingPump" typeId="controlSignalCirculatingPump"/>
170170
<channel id="fanSpeed" typeId="fanSpeed"/>
171+
<channel id="inputUtilityLock2" typeId="inputUtilityLock2"/>
171172
<channel id="temperatureSafetyLimitFloorHeating" typeId="temperatureSafetyLimitFloorHeating"/>
172173
<channel id="powerTargetValue" typeId="powerTargetValue"/>
173174
<channel id="powerActualValue" typeId="powerActualValue"/>
@@ -309,7 +310,7 @@
309310
</channels>
310311

311312
<properties>
312-
<property name="thingTypeVersion">2</property>
313+
<property name="thingTypeVersion">3</property>
313314
</properties>
314315

315316
<config-description>

bundles/org.openhab.binding.luxtronikheatpump/src/main/resources/OH-INF/update/instructions.xml

+47-13
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,53 @@
2727
<remove-channel id="channel260"/>
2828

2929
<!-- add renamed channels -->
30-
<add-channel id="temperatureVapourisation"/>
31-
<add-channel id="temperatureLiquefaction"/>
32-
<add-channel id="frequencyCompressorMin"/>
33-
<add-channel id="frequencyCompressorMax"/>
34-
<add-channel id="temperatureVBOTarget"/>
35-
<add-channel id="temperatureVBO"/>
36-
<add-channel id="controlSignalHeatingCirculationPump"/>
37-
<add-channel id="temperatureHeatingCirculationPumpTarget"/>
38-
<add-channel id="temperatureHeatingCirculationPump"/>
39-
<add-channel id="temperatureHotGasMax"/>
40-
<add-channel id="controlSignalHeatingCirculationPump"/>
41-
<add-channel id="outputControlSignalCooling"/>
42-
<add-channel id="timeCoolingRelease"/>
30+
<add-channel id="temperatureVapourisation">
31+
<type>Number:Temperature</type>
32+
</add-channel>
33+
<add-channel id="temperatureLiquefaction">
34+
<type>Number:Temperature</type>
35+
</add-channel>
36+
<add-channel id="frequencyCompressorMin">
37+
<type>Number:Frequency</type>
38+
</add-channel>
39+
<add-channel id="frequencyCompressorMax">
40+
<type>Number:Frequency</type>
41+
</add-channel>
42+
<add-channel id="temperatureVBOTarget">
43+
<type>Number:Temperature</type>
44+
</add-channel>
45+
<add-channel id="temperatureVBO">
46+
<type>Number:Temperature</type>
47+
</add-channel>
48+
<add-channel id="controlSignalHeatingCirculationPump">
49+
<type>Number:Dimensionless</type>
50+
</add-channel>
51+
<add-channel id="temperatureHeatingCirculationPumpTarget">
52+
<type>Number:Temperature</type>
53+
</add-channel>
54+
<add-channel id="temperatureHeatingCirculationPump">
55+
<type>Number:Temperature</type>
56+
</add-channel>
57+
<add-channel id="temperatureHotGasMax">
58+
<type>Number:Temperature</type>
59+
</add-channel>
60+
<add-channel id="controlSignalHeatingCirculationPump">
61+
<type>Number:Dimensionless</type>
62+
</add-channel>
63+
<add-channel id="outputControlSignalCooling">
64+
<type>Switch</type>
65+
</add-channel>
66+
<add-channel id="timeCoolingRelease">
67+
<type>Number:Time</type>
68+
</add-channel>
69+
</instruction-set>
70+
<instruction-set targetVersion="3">
71+
<add-channel id="powerConsumption">
72+
<type>Number:Power</type>
73+
</add-channel>
74+
<add-channel id="inputUtilityLock2">
75+
<type>Switch</type>
76+
</add-channel>
4377
</instruction-set>
4478
</thing-type>
4579

0 commit comments

Comments
 (0)