Skip to content

Commit

Permalink
WPMsystem and WPM3 now with Energy and Runtime Block
Browse files Browse the repository at this point in the history
Using now EnergyAndRuntimeBlock for all new WMP things.
Added the registers 3523-3545 for HP1 to WPMsystem and WPM3.

Signed-off-by: Thomas Burri <[email protected]>
  • Loading branch information
tb4jc committed Feb 4, 2025
1 parent 36a773a commit b00c483
Show file tree
Hide file tree
Showing 17 changed files with 719 additions and 269 deletions.
110 changes: 64 additions & 46 deletions bundles/org.openhab.binding.modbus.stiebeleltron/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class StiebelEltronBindingConstants {
public static final String GROUP_SYSTEM_STATE_WPM3 = "systemStateWpm3";
public static final String GROUP_SYSTEM_STATE_WPM3I = "systemStateWpm3i";

public static final String GROUP_ENERGY_INFO_WPMWPM3 = "energyInformationWpmWpm3";
public static final String GROUP_ENERGY_RUNTIME_INFO_WPMWPM3 = "energyRuntimeInformationWpmWpm3";
public static final String GROUP_ENERGY_RUNTIME_INFO_WPM3I = "energyRuntimeInformationWpm3i";

public static final String GROUP_SG_READY_ENERGY_MANAGEMENT_SETTINGS = "sgReadyEnergyManagementSettings";
Expand Down Expand Up @@ -224,6 +224,26 @@ public class StiebelEltronBindingConstants {
public static final String CHANNEL_PRODUCTION_NHZ_HEAT_TOTAL = "production-nhz-heat-total";
public static final String CHANNEL_PRODUCTION_NHZ_WATER_TOTAL = "production-nhz-water-total";

public static final String CHANNEL_HP1_PRODUCTION_HEAT_TODAY = "hp1-production-heat-today";
public static final String CHANNEL_HP1_PRODUCTION_HEAT_TOTAL = "hp1-production-heat-total";
public static final String CHANNEL_HP1_PRODUCTION_WATER_TODAY = "hp1-production-water-today";
public static final String CHANNEL_HP1_PRODUCTION_WATER_TOTAL = "hp1-production-water-total";
public static final String CHANNEL_HP1_CONSUMPTION_HEAT_TODAY = "hp1-consumption-heat-today";
public static final String CHANNEL_HP1_CONSUMPTION_HEAT_TOTAL = "hp1-consumption-heat-total";
public static final String CHANNEL_HP1_CONSUMPTION_WATER_TODAY = "hp1-consumption-water-today";
public static final String CHANNEL_HP1_CONSUMPTION_WATER_TOTAL = "hp1-consumption-water-total";

public static final String CHANNEL_HP1_PRODUCTION_NHZ_HEAT_TOTAL = "hp1-production-nhz-heat-total";
public static final String CHANNEL_HP1_PRODUCTION_NHZ_WATER_TOTAL = "hp1-production-nhz-water-total";

public static final String CHANNEL_HP1_CP1_HEATING_RUNTIME = "hp1-cp1-heating-runtime";
public static final String CHANNEL_HP1_CP2_HEATING_RUNTIME = "hp1-cp2-heating-runtime";
public static final String CHANNEL_HP1_CP12_HEATING_RUNTIME = "hp1-cp12-heating-runtime";
public static final String CHANNEL_HP1_CP1_HOTWATER_RUNTIME = "hp1-cp1-hotwater-runtime";
public static final String CHANNEL_HP1_CP2_HOTWATER_RUNTIME = "hp1-cp2-hotwater-runtime";
public static final String CHANNEL_HP1_CP12_HOTWATER_RUNTIME = "hp1-cp-12-hotwater-runtime";
public static final String CHANNEL_HP1_COOLING_RUNTIME = "hp1-cooling-runtime";

// WPM3i only - Runtime values
public static final String CHANNEL_HEATING_RUNTIME = "heating-runtime";
public static final String CHANNEL_HOTWATER_RUNTIME = "hotwater-runtime";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* Copyright (c) 2010-2025 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.binding.modbus.stiebeleltron.internal.dto;

/**
* Dto class for the Runtime Block of any WPM/WPM3/WPM3i compatible heat pump
*
* @author Thomas Burri - Initial contribution
*
*/
public class EnergyRuntimeBlockAllWpm extends EnergyBlock {

// Runtime common
public int runtimeCompressorHeating;
public int runtimeCompressorHotwater;
public int runtimeCompressorCooling;
public int runtimeNhz1;
public int runtimeNhz2;
public int runtimeNhz12;

// Production
public int hp1ProductionHeatToday;
public int hp1ProductionHeatTotalLow;
public int hp1ProductionHeatTotalHigh;
public int hp1ProductionWaterToday;
public int hp1ProductionWaterTotalLow;
public int hp1ProductionWaterTotalHigh;
public int hp1ProductionNhzHeatingTotalLow;
public int hp1ProductionNhzHeatingTotalHigh;
public int hp1ProductionNhzHotwaterTotalLow;
public int hp1ProductionNhzHotwaterTotalHigh;

// Consumption
public int hp1ConsumptionHeatToday;
public int hp1ConsumptionHeatTotalLow;
public int hp1ConsumptionHeatTotalHigh;
public int hp1ConsumptionWaterToday;
public int hp1ConsumptionWaterTotalLow;
public int hp1ConsumptionWaterTotalHigh;

// Runtime WPMsystem/WPM3
public int hp1RuntimeCompressor1Heating;
public int hp1RuntimeCompressor2Heating;
public int hp1RuntimeCompressor12Heating;
public int hp1RuntimeCompressor1Hotwater;
public int hp1RuntimeCompressor2Hotwater;
public int hp1RuntimeCompressor12Hotwater;
public int hp1RuntimeCompressorCooling;
}

This file was deleted.

Loading

0 comments on commit b00c483

Please sign in to comment.