parent
108c48dda5
commit
d85c2532e4
|
@ -153,17 +153,18 @@ Switch main_boiler_chState "Heating active" { channel="plugwiseha:appliance_boil
|
||||||
Switch main_boiler_dhwState "Domestic hot water active" { channel="plugwiseha:appliance_boiler:home:main_boiler:dhwState"}
|
Switch main_boiler_dhwState "Domestic hot water active" { channel="plugwiseha:appliance_boiler:home:main_boiler:dhwState"}
|
||||||
|
|
||||||
Switch main_boiler_coolingState "Cooling state" { channel="plugwiseha:appliance_boiler:home:main_boiler:coolingState"}
|
Switch main_boiler_coolingState "Cooling state" { channel="plugwiseha:appliance_boiler:home:main_boiler:coolingState"}
|
||||||
Number:Temperature main_boiler_intendedBoilerTemp "Intended boiler temperature" {channel="plugwiseha:appliance_boiler:home:living_room_thermostat:intendedBoilerTemp"}
|
Number:Temperature main_boiler_intendedBoilerTemp "Intended boiler temperature" {channel="plugwiseha:appliance_boiler:home:main_boiler:intendedBoilerTemp"}
|
||||||
Switch main_boiler_flameState "Flame state" { channel="plugwiseha:appliance_boiler:home:main_boiler:flameState"}
|
Switch main_boiler_flameState "Flame state" { channel="plugwiseha:appliance_boiler:home:main_boiler:flameState"}
|
||||||
Switch main_boiler_intendedHeatingState "Intended heating state" { channel="plugwiseha:appliance_boiler:home:main_boiler:intendedHeatingState"}
|
Switch main_boiler_intendedHeatingState "Intended heating state" { channel="plugwiseha:appliance_boiler:home:main_boiler:intendedHeatingState"}
|
||||||
Number main_boiler_modulationLevel "Modulation level" {channel="plugwiseha:appliance_boiler:home:living_room_radiator:modulationLevel"}
|
Number main_boiler_modulationLevel "Modulation level" {channel="plugwiseha:appliance_boiler:home:living_room_radiator:modulationLevel"}
|
||||||
Number main_boiler_otAppFaultCode "Opentherm app. faultcode" {channel="plugwiseha:appliance_boiler:home:living_room_radiator:otAppFaultCode"}
|
Number main_boiler_otAppFaultCode "Opentherm app. faultcode" {channel="plugwiseha:appliance_boiler:home:living_room_radiator:otAppFaultCode"}
|
||||||
Number:Temperature main_boiler_dhwTemperature "DHW temperature" {channel="plugwiseha:appliance_boiler:home:living_room_thermostat:dhwTemperature"}
|
Number:Temperature main_boiler_dhwTemperature "DHW temperature" {channel="plugwiseha:appliance_boiler:home:main_boiler:dhwTemperature"}
|
||||||
Number main_boiler_otOEMFaultCode "Opentherm OEM faultcode" {channel="plugwiseha:appliance_boiler:home:living_room_radiator:otOEMFaultCode"}
|
Number main_boiler_otOEMFaultCode "Opentherm OEM faultcode" {channel="plugwiseha:appliance_boiler:home:main_boiler:otOEMFaultCode"}
|
||||||
Number:Temperature main_boiler_boilerTemperature "Boiler temperature" {channel="plugwiseha:appliance_boiler:home:living_room_thermostat:boilerTemperature"}
|
Number:Temperature main_boiler_boilerTemperature "Boiler temperature" {channel="plugwiseha:appliance_boiler:home:main_boiler:boilerTemperature"}
|
||||||
Number:Temperature main_boiler_dhwSetpoint "DHW setpoint" {channel="plugwiseha:appliance_boiler:home:living_room_thermostat:dhwSetpoint"}
|
Number:Temperature main_boiler_dhwSetpoint "DHW setpoint" {channel="plugwiseha:appliance_boiler:home:main_boiler:dhwSetpoint"}
|
||||||
Number:Temperature main_boiler_maxBoilerTemperature "Max. boiler temperature" {channel="plugwiseha:appliance_boiler:home:living_room_thermostat:maxBoilerTemperature"}
|
Number:Temperature main_boiler_maxBoilerTemperature "Max. boiler temperature" {channel="plugwiseha:appliance_boiler:home:main_boiler:maxBoilerTemperature"}
|
||||||
Switch main_boiler_dhwComfortMode "DHW comfort mode" { channel="plugwiseha:appliance_boiler:home:main_boiler:dhwComfortMode"}
|
Switch main_boiler_dhwComfortMode "DHW comfort mode" { channel="plugwiseha:appliance_boiler:home:main_boiler:dhwComfortMode"}
|
||||||
|
Number:Temperature main_boiler_returnTemperature "Boiler return temperature" {channel="plugwiseha:appliance_boiler:home:main_boiler:returnWaterTemperature"}
|
||||||
```
|
```
|
||||||
|
|
||||||
**transform/plugwiseha.map**
|
**transform/plugwiseha.map**
|
||||||
|
@ -214,6 +215,7 @@ sitemap plugwiseha label="PlugwiseHA Binding"
|
||||||
Number item=main_boiler_dhwSetpoint
|
Number item=main_boiler_dhwSetpoint
|
||||||
Number item=main_boiler_maxBoilerTemperature
|
Number item=main_boiler_maxBoilerTemperature
|
||||||
Switch item=main_boiler_dhwComfortMode
|
Switch item=main_boiler_dhwComfortMode
|
||||||
|
Number item=main_boiler_returnTemperature
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
@ -116,6 +116,7 @@ public class PlugwiseHABindingConstants {
|
||||||
public static final String APPLIANCE_DHWSETPOINT_CHANNEL = "dhwSetpoint";
|
public static final String APPLIANCE_DHWSETPOINT_CHANNEL = "dhwSetpoint";
|
||||||
public static final String APPLIANCE_MAXBOILERTEMPERATURE_CHANNEL = "maxBoilerTemperature";
|
public static final String APPLIANCE_MAXBOILERTEMPERATURE_CHANNEL = "maxBoilerTemperature";
|
||||||
public static final String APPLIANCE_DHWCOMFORTMODE_CHANNEL = "dhwComfortMode";
|
public static final String APPLIANCE_DHWCOMFORTMODE_CHANNEL = "dhwComfortMode";
|
||||||
|
public static final String APPLIANCE_RETURNWATERTEMPERATURE_CHANNEL = "returnWaterTemperature";
|
||||||
|
|
||||||
// List of all Appliance Types
|
// List of all Appliance Types
|
||||||
public static final String APPLIANCE_TYPE_THERMOSTAT = "thermostat";
|
public static final String APPLIANCE_TYPE_THERMOSTAT = "thermostat";
|
||||||
|
|
|
@ -156,6 +156,14 @@ public class Appliance extends PlugwiseBaseModel implements PlugwiseComparableDa
|
||||||
return this.pointLogs.getIntendedBoilerTempUnit();
|
return this.pointLogs.getIntendedBoilerTempUnit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Optional<Double> getReturnWaterTemp() {
|
||||||
|
return this.pointLogs.getReturnWaterTemp();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Optional<String> getReturnWaterTempUnit() {
|
||||||
|
return this.pointLogs.getReturnWaterTempUnit();
|
||||||
|
}
|
||||||
|
|
||||||
public Optional<Boolean> getFlameState() {
|
public Optional<Boolean> getFlameState() {
|
||||||
return this.pointLogs.getFlameState();
|
return this.pointLogs.getFlameState();
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,7 @@ public class Logs extends PlugwiseHACollection<Log> {
|
||||||
private static final String CHSTATE = "central_heating_state";
|
private static final String CHSTATE = "central_heating_state";
|
||||||
private static final String VALVE_POSITION = "valve_position";
|
private static final String VALVE_POSITION = "valve_position";
|
||||||
private static final String WATER_PRESSURE = "central_heater_water_pressure";
|
private static final String WATER_PRESSURE = "central_heater_water_pressure";
|
||||||
|
private static final String RETURNWATERTEMP = "return_water_temperature";
|
||||||
|
|
||||||
public Optional<Boolean> getCoolingState() {
|
public Optional<Boolean> getCoolingState() {
|
||||||
return this.getLog(COOLINGSTATE).map(logEntry -> logEntry.getMeasurementAsBoolean()).orElse(Optional.empty());
|
return this.getLog(COOLINGSTATE).map(logEntry -> logEntry.getMeasurementAsBoolean()).orElse(Optional.empty());
|
||||||
|
@ -99,6 +100,14 @@ public class Logs extends PlugwiseHACollection<Log> {
|
||||||
return this.getLog(BOILERTEMP).map(logEntry -> logEntry.getMeasurementUnit()).orElse(Optional.empty());
|
return this.getLog(BOILERTEMP).map(logEntry -> logEntry.getMeasurementUnit()).orElse(Optional.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Optional<Double> getReturnWaterTemp() {
|
||||||
|
return this.getLog(RETURNWATERTEMP).map(logEntry -> logEntry.getMeasurementAsDouble()).orElse(Optional.empty());
|
||||||
|
}
|
||||||
|
|
||||||
|
public Optional<String> getReturnWaterTempUnit() {
|
||||||
|
return this.getLog(RETURNWATERTEMP).map(logEntry -> logEntry.getMeasurementUnit()).orElse(Optional.empty());
|
||||||
|
}
|
||||||
|
|
||||||
public Optional<Double> getDHTSetpoint() {
|
public Optional<Double> getDHTSetpoint() {
|
||||||
return this.getLog(DHWSETPOINT).map(logEntry -> logEntry.getMeasurementAsDouble()).orElse(Optional.empty());
|
return this.getLog(DHWSETPOINT).map(logEntry -> logEntry.getMeasurementAsDouble()).orElse(Optional.empty());
|
||||||
}
|
}
|
||||||
|
|
|
@ -220,6 +220,7 @@ public class PlugwiseHAApplianceHandler extends PlugwiseHABaseHandler<Appliance,
|
||||||
case APPLIANCE_TEMPERATURE_CHANNEL:
|
case APPLIANCE_TEMPERATURE_CHANNEL:
|
||||||
case APPLIANCE_VALVEPOSITION_CHANNEL:
|
case APPLIANCE_VALVEPOSITION_CHANNEL:
|
||||||
case APPLIANCE_WATERPRESSURE_CHANNEL:
|
case APPLIANCE_WATERPRESSURE_CHANNEL:
|
||||||
|
case APPLIANCE_RETURNWATERTEMPERATURE_CHANNEL:
|
||||||
state = UnDefType.NULL;
|
state = UnDefType.NULL;
|
||||||
break;
|
break;
|
||||||
case APPLIANCE_BATTERYLEVELLOW_CHANNEL:
|
case APPLIANCE_BATTERYLEVELLOW_CHANNEL:
|
||||||
|
@ -359,6 +360,14 @@ public class PlugwiseHAApplianceHandler extends PlugwiseHABaseHandler<Appliance,
|
||||||
state = new QuantityType<Dimensionless>(entity.getOTAppFaultCode().get().intValue(), Units.PERCENT);
|
state = new QuantityType<Dimensionless>(entity.getOTAppFaultCode().get().intValue(), Units.PERCENT);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case APPLIANCE_RETURNWATERTEMPERATURE_CHANNEL:
|
||||||
|
if (entity.getBoilerTemp().isPresent()) {
|
||||||
|
Unit<Temperature> unit = entity.getReturnWaterTempUnit().orElse(UNIT_CELSIUS).equals(UNIT_CELSIUS)
|
||||||
|
? SIUnits.CELSIUS
|
||||||
|
: ImperialUnits.FAHRENHEIT;
|
||||||
|
state = new QuantityType<Temperature>(entity.getReturnWaterTemp().get(), unit);
|
||||||
|
}
|
||||||
|
break;
|
||||||
case APPLIANCE_DHWTEMPERATURE_CHANNEL:
|
case APPLIANCE_DHWTEMPERATURE_CHANNEL:
|
||||||
if (entity.getDHWTemp().isPresent()) {
|
if (entity.getDHWTemp().isPresent()) {
|
||||||
Unit<Temperature> unit = entity.getDHWTempUnit().orElse(UNIT_CELSIUS).equals(UNIT_CELSIUS)
|
Unit<Temperature> unit = entity.getDHWTempUnit().orElse(UNIT_CELSIUS).equals(UNIT_CELSIUS)
|
||||||
|
|
|
@ -96,6 +96,8 @@ channel-type.plugwiseha.regulationControl.description = Switch the regulation co
|
||||||
channel-type.plugwiseha.regulationControl.state.option.active = Active
|
channel-type.plugwiseha.regulationControl.state.option.active = Active
|
||||||
channel-type.plugwiseha.regulationControl.state.option.passive = Passive
|
channel-type.plugwiseha.regulationControl.state.option.passive = Passive
|
||||||
channel-type.plugwiseha.regulationControl.state.option.off = Off
|
channel-type.plugwiseha.regulationControl.state.option.off = Off
|
||||||
|
channel-type.plugwiseha.returnWaterTemperature.label = Return Water Temperature
|
||||||
|
channel-type.plugwiseha.returnWaterTemperature.description = Gets the temperature of the boiler return water
|
||||||
channel-type.plugwiseha.setpointTemperature.label = Setpoint Temperature
|
channel-type.plugwiseha.setpointTemperature.label = Setpoint Temperature
|
||||||
channel-type.plugwiseha.setpointTemperature.description = Gets or sets the set point of this zone
|
channel-type.plugwiseha.setpointTemperature.description = Gets or sets the set point of this zone
|
||||||
channel-type.plugwiseha.temperature.label = Zone Temperature
|
channel-type.plugwiseha.temperature.label = Zone Temperature
|
||||||
|
|
|
@ -172,6 +172,14 @@
|
||||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
<channel-type id="returnWaterTemperature">
|
||||||
|
<item-type>Number:Temperature</item-type>
|
||||||
|
<label>Return Water Temperature</label>
|
||||||
|
<description>Gets the temperature of the return water</description>
|
||||||
|
<category>heating</category>
|
||||||
|
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||||
|
</channel-type>
|
||||||
|
|
||||||
<channel-type id="dhwSetpoint">
|
<channel-type id="dhwSetpoint">
|
||||||
<item-type>Number:Temperature</item-type>
|
<item-type>Number:Temperature</item-type>
|
||||||
<label>Domestic Hot Water Setpoint Temperature</label>
|
<label>Domestic Hot Water Setpoint Temperature</label>
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
<channel id="boilerTemperature" typeId="boilerTemperature"/>
|
<channel id="boilerTemperature" typeId="boilerTemperature"/>
|
||||||
<channel id="dhwSetpoint" typeId="dhwSetpoint"/>
|
<channel id="dhwSetpoint" typeId="dhwSetpoint"/>
|
||||||
<channel id="maxBoilerTemperature" typeId="maxBoilerTemperature"/>
|
<channel id="maxBoilerTemperature" typeId="maxBoilerTemperature"/>
|
||||||
|
<channel id="returnWaterTemperature" typeId="returnWaterTemperature"/>
|
||||||
</channels>
|
</channels>
|
||||||
|
|
||||||
<representation-property>id</representation-property>
|
<representation-property>id</representation-property>
|
||||||
|
|
Loading…
Reference in New Issue