Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

[novelanheatpump] Added output signals and additional state variables #5883

Merged
merged 13 commits into from
Dec 8, 2019
Merged
35 changes: 34 additions & 1 deletion bundles/binding/org.openhab.binding.novelanheatpump/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ where `<eventType>` is one of the following values:
| `temperature_servicewater` | Number | the temperature of the servicewater |
| `state` | String | contains the time of the state and the state; Possible states are error, running, stopped, defrosting |
| `simple_state` | String | contains only the short statename; Possible states are error, running, stopped, defrosting |
| `simple_state_num` | Number | same information as `simple_state`, but as a numeric value |
| `extended_state` | String | contains the time of the state and the state; Possible states are error, heating, standby, switch-on delay, switching cycle | blocked, provider lock time, service water, screed heat up, defrosting, pump flow, desinfection, cooling, pool water, heating ext., service water ext., | flow monitoring, ZWE operation |
| `switchoff_reason_0` | Number | contains the last shutdown reason |
| `switchoff_code_0` | Number | contains the last heatpump error code |
| `temperature_solar_collector` | Number | the temperature of the sensor in the solar collector |
| `temperature_hot_gas` | Number |
| `temperature_probe_in` | Number | temperature flowing to probe head |
Expand Down Expand Up @@ -84,7 +87,34 @@ where `<eventType>` is one of the following values:
| `cooling_inlet_temperature` | Number | cooling inlet temeprature |
| `cooling_start_hours` | Number | cooling start after hours |
| `cooling_stop_hours` | Number | cooling stop after hours |

| `output_av` | Switch | Output: defrosting (= Abtauventil) |
| `output_bup` | Switch | Output: water pump (= Brauchwasserpumpe) |
| `output_hup` | Switch | Output: heat pump (= Heizungsumwälzpumpe) |
| `output_mz1` | Switch | |
| `output_ven` | Switch | Output: ventilation |
| `output_vbo` | Switch | |
| `output_vd1` | Switch | Output: compressor 1 |
| `output_vd2` | Switch | Output: compressor 2 |
| `output_zip` | Switch | Output: water circulation pump |
| `output_zup` | Switch | Output: additional water pump |
| `output_zw1` | Switch | Output: additional heater 1 |
| `output_zw2sst` | Switch | Output: additional heater 2 |
| `output_zw3sst` | Switch | Output: additional heater 3 |
| `output_fp2` | Switch | |
| `output_slp` | Switch | |
| `output_sup` | Switch | |
| `output_ma2` | Switch | |
| `output_mz2` | Switch | |
| `output_ma3` | Switch | |
| `output_mz3` | Switch | |
| `output_fp3` | Switch | |
| `output_vsk` | Switch | |
| `output_frh` | Switch | |
| `output_vdh` | Switch | Output: compressor heating |
| `output_av2` | Switch | Output: defrosting 2 (= Abtauventil 2) |
| `output_vbo2` | Switch | |
| `output_vd12` | Switch | Output: compressor 1/2 |
| `output_vdh2` | Switch | Output: compressor heating 2 |

## Examples

Expand Down Expand Up @@ -138,6 +168,9 @@ Number HeatPump_Cooling_Release "Freigabe [%.1f °C]" (gHeatpump) { novelanheatp
Number HeatPump_Cooling_Inlet "Vorlauf Soll [%.1f °C]" (gHeatpump) { novelanheatpump="cooling_inlet_temperature" }
Number HeatPump_Cooling_Start "AT Überschreitung[%.1f hrs]" (gHeatpump) { novelanheatpump="cooling_start_hours" }
Number HeatPump_Cooling_Stop "AT Unterschreitung[%.1f hrs]" (gHeatpump) { novelanheatpump="cooling_stop_hours" }

Switch HeatPump_HUP "Heizungsumwälzpumpe [%s]" <switch> (gHeatpump) { novelanheatpump="output_hup" }

```

### Sitemap (fragment)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.openhab.core.items.Item;
import org.openhab.core.library.items.NumberItem;
import org.openhab.core.library.items.StringItem;
import org.openhab.core.library.items.SwitchItem;

/**
* Represents all valid commands which could be processed by this binding
Expand Down Expand Up @@ -94,6 +95,27 @@ public enum HeatpumpCommandType {
}
},

TYPE_HEATPUMP_SIMPLE_STATE_NUM {
{
command = "simple_state_num";
itemClass = NumberItem.class;
}
},

TYPE_HEATPUMP_SWITCHOFF_REASON_0 {
{
command = "switchoff_reason_0";
itemClass = NumberItem.class;
}
},

TYPE_HEATPUMP_SWITCHOFF_CODE_0 {
{
command = "switchoff_code_0";
itemClass = NumberItem.class;
}
},

TYPE_HEATPUMP_EXTENDED_STATE {
{
command = "extended_state";
Expand Down Expand Up @@ -377,6 +399,209 @@ public enum HeatpumpCommandType {
command = "cooling_stop_hours";
itemClass = NumberItem.class;
}
},
// in german AV (Abtauventil)
TYPE_OUTPUT_AV {
{
command = "output_av";
itemClass = SwitchItem.class;
}
},
// in german BUP (Brauchwasserpumpe/Umstellventil)
TYPE_OUTPUT_BUP {
{
command = "output_bup";
itemClass = SwitchItem.class;
}
},
// in german HUP (Heizungsumwälzpumpe)
TYPE_OUTPUT_HUP {
{
command = "output_hup";
itemClass = SwitchItem.class;
}
},
// in german MA1 (Mischkreis 1 auf)
TYPE_OUTPUT_MA1 {
{
command = "output_ma1";
itemClass = SwitchItem.class;
}
},
// in german MZ1 (Mischkreis 1 zu)
TYPE_OUTPUT_MZ1 {
{
command = "output_mz1";
itemClass = SwitchItem.class;
}
},
// in german VEN (Ventilation/Lüftung)
TYPE_OUTPUT_VEN {
{
command = "output_ven";
itemClass = SwitchItem.class;
}
},
// in german VBO (Solepumpe/Ventilator)
TYPE_OUTPUT_VBO {
{
command = "output_vbo";
itemClass = SwitchItem.class;
}
},
// in german VD1 (Verdichter 1)
TYPE_OUTPUT_VD1 {
{
command = "output_vd1";
itemClass = SwitchItem.class;
}
},
// in german VD2 (Verdichter 2)
TYPE_OUTPUT_VD2 {
{
command = "output_vd2";
itemClass = SwitchItem.class;
}
},
// in german ZIP (Zirkulationspumpe)
TYPE_OUTPUT_ZIP {
{
command = "output_zip";
itemClass = SwitchItem.class;
}
},
// in german ZUP (Zusatzumwälzpumpe)
TYPE_OUTPUT_ZUP {
{
command = "output_zup";
itemClass = SwitchItem.class;
}
},
// in german ZW1 (Steuersignal Zusatzheizung v. Heizung)
TYPE_OUTPUT_ZW1 {
{
command = "output_zw1";
itemClass = SwitchItem.class;
}
},
// in german ZW2 (Steuersignal Zusatzheizung/Störsignal)
TYPE_OUTPUT_ZW2SST {
{
command = "output_zw2sst";
itemClass = SwitchItem.class;
}
},
// in german ZW3 (Zusatzheizung 3)
TYPE_OUTPUT_ZW3SST {
{
command = "output_zw3sst";
itemClass = SwitchItem.class;
}
},
// in german FP2 (Pumpe Mischkreis 2)
TYPE_OUTPUT_FP2 {
{
command = "output_fp2";
itemClass = SwitchItem.class;
}
},
// in german SLP (Solarladepumpe)
TYPE_OUTPUT_SLP {
{
command = "output_slp";
itemClass = SwitchItem.class;
}
},
// in german SUP (Schwimmbadpumpe)
TYPE_OUTPUT_SUP {
{
command = "output_sup";
itemClass = SwitchItem.class;
}
},
// in german MA2 (Mischkreis 2 auf)
TYPE_OUTPUT_MA2 {
{
command = "output_ma2";
itemClass = SwitchItem.class;
}
},
// in german MZ2 (Mischkreis 2 zu)
TYPE_OUTPUT_MZ2 {
{
command = "output_mz2";
itemClass = SwitchItem.class;
}
},
// in german MA3 (Mischkreis 3 auf)
TYPE_OUTPUT_MA3 {
{
command = "output_ma3";
itemClass = SwitchItem.class;
}
},
// in german MZ3 (Mischkreis 3 zu)
TYPE_OUTPUT_MZ3 {
{
command = "output_mz3";
itemClass = SwitchItem.class;
}
},
// in german FP3 (Pumpe Mischkreis 3)
TYPE_OUTPUT_FP3 {
{
command = "output_fp3";
itemClass = SwitchItem.class;
}
},
// in german VSK
TYPE_OUTPUT_VSK {
{
command = "output_vsk";
itemClass = SwitchItem.class;
}
},
// in german FRH
TYPE_OUTPUT_FRH {
{
command = "output_frh";
itemClass = SwitchItem.class;
}
},
// in german VDH (Verdichterheizung)
TYPE_OUTPUT_VDH {
{
command = "output_vdh";
itemClass = SwitchItem.class;
}
},
// in german AV2 (Abtauventil 2)
TYPE_OUTPUT_AV2 {
{
command = "output_av2";
itemClass = SwitchItem.class;
}
},
// in german VBO2 (Solepumpe/Ventilator)
TYPE_OUTPUT_VBO2 {
{
command = "output_vbo2";
itemClass = SwitchItem.class;
}
},
// in german VD12 (Verdichter 1/2)
TYPE_OUTPUT_VD12 {
{
command = "output_vd12";
itemClass = SwitchItem.class;
}
},
// in german VDH2 (Verdichterheizung 2)
TYPE_OUTPUT_VDH2 {
{
command = "output_vdh2";
itemClass = SwitchItem.class;
}
};

/** Represents the heatpump command as it will be used in *.items configuration */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public class Messages extends NLS {
public static String HeatPumpBinding_FLOW_MONITORING;
public static String HeatPumpBinding_ZWE_OPERATION;
public static String HeatPumpBinding_SERVICE_WATER_ADDITIONAL_HEATING;

public static String HeatPumpBinding_COMPRESSOR_HEATING;

static {
// initialize resource bundle
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ HeatPumpBinding_HEATING_EXT=heating ext.
HeatPumpBinding_SERVICE_WATER_EXT=service water ext.
HeatPumpBinding_FLOW_MONITORING=flow monitoring
HeatPumpBinding_ZWE_OPERATION=ZWE operation
HeatPumpBinding_SERVICE_WATER_ADDITIONAL_HEATING=service water add. heating
HeatPumpBinding_SERVICE_WATER_ADDITIONAL_HEATING=service water add. heating
HeatPumpBinding_COMPRESSOR_HEATING=compressor heating up
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ HeatPumpBinding_HEATING_EXT=Heizen Ext.
HeatPumpBinding_SERVICE_WATER_EXT=Brauchwasser Ext.
HeatPumpBinding_FLOW_MONITORING=Durchflussueberwachung
HeatPumpBinding_ZWE_OPERATION=ZWE Betrieb
HeatPumpBinding_SERVICE_WATER_ADDITIONAL_HEATING=Warmw. Nachheizung
HeatPumpBinding_SERVICE_WATER_ADDITIONAL_HEATING=Warmw. Nachheizung
HeatPumpBinding_COMPRESSOR_HEATING=Verdichter heizt auf
Loading