Skip to content

Commit 5a57b9e

Browse files
authored
[luxtronikheatpump] added channel for power consumption (openhab#18254)
* [luxtronikheatpump] added channel for power consumption Signed-off-by: Clemens Eberwein <[email protected]>
1 parent 8c68fb7 commit 5a57b9e

File tree

5 files changed

+59
-7
lines changed

5 files changed

+59
-7
lines changed

bundles/org.openhab.binding.luxtronikheatpump/README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,22 @@ The following channels are holding read only values:
274274
| channel249 | Number | x | Channel 249 |
275275
| channel250 | Number | x | Channel 250 |
276276
| channel251 | Number | x | Channel 251 |
277-
| temperatureHotGasMax | Number:Temperature | x | Temperature Hot Gas Max |
277+
| temperatureHotGasMax | Number:Temperature | x | Hot Gas Temp. Max |
278278
| channel253 | Number | x | Channel 253 |
279279
| flowRateHeatSource2 | Number:VolumetricFlowRate | x | Flow Rate Heat Source |
280280
| channel255 | Number | x | Channel 255 |
281281
| channel256 | Number | x | Channel 256 |
282282
| heatingPowerActualValue | Number:Power | x | Heating Power Actual Value |
283283
| outputControlSignalCooling | Switch | x | Output "Control Signal Cooling" |
284284
| timeCoolingRelease | Number:Time | x | Release Cooling Time |
285+
| channel261 | Number | x | Channel 261 |
286+
| channel262 | Number | x | Channel 262 |
287+
| channel263 | Number | x | Channel 263 |
288+
| channel264 | Number | x | Channel 264 |
289+
| channel265 | Number | x | Channel 265 |
290+
| channel266 | Number | x | Channel 266 |
291+
| channel267 | Number | x | Channel 267 |
292+
| powerConsumption | Number:Power | x | Power Consumption |
285293

286294
The usage of the numbered channels above is currently unknown. If you are able to directly match one of the values to any value reported by your heat pump, feel free to report back on the forum, so we are able to give the channel a proper name instead.
287295

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

+8
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,14 @@ public enum HeatpumpChannel {
12341234

12351235
CHANNEL_259(259, "outputControlSignalCooling", SwitchItem.class, null, false, null),
12361236
CHANNEL_260(260, "timeCoolingRelease", NumberItem.class, Units.SECOND, false, null),
1237+
CHANNEL_261(261, "channel261", NumberItem.class, null, false, null),
1238+
CHANNEL_262(262, "channel262", NumberItem.class, null, false, null),
1239+
CHANNEL_263(263, "channel263", NumberItem.class, null, false, null),
1240+
CHANNEL_264(264, "channel264", NumberItem.class, null, false, null),
1241+
CHANNEL_265(265, "channel265", NumberItem.class, null, false, null),
1242+
CHANNEL_266(266, "channel266", NumberItem.class, null, false, null),
1243+
CHANNEL_267(267, "channel267", NumberItem.class, null, false, null),
1244+
CHANNEL_268(268, "powerConsumption", NumberItem.class, Units.WATT, false, null),
12371245

12381246
// Changeable Parameters
12391247
// https://www.loxwiki.eu/display/LOX/Java+Webinterface?preview=/13306044/13307658/3003.txt

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

+13-5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ thing-type.luxtronikheatpump.heatpump.channel.channel251.label = Channel 251
2020
thing-type.luxtronikheatpump.heatpump.channel.channel253.label = Channel 253
2121
thing-type.luxtronikheatpump.heatpump.channel.channel255.label = Channel 255
2222
thing-type.luxtronikheatpump.heatpump.channel.channel256.label = Channel 256
23+
thing-type.luxtronikheatpump.heatpump.channel.channel261.label = Channel 261
24+
thing-type.luxtronikheatpump.heatpump.channel.channel262.label = Channel 262
25+
thing-type.luxtronikheatpump.heatpump.channel.channel263.label = Channel 263
26+
thing-type.luxtronikheatpump.heatpump.channel.channel264.label = Channel 264
27+
thing-type.luxtronikheatpump.heatpump.channel.channel265.label = Channel 265
28+
thing-type.luxtronikheatpump.heatpump.channel.channel266.label = Channel 266
29+
thing-type.luxtronikheatpump.heatpump.channel.channel267.label = Channel 267
2330

2431
# thing types config
2532

@@ -174,6 +181,7 @@ channel-type.luxtronikheatpump.outputVSK.label = Output VSK
174181
channel-type.luxtronikheatpump.outputVentilation.label = Output "Ventilation"
175182
channel-type.luxtronikheatpump.outputZUP.label = Output "Auxiliary Circulation Pump"
176183
channel-type.luxtronikheatpump.powerActualValue.label = Power Actual Value
184+
channel-type.luxtronikheatpump.powerConsumption.label = Power Consumption
177185
channel-type.luxtronikheatpump.powerTargetValue.label = Power Target Value
178186
channel-type.luxtronikheatpump.pressureEVI.label = Pressure EVI
179187
channel-type.luxtronikheatpump.pulsesCompressor1.label = Pulses Compressor 1
@@ -231,20 +239,20 @@ channel-type.luxtronikheatpump.temperatureCondensation.label = Condensation Temp
231239
channel-type.luxtronikheatpump.temperatureExhaustAir.label = Exhaust Air Temp.
232240
channel-type.luxtronikheatpump.temperatureExternalEnergySource.label = Sensor Ext. Energy Source
233241
channel-type.luxtronikheatpump.temperatureFlowTarget.label = Temp. Flow Target
234-
channel-type.luxtronikheatpump.temperatureHeatingFixedReturnTarget.label = Fixed Heating Target Return Temperature
235242
channel-type.luxtronikheatpump.temperatureHeatSourceInlet.label = Heat Source Inlet Temp.
236243
channel-type.luxtronikheatpump.temperatureHeatSourceInlet2.label = Temp. Sensor Heat Source Inlet 2
237244
channel-type.luxtronikheatpump.temperatureHeatSourceOutlet.label = Heat Source Outlet Temp.
238245
channel-type.luxtronikheatpump.temperatureHeatingCircuitFlow.label = Flow Temp. Heating Circuit
239246
channel-type.luxtronikheatpump.temperatureHeatingCircuitReturn.label = Return Temp. Heating Circuit
240247
channel-type.luxtronikheatpump.temperatureHeatingCircuitReturnTarget.label = Return Temp. Target Heating Circuit
241248
channel-type.luxtronikheatpump.temperatureHeatingCirculationPump.label = Temperature HUP
242-
channel-type.luxtronikheatpump.temperatureHeatingCirculationPumpTarget.label = Temperature Target HUP
249+
channel-type.luxtronikheatpump.temperatureHeatingCirculationPumpTarget.label = Temperature HUP Target
250+
channel-type.luxtronikheatpump.temperatureHeatingFixedReturnTarget.label = Fixed Heating Target Return Temperature
243251
channel-type.luxtronikheatpump.temperatureHeatingLimit.label = Temperature Heating Limit
244252
channel-type.luxtronikheatpump.temperatureHeatingParallelShift.label = Heating Temp. (Offset)
245253
channel-type.luxtronikheatpump.temperatureHotGas.label = Hot Gas Temperature
246-
channel-type.luxtronikheatpump.temperatureHotGasMax.label = Hot Gas Max Temperature
247254
channel-type.luxtronikheatpump.temperatureHotGas2.label = Hot Gas Temp. Sensor 2
255+
channel-type.luxtronikheatpump.temperatureHotGasMax.label = Hot Gas Temp. Max
248256
channel-type.luxtronikheatpump.temperatureHotWater.label = Hot Water Actual Temp.
249257
channel-type.luxtronikheatpump.temperatureHotWaterCoverage.label = Coverage Hot Water Temp.
250258
channel-type.luxtronikheatpump.temperatureHotWaterTarget.label = Hot Water Target Temp.
@@ -253,8 +261,8 @@ channel-type.luxtronikheatpump.temperatureHypothermiaEEV.label = Hypothermia EEV
253261
channel-type.luxtronikheatpump.temperatureIntakeCompressor2.label = Intake Temp. Compressor 2
254262
channel-type.luxtronikheatpump.temperatureIntakeEVI.label = Intake Temp. EVI
255263
channel-type.luxtronikheatpump.temperatureIntakeEvaporator2.label = Intake Temp. Evaporator 2
256-
channel-type.luxtronikheatpump.temperatureLiquidEEV.label = Liquid Temp. EEV
257264
channel-type.luxtronikheatpump.temperatureLiquefaction.label = Temperature Liquefaction
265+
channel-type.luxtronikheatpump.temperatureLiquidEEV.label = Liquid Temp. EEV
258266
channel-type.luxtronikheatpump.temperatureMixingCircuit1Flow.label = Mixing Circuit 1 Flow Temp.
259267
channel-type.luxtronikheatpump.temperatureMixingCircuit1FlowTarget.label = Mixing Circuit 1 Flow Target Temp.
260268
channel-type.luxtronikheatpump.temperatureMixingCircuit2Flow.label = Mixing Circuit 2 Flow Temp.
@@ -291,7 +299,7 @@ channel-type.luxtronikheatpump.thermalDisinfectionSunday.label = Thermal Disinfe
291299
channel-type.luxtronikheatpump.thermalDisinfectionThursday.label = Thermal Disinfection (Thu)
292300
channel-type.luxtronikheatpump.thermalDisinfectionTuesday.label = Thermal Disinfection (Tue)
293301
channel-type.luxtronikheatpump.thermalDisinfectionWednesday.label = Thermal Disinfection (Wed)
294-
channel-type.luxtronikheatpump.timeCoolingRelease.label = Cooling Release Time
302+
channel-type.luxtronikheatpump.timeCoolingRelease.label = Release Cooling Time
295303
channel-type.luxtronikheatpump.timeHotWaterLock.label = Hot Water Lock
296304
channel-type.luxtronikheatpump.timeLockSecondHotGasCompressor.label = Lock 2nd Compressor Hot Gas
297305
channel-type.luxtronikheatpump.timeUntilDefrost.label = Time until Defrost

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

+7-1
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@
20132013

20142014
<channel-type id="temperatureHotGasMax" advanced="true">
20152015
<item-type>Number:Temperature</item-type>
2016-
<label>Temperature Hot Gas Max</label>
2016+
<label>Hot Gas Temp. Max</label>
20172017
<category>Temperature</category>
20182018
<state pattern="%.1f %unit%" readOnly="true"/>
20192019
</channel-type>
@@ -2043,6 +2043,12 @@
20432043
<state pattern="%.1f %unit%" readOnly="true"/>
20442044
</channel-type>
20452045

2046+
<channel-type id="powerConsumption" advanced="true">
2047+
<item-type>Number:Power</item-type>
2048+
<label>Power Consumption</label>
2049+
<state pattern="%.1f %unit%" readOnly="true"/>
2050+
</channel-type>
2051+
20462052
<channel-type id="unknown" advanced="true">
20472053
<item-type>Number</item-type>
20482054
<label>Unknown Channel</label>

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

+22
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,28 @@
266266
<channel id="heatingPowerActualValue" typeId="heatingPowerActualValue"/>
267267
<channel id="outputControlSignalCooling" typeId="outputControlSignalCooling"/>
268268
<channel id="timeCoolingRelease" typeId="timeCoolingRelease"/>
269+
<channel id="channel261" typeId="unknown">
270+
<label>Channel 261</label>
271+
</channel>
272+
<channel id="channel262" typeId="unknown">
273+
<label>Channel 262</label>
274+
</channel>
275+
<channel id="channel263" typeId="unknown">
276+
<label>Channel 263</label>
277+
</channel>
278+
<channel id="channel264" typeId="unknown">
279+
<label>Channel 264</label>
280+
</channel>
281+
<channel id="channel265" typeId="unknown">
282+
<label>Channel 265</label>
283+
</channel>
284+
<channel id="channel266" typeId="unknown">
285+
<label>Channel 266</label>
286+
</channel>
287+
<channel id="channel267" typeId="unknown">
288+
<label>Channel 267</label>
289+
</channel>
290+
<channel id="powerConsumption" typeId="powerConsumption"/>
269291

270292
<channel id="temperatureHeatingParallelShift" typeId="temperatureHeatingParallelShift"/>
271293
<channel id="heatingMode" typeId="heatingMode"/>

0 commit comments

Comments
 (0)