Skip to content

OpenTherm Gateway Binding ​

This binding is used to integrate the OpenTherm Gateway into openHAB. The OpenTherm Gateway is a module designed by Schelte Bron that can be connected to units that support communication using the OpenTherm protocol, such as a boiler or ventilation / heat recovery unit.

More information on the OpenTherm Gateway device can be found at https://otgw.tclcode.com/

Discovery ​

The binding does not support auto discovery.

Binding Configuration ​

The binding does not require any configuration.

Supported Things ​

The OpenTherm Gateway binding supports three Things:

  • openthermgateway which is the bridge that handles communication with the OpenTherm Gateway device.
  • boiler which represents a central heating boiler unit.
  • ventilationheatrecovery which represents a ventilation / heat recovery unit.

Thing Configuration ​

Thing Configuration for openthermgateway ​

The openthermgateway bridge is designed to support various ways of connecting to the OpenTherm Gateway device, but currently only supports a TCP socket connection. The configuration settings for the bridge are hostname/IP address and port, which are used to connect to the gateway, and an automatic connection retry interval in case the connection to the OpenTherm Gateway device is lost.

ParameterNameDescriptionRequiredDefault
ipaddressHostname or IP addressThe hostname or IP address to connect to the OpenTherm Gateway.yes
portPortThe port used to connect to the OpenTherm Gateway.yes
connectionRetryIntervalConnection Retry IntervalThe interval in seconds to retry connecting (0 = disabled).yes60
connectTimeoutSecondsConnect TimeoutThe maximum time (seconds) to wait for establishing a connection to the gateway.yes5
readTimeoutSecondsRead TimeoutThe maximum time (seconds) to wait for reading responses from the gateway.yes20

Thing Configuration for boiler and ventilationheatrecovery ​

The boiler and ventilationheatrecovery things do not require any configuration settings.

Channels ​

Channels for openthermgateway ​

The openthermgateway bridge supports the following channels:

Channel Type IDItem TypeDescriptionAccess
sendcommandTextChannel to send commands to the OpenTherm Gateway deviceW

Channels for boiler ​

The boiler Thing supports the following channels:

Channel IDItem TypeDescriptionAccess
roomtempNumber:TemperatureCurrent sensed room temperatureR
roomsetpointNumber:TemperatureCurrent room temperature setpointR
temperaturetemporaryNumber:TemperatureTemporary override room temperature setpointR/W
temperatureconstantNumber:TemperatureConstant override room temperature setpointR/W
controlsetpointNumber:TemperatureCentral heating water setpoint set at boilerR
controlsetpointrequestedNumber:TemperatureCentral heating water setpoint requested by ThermostatR
controlsetpointoverrideNumber:TemperatureCentral heating water setpoint configured on OTGWR/W
controlsetpoint2Number:TemperatureCentral heating 2 water setpoint set at boilerR
controlsetpoint2requestedNumber:TemperatureCentral heating 2 water setpoint requested by ThermostatR
controlsetpoint2overrideNumber:TemperatureCentral heating 2 water setpoint configured on OTGWR/W
dhwtempNumber:TemperatureDomestic hot water temperatureR
tdhwsetNumber:TemperatureDomestic hot water temperature setpointR
overridedhwsetpointNumber:TemperatureDomestic hot water temperature setpoint overrideR/W
flowtempNumber:TemperatureBoiler water temperatureR
returntempNumber:TemperatureReturn water temperatureR
outsidetempNumber:TemperatureOutside temperatureR/W
waterpressureNumber:DimensionlessCentral heating water pressureR
ch_enableSwitchCentral heating enabled set at boilerR
ch_enablerequestedSwitchCentral heating enabled requested by thermostatR
ch_enableoverrideSwitchCentral heating enabled overridden at OTGWR/W
ch2_enableSwitchCentral heating 2 enabled set at boilerR
ch2_enablerequestedSwitchCentral heating 2 enabled requested by thermostatR
ch2_enableoverrideSwitchCentral heating 2 enabled overridden at OTGWR/W
ch_modeSwitchCentral heating activeR
dhw_enableSwitchDomestic hot water enabledR
dhw_modeSwitchDomestic hot water activeR
flameSwitchBurner activeR
modulevelNumber:DimensionlessRelative modulation levelR
maxrelmdulevelNumber:DimensionlessMaximum relative modulation levelR
faultSwitchFault indicationR
servicerequestSwitchService requiredR
lockout-resetSwitchLockout-reset enabledR
lowwaterpressSwitchLow water pressure faultR
gasflamefaultSwitchGas or flame faultR
airpressfaultSwitchAir pressure faultR
waterovtempSwitchWater over-temperature faultR
oemfaultcodeNumber:DimensionlessOEM fault codeR
diagSwitchDiagnostics indicationR
unsuccessfulburnerstartsNumber:DimensionlessUnsuccessful burner startsR
burnerstartsNumber:DimensionlessBurner startsR
chpumpstartsNumber:DimensionlessCentral heating pump startsR
dhwpvstartsNumber:DimensionlessDomestic hot water pump/valve startsR
dhwburnerstartsNumber:DimensionlessDomestic hot water burner startsR
burnerhoursNumber:TimeBurner hoursR
chpumphoursNumber:TimeCentral heating pump hoursR
dhwpvhoursNumber:TimeDomestic hot water pump/valve hoursR
dhwburnerhoursNumber:TimeDomestic hot water burner hoursR
tspnumberNumber:DimensionlessNumber of transparet slave parameter entriesR
tspentryNumber:DimensionlessTransparent slave parameter entryR
fhbnumberNumber:DimensionlessNumber of fault history buffer entriesR
fhbentryNumber:DimensionlessFault history buffer entryR

Channels for ventilationheatrecovery ​

The ventilationheatrecovery Thing supports the following channels:

Channel IDItem TypeDescriptionAccess
vh_ventilationenableSwitchVentilation enabledR
vh_bypasspositionNumber:DimensionlessBypass positionR
vh_bypassmodeNumber:DimensionlessBypass modeR
vh_freeventilationmodeSwitchFree ventilation modeR
vh_faultindicationSwitchFault indicationR
vh_ventilationmodeSwitchVentilation modeR
vh_bypassstatusSwitchBypass statusR
vh_bypassautomaticstatusNumber:DimensionlessBypass automatic statusR
vh_freeventilationstatusSwitchFree ventilation statusR
vh_filtercheckSwitchFilter Check enabledR
vh_diagnosticindicationSwitchDiagnostic indicationR
vh_controlsetpointNumber:DimensionlessControl setpointR
vh_servicerequestSwitchService requestR
vh_exhaustfanfaultSwitchExhaust fan faultR
vh_inletfanfaultSwitchInlet fan faultR
vh_frostprotectionSwitchFrost protectionR
vh_faultcodeNumber:DimensionlessFault codeR
vh_diagnosticcodeNumber:DimensionlessDiagnostic codeR
vh_systemtypeNumber:DimensionlessSystem typeR
vh_bypassSwitchBypassR
vh_speedcontrolNumber:DimensionlessSpeed controlR
vh_memberidNumber:DimensionlessMember IDR
vh_openthermversionNumber:DimensionlessOpenTherm versionR
vh_versiontypeNumber:DimensionlessVersion typeR
vh_relativeventilationNumber:DimensionlessRelative ventilation positionR
vh_relativehumidityNumber:DimensionlessRelative humidity exhaust airR
vh_co2levelNumber:DimensionlessCO2 level exhaust airR
vh_supplyinlettempNumber:TemperatureSupply inlet temperatureR
vh_supplyoutlettempNumber:TemperatureSupply outlet temperatureR
vh_exhaustinlettempNumber:TemperatureExhaust inlet temperatureR
vh_exhaustoutlettempNumber:TemperatureExhaust outlet temperatureR
vh_actualexhaustfanspeedNumber:DimensionlessActual exhaust fan speedR
vh_actualinletfanspeedNumber:DimensionlessActual inlet fan speedR
vh_nominalventenableSwitchNominal ventilation value transfer enabledR
vh_nominalventrwNumber:DimensionlessNominal ventilation valueR
vh_nominalventilationvalueNumber:DimensionlessNominal ventilation valueR
vh_ventilationsetpointNumber:DimensionlessVentilation setpoint overrideR/W
vh_tspnumberNumber:DimensionlessNumber of transparent slave parameter entriesR
vh_tspentryNumber:DimensionlessTransparent slave parameter entryR
vh_fhbnumberNumber:DimensionlessNumber of fault history buffer entriesR
vh_fhbentryNumber:DimensionlessFault history buffer entryR

Transparent Slave Parameters and Fault History Buffer Channels ​

The transparent slave parameters (TSP) and fault history buffer (FHB) use a variable number of entries. The number of entries is determined by a TSP or FHB size message. Channels for TSP and FHB entries are automatically created when a TSP or FHB size message is received. An index number is added to the base channel name to create a unique channel name for each entry.

For example, if a TSP size message is received for a boiler unit (OpenTherm DATA-ID 10) with value 60, then channels tspentry_0 through tspentry_59 will be automatically created and linked to the corresponding TSP entry (OpenTherm DATA-ID 11).

Using OpenTherm Gateway as a Master Device ​

When using OpenTherm with a boiler and a thermostat, the thermostat (master) periodically sends messages to the boiler to request data. The boiler (slave) then sends a response message with the requested data which is then used by the OpenTherm Gateway binding to update the channel values in openHAB.

If you have a setup without a master device requesting data, then the slave device may send fewer or even no OpenTherm messages at all.

In this case, you can make the OpenTherm Gateway act as a master device by sending Priority Message (PM) commands. With openHAB rules, you can use the sendcommand channel of the openthermgateway bridge to periodically send PM commands to the OpenTherm Gateway.

Example:

java
SendCommand.sendCommand("PM=10")

This will cause the OpenTherm Gateway to send a READ-DATA message to the slave device with DATA-ID 10. If supported, the slave device will respond with a READ-ACK message and the current value.

Full Example ​

demo.things Example ​

dsl
Bridge openthermgateway:openthermgateway:1 "OpenTherm Gateway" [ ipaddress="192.168.1.100", port="8000", connectionRetryInterval=60 ] {
    Thing boiler remeha "Remeha Avanta 28c"
    Thing ventilationheatrecovery brink "Brink Renovent Excellent 300"
}

demo.items for openthermgateway ​

dsl
Text SendCommand "Send command channel" { channel="openthermgateway:openthermgateway:1:sendcommand" }

demo.items for boiler ​

dsl
Number:Temperature RoomTemperature "Room Temperature [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:roomtemp" }
Number:Temperature RoomSetpoint "Room Setpoint [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:roomsetpoint" }
Number:Temperature TemporaryRoomSetpointOverride "Temporary Room Setpoint Override [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:temperaturetemporary" }
Number:Temperature ConstantRoomSetpointOverride "Constant Room Setpoint Override [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:temperatureconstant" }
Number:Temperature ControlSetpoint "Control Setpoint [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:controlsetpoint" }
Number:Temperature ControlSetpointRequested "Control Setpoint Requested [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:controlsetpointrequested" }
Number:Temperature ControlSetpointOverride "Control Setpoint Override [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:controlsetpointoverride" }
Number:Temperature ControlSetpoint2 "Control Setpoint 2 [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:controlsetpoint2" }
Number:Temperature ControlSetpoint2Requested "Control Setpoint 2 Requested [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:controlsetpoint2requested" }
Number:Temperature ControlSetpoint2Override "Control Setpoint 2 Override [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:controlsetpoint2override" }
Number:Temperature DomesticHotWaterTemperature "Domestic Hot Water Temperature [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:dhwtemp" }
Number:Temperature DomesticHotWaterSetpoint "Domestic Hot Water Setpoint [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:tdhwset" }
Number:Temperature DomesticHotWaterSetpointOverride "Domestic Hot Water Setpoint Override [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:overridedhwsetpoint" }
Number:Temperature BoilerWaterTemperature "Boiler Water Temperature [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:flowtemp" }
Number:Temperature ReturnWaterTemperature "Return Water Temperature [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:returntemp" }
Number:Temperature OutsideTemperature "Outside Temperature [%.1f %unit%]" <temperature> { channel="openthermgateway:boiler:1:remeha:outsidetemp" }
Number:Dimensionless CentralHeatingWaterPressure "Central Heating Water Pressure [%.1f bar]" { channel="openthermgateway:boiler:1:remeha:waterpressure" }
Switch CentralHeatingEnabled "Central Heating Enabled" <switch> { channel="openthermgateway:boiler:1:remeha:ch_enable" }
Switch CentralHeatingEnabledThermostat "Central Heating Enabled Thermostat" <switch> { channel="openthermgateway:boiler:1:remeha:ch_enablerequested" }
Switch CentralHeatingOverridden "Central Heating Overridden" <switch> { channel="openthermgateway:boiler:1:remeha:ch_enableoverride" }
Switch CentralHeating2Enabled "Central Heating 2 Enabled" <switch> { channel="openthermgateway:boiler:1:remeha:ch2_enable" }
Switch CentralHeating2EnabledThermostat "Central Heating 2 Enabled Thermostat" <switch> { channel="openthermgateway:boiler:1:remeha:ch2_enablerequested" }
Switch CentralHeating2Overridden "Central Heating 2 Overridden" <switch> { channel="openthermgateway:boiler:1:remeha:ch2_enableoverride" }
Switch CentralHeatingActive "Central Heating Active" <switch> { channel="openthermgateway:boiler:1:remeha:ch_mode" }
Switch DomesticHotWaterEnabled "Domestic Hot Water Enabled" <switch> { channel="openthermgateway:boiler:1:remeha:dhw_enable" }
Switch DomesticHotWaterActive "Domestic Hot Water Active" <switch> { channel="openthermgateway:boiler:1:remeha:dhw_mode" }
Switch BurnerActive "Burner Active" <switch> { channel="openthermgateway:boiler:1:remeha:flame" }
Number:Dimensionless RelativeModulationLevel "Relative Modulation Level [%.1f %%]" { channel="openthermgateway:boiler:1:remeha:modulevel" }
Number:Dimensionless MaximumRelativeModulationLevel "Maximum Relative Modulation Level [%.1f %%]" { channel="openthermgateway:boiler:1:remeha:maxrelmdulevel" }
Switch FaultIndication "Fault Indication" <switch> { channel="openthermgateway:boiler:1:remeha:fault" }
Switch ServiceRequired "Service Required" <switch> { channel="openthermgateway:boiler:1:remeha:servicerequest" }
Switch LockoutResetEnabled "Lockout-Reset Enabled" <switch> { channel="openthermgateway:boiler:1:remeha:lockout-reset" }
Switch LowWaterPressureFault "Low Water Pressure Fault" <switch> { channel="openthermgateway:boiler:1:remeha:lowwaterpress" }
Switch GasOrFlameFault "Gas Or Flame Fault" <switch> { channel="openthermgateway:boiler:1:remeha:gasflamefault" }
Switch AirPressureFault "Air Pressure Fault" <switch> { channel="openthermgateway:boiler:1:remeha:airpressfault" }
Switch WaterOverTemperatureFault "Water Over-Temperature Fault" <switch> { channel="openthermgateway:boiler:1:remeha:waterovtemp" }
Number:Dimensionless OEMFaultCode "OEM Fault Code" { channel="openthermgateway:boiler:1:remeha:oemfaultcode" }
Number:Dimensionless UnsuccessfulBurnerStarts "Unsuccessful Burner Starts" { channel="openthermgateway:boiler:1:remeha:unsuccessfulburnerstarts" }
Number:Dimensionless BurnerStarts "Burner Starts" { channel="openthermgateway:boiler:1:remeha:burnerstarts" }
Number:Dimensionless CentralHeatingPumpStarts "Central Heating Pump Starts" { channel="openthermgateway:boiler:1:remeha:chpumpstarts" }
Number:Dimensionless DomesticHotWaterPumpValveStarts "Domestic Hot Water Pump/Valve Starts" { channel="openthermgateway:boiler:1:remeha:dhwpvstarts" }
Number:Dimensionless DomesticHotWaterBurnerStarts "Domestic Hot Water Burner Starts" { channel="openthermgateway:boiler:1:remeha:dhwburnerstarts" }
Number:Time BurnerHours "Burner Hours" { channel="openthermgateway:boiler:1:remeha:burnerhours" }
Number:Time CentralHeatingPumpHours "Central Heating Pump Hours" { channel="openthermgateway:boiler:1:remeha:chpumphours" }
Number:Time DomesticHotWaterPumpValveHours "Domestic Hot Water Pump/Valve Hours" { channel="openthermgateway:boiler:1:remeha:dhwpvhours" }
Number:Time DomesticHotWaterBurnerHours "Domestic Hot Water Burner Hours" { channel="openthermgateway:boiler:1:remeha:dhwburnerhours" }
Number:Dimensionless TransparentSlaveParameterNumber "Transparent Slave Parameter Number" { channel="openthermgateway:boiler:1:remeha:tspnumber" }
Number:Dimensionless TransparentSlaveParameterEntry "Transparent Slave Parameter Entry" { channel="openthermgateway:boiler:1:remeha:tspentry" }
Number:Dimensionless FaultHistoryBufferNumber "Fault History Buffer Number" { channel="openthermgateway:boiler:1:remeha:fhbnumber" }
Number:Dimensionless FaultHistoryBufferEntry "Fault History Buffer Entry" { channel="openthermgateway:boiler:1:remeha:fhbentry" }

demo.items for ventilationheatrecovery ​

dsl
Switch VentilationEnabled "Ventilation Enabled" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_ventilationenable }
Number:Dimensionless BypassPosition "Bypass Position" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_bypassposition }
Number:Dimensionless BypassMode "Bypass Mode" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_bypassmode }
Switch FreeVentilationMode "Free Ventilation Mode" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_freeventilationmode }
Switch FaultIndication "Fault Indication" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_faultindication }
Switch VentilationMode "Ventilation Mode" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_ventilationmode }
Switch BypassStatus "Bypass Status" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_bypassstatus }
Number:Dimensionless BypassAutomaticStatus "Bypass Automatic Status" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_bypassautomaticstatus }
Switch FreeVentilationStatus "Free Ventilation Status" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_freeventilationstatus }
Switch FilterCheck "Filter Check" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_filtercheck }
Switch DiagnosticIndication "Diagnostic Indication" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_diagnosticindication }
Number:Dimensionless ControlSetpoint "Control Setpoint" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_controlsetpoint }
Switch ServiceRequest "Service Request" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_servicerequest }
Switch ExhaustFanFault "Exhaust Fan Fault" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_exhaustfanfault }
Switch InletFanFault "Inlet Fan Fault" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_inletfanfault }
Switch FrostProtection "Frost Protection" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_frostprotection }
Number:Dimensionless FaultCode "Fault Code" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_faultcode }
Number:Dimensionless DiagnosticCode "Diagnostic Code" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_diagnosticcode }
Number:Dimensionless SystemType "System Type" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_systemtype }
Switch Bypass "Bypass" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_bypass }
Number:Dimensionless SpeedControl "Speed Control" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_speedcontrol }
Number:Dimensionless MemberID "Member ID" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_memberid }
Number:Dimensionless OpenThermVersion "OpenTherm Version" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_openthermversion }
Number:Dimensionless VersionType "Version Type" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_versiontype }
Number:Dimensionless RelativeVentilation "Relative Ventilation [%d %%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_relativeventilation }
Number:Dimensionless RelativeHumidity "Relative Humidity [%d %%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_relativehumidity }
Number:Dimensionless CO2Level "CO2 Level [%d ppm]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_co2level }
Number:Temperature SupplyInletTemperature "Supply Inlet Temperature [%.1f %unit%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_supplyinlettemp }
Number:Temperature SupplyOutletTemperature "Supply Outlet Temperature [%.1f %unit%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_supplyoutlettemp }
Number:Temperature ExhaustInletTemperature "Exhaust Inlet Temperature [%.1f %unit%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_exhaustinlettemp }
Number:Temperature ExhaustOutletTemperature "Exhaust Outlet Temperature [%.1f %unit%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_exhaustoutlettemp }
Number:Dimensionless ActualExhaustFanSpeed "Actual Exhaust Fan Speed [%d rpm]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_actualexhaustfanspeed }
Number:Dimensionless ActualInletFanSpeed "Actual Inlet Fan Speed [%d rpm]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_actualinletfanspeed }
Switch NominalVentilationValueTransfer "Nominal Ventilation Value Transfer" <switch> { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_nominalventenable }
Number:Dimensionless NominalVentilationValue "Nominal Ventilation Value" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_nominalventrw }
Number:Dimensionless NominalVentilationValue "Nominal Ventilation Value [%d %%]" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_nominalventilationvalue }
Number:Dimensionless VentilationSetpoint "Ventilation Setpoint" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_ventilationsetpoint }
Number:Dimensionless TransparentSlaveParameterNumber "Transparent Slave Parameter Number" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_tspnumber }
Number:Dimensionless TransparentSlaveParameterEntry "Transparent Slave Parameter Entry" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_tspentry }
Number:Dimensionless FaultHistoryBufferNumber "Fault History Buffer Number" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_fhbnumber }
Number:Dimensionless FaultHistoryBufferEntry "Fault History Buffer Entry" { channel="openthermgateway:ventilationheatrecovery:1:brink:vh_fhbentry }

demo.sitemap Example ​

dsl
sitemap demo label="Main Menu" {
    Frame label="Boiler" {
        Text item="RoomTemperature" icon="temperature" label="Room Temperature [%.1f %unit%]"
        Text item="RoomSetpoint" icon="temperature" label="Room Setpoint [%.1f %unit%]"
        Text item="TemporaryRoomSetpointOverride" icon="temperature" label="Temporary Room Setpoint Override [%.1f %unit%]" minValue="0" maxValue="30" step="0.1"
        Text item="ConstantRoomSetpointOverride" icon="temperature" label="Constant Room Setpoint Override [%.1f %unit%]" minValue="0" maxValue="30" step="0.1"
        Text item="ControlSetpoint" icon="temperature" label="Control Setpoint [%.1f %unit%]"
        Text item="ControlSetpointRequested" icon="temperature" label="Control Setpoint Requested [%.1f %unit%]"
        Text item="ControlSetpointOverride" icon="temperature" label="Control Setpoint Override [%.1f %unit%]" minValue="0" maxValue="100" step="0.1"
        Text item="ControlSetpoint2" icon="temperature" label="Control Setpoint 2 [%.1f %unit%]"
        Text item="ControlSetpoint2Requested" icon="temperature" label="Control Setpoint 2 Requested [%.1f %unit%]"
        Text item="ControlSetpoint2Override" icon="temperature" label="Control Setpoint 2 Override [%.1f %unit%]" minValue="0" maxValue="100" step="0.1"
        Text item="DomesticHotWaterTemperature" icon="temperature" label="Domestic Hot Water Temperature [%.1f %unit%]"
        Text item="DomesticHotWaterSetpoint" icon="temperature" label="Domestic Hot Water Setpoint [%.1f %unit%]"
        Text item="DomesticHotWaterSetpointOverride" icon="temperature" label="Domestic Hot Water Setpoint Override [%.1f %unit%]" minValue="0" maxValue="100" step="0.1"
        Text item="BoilerWaterTemperature" icon="temperature" label="Boiler Water Temperature [%.1f %unit%]"
        Text item="ReturnWaterTemperature" icon="temperature" label="Return Water Temperature [%.1f %unit%]"
        Text item="OutsideTemperature" icon="temperature" label="Outside Temperature [%.1f %unit%]" minValue="-40" maxValue="100" step="0.1"
        Text item="CentralHeatingWaterPressure" label="Central Heating Water Pressure [%.1f bar]"
        Switch item="CentralHeatingEnabled" icon="switch" label="Central Heating Enabled"
        Switch item="CentralHeatingEnabledThermostat" icon="switch" label="Central Heating Enabled Thermostat"
        Switch item="CentralHeatingOverridden" icon="switch" label="Central Heating Overridden"
        Switch item="CentralHeating2Enabled" icon="switch" label="Central Heating 2 Enabled"
        Switch item="CentralHeating2EnabledThermostat" icon="switch" label="Central Heating 2 Enabled Thermostat"
        Switch item="CentralHeating2Overridden" icon="switch" label="Central Heating 2 Overridden"
        Switch item="CentralHeatingActive" icon="switch" label="Central Heating Active"
        Switch item="DomesticHotWaterEnabled" icon="switch" label="Domestic Hot Water Enabled"
        Switch item="DomesticHotWaterActive" icon="switch" label="Domestic Hot Water Active"
        Switch item="BurnerActive" icon="switch" label="Burner Active"
        Text item="RelativeModulationLevel" label="Relative Modulation Level [%.1f %%]"
        Text item="MaximumRelativeModulationLevel" label="Maximum Relative Modulation Level [%.1f %%]"
        Switch item="FaultIndication" icon="switch" label="Fault Indication"
        Switch item="ServiceRequired" icon="switch" label="Service Required"
        Switch item="Lockout-ResetEnabled" icon="switch" label="Lockout-Reset Enabled"
        Switch item="LowWaterPressureFault" icon="switch" label="Low Water Pressure Fault"
        Switch item="GasOrFlameFault" icon="switch" label="Gas Or Flame Fault"
        Switch item="AirPressureFault" icon="switch" label="Air Pressure Fault"
        Switch item="WaterOver-TemperatureFault" icon="switch" label="Water Over-Temperature Fault"
        Text item="OEMFaultCode" label="OEM Fault Code"
        Text item="UnsuccessfulBurnerStarts" label="Unsuccessful Burner Starts"
        Text item="BurnerStarts" label="Burner Starts"
        Text item="CentralHeatingPumpStarts" label="Central Heating Pump Starts"
        Text item="DomesticHotWaterPump/ValveStarts" label="Domestic Hot Water Pump/Valve Starts"
        Text item="DomesticHotWaterBurnerStarts" label="Domestic Hot Water Burner Starts"
        Text item="BurnerHours" label="Burner Hours"
        Text item="CentralHeatingPumpHours" label="Central Heating Pump Hours"
        Text item="DomesticHotWaterPumpValveHours" label="Domestic Hot Water Pump/Valve Hours"
        Text item="DomesticHotWaterBurnerHours" label="Domestic Hot Water Burner Hours"
        Text item="TransparentSlaveParameterNumber" label="Transparent Slave Parameter Number"
        Text item="TransparentSlaveParameterEntry" label="Transparent Slave Parameter Entry"
        Text item="FaultHistoryBufferNumber" label="Fault History Buffer Number"
        Text item="FaultHistoryBufferEntry" label="Fault History Buffer Entry"
    }

    Frame label="Ventilation / Heat Recovery" {
        Switch item="VentilationEnabled" icon="switch" label="Ventilation Enabled"
        Text item="BypassPosition" label="Bypass Position"
        Text item="BypassMode" label="Bypass Mode"
        Switch item="FreeVentilationMode" icon="switch" label="Free Ventilation Mode"
        Switch item="FaultIndication" icon="switch" label="Fault Indication"
        Switch item="VentilationMode" icon="switch" label="Ventilation Mode"
        Switch item="BypassStatus" icon="switch" label="Bypass Status"
        Text item="BypassAutomaticStatus" label="Bypass Automatic Status"
        Switch item="FreeVentilationStatus" icon="switch" label="Free Ventilation Status"
        Switch item="FilterCheck" icon="switch" label="Filter Check"
        Switch item="DiagnosticIndication" icon="switch" label="Diagnostic Indication"
        Text item="ControlSetpoint" label="Control Setpoint"
        Switch item="ServiceRequest" icon="switch" label="Service Request"
        Switch item="ExhaustFanFault" icon="switch" label="Exhaust Fan Fault"
        Switch item="InletFanFault" icon="switch" label="Inlet Fan Fault"
        Switch item="FrostProtection" icon="switch" label="Frost Protection"
        Text item="FaultCode" label="Fault Code"
        Text item="DiagnosticCode" label="Diagnostic Code"
        Text item="SystemType" label="System Type"
        Switch item="Bypass" icon="switch" label="Bypass"
        Text item="SpeedControl" label="Speed Control"
        Text item="MemberID" label="Member ID"
        Text item="OpenThermVersion" label="OpenTherm Version"
        Text item="VersionType" label="Version Type"
        Text item="RelativeVentilation" label="Relative Ventilation [%d %%]"
        Text item="RelativeHumidity" label="Relative Humidity [%d %%]"
        Text item="CO2Level" label="CO2 Level [%d ppm]"
        Text item="SupplyInletTemperature" label="Supply Inlet Temperature [%.1f %unit%]"
        Text item="SupplyOutletTemperature" label="Supply Outlet Temperature [%.1f %unit%]"
        Text item="ExhaustInletTemperature" label="Exhaust Inlet Temperature [%.1f %unit%]"
        Text item="ExhaustOutletTemperature" label="Exhaust Outlet Temperature [%.1f %unit%]"
        Text item="ActualExhaustFanSpeed" label="Actual Exhaust Fan Speed [%d rpm]"
        Text item="ActualInletFanSpeed" label="Actual Inlet Fan Speed [%d rpm]"
        Switch item="NominalVentilationValueTransfer" icon="switch" label="Nominal Ventilation Value Transfer"
        Text item="NominalVentilationValue" label="Nominal Ventilation Value"
        Text item="NominalVentilationValue" label="Nominal Ventilation Value [%d %%]"
        Text item="VentilationSetpoint" label="Ventilation Setpoint" minValue="0" maxValue="100" step="1"
        Text item="TransparentSlaveParameterNumber" label="Transparent Slave Parameter Number"
        Text item="TransparentSlaveParameterEntry" label="Transparent Slave Parameter Entry"
        Text item="FaultHistoryBufferNumber" label="Fault History Buffer Number"
        Text item="FaultHistoryBufferEntry" label="Fault History Buffer Entry"
    }
 }

Migration from Prior Versions of the Binding ​

Between openHAB v3.2 and v3.3 the structure of Things and Channels was changed. This means that Things and their respective Channels and Items that were created on v3.2 or earlier will no longer function on version v3.3 or later. To be specific the change is as follows..

  • openHAB Versions v3.2 or earlier: There was just one single otgw Thing that combined the functions that communicate with the OpenTherm Gateway together with the functions of the Channels that monitor/control the connected Boiler.

  • openHAB Versions v3.3 or later: The communication functions have been moved to a new openthermgateway Bridge Thing. The connected Boiler functions have been moved to a new boiler Thing. And in addition (if needed) new functions for a connected Ventilation / Heat-Recovery system have been added in a new ventilationheatrecovery Thing.

So if you upgrade your system from openHAB v3.2 (or lower) to v3.3 (or higher), then your Thing and Item definitions must be migrated as shown below..

  • Divide the contents of your old openthermgateway:otgw:yourGatewayId Thing definition into two new parts, namely 1) a new openthermgateway:openthermgateway:yourGatewayId Bridge definition for the OpenTherm Gateway, and 2) a new openthermgateway:boiler:yourGatewayId:yourBoilerId Thing definition for the connected Boiler.

  • Change the channel=".." configuration entries of all your Items from referring to the ThingUID of the old otgw Thing to refer instead to the ThingUID of the respective newly created boiler Thing.

Old Thing Definition and respective Item Definition (example) ​

dsl
Thing openthermgateway:otgw:yourGatewayId [ ipaddress="192.168.1.100", port=8000, connectionRetryInterval=60 ]

e.g.
Number:Temperature Boiler_DHW_Temperature "Boiler DHW Temperature [%.1f %unit%]" <temperature> {channel="openthermgateway:otgw:yourGatewayId:dhwtemp"}
&c.

New Thing Definition and respective and Item Definition (example) ​

dsl
Bridge openthermgateway:openthermgateway:yourGatewayId "OpenTherm Gateway" @ "Kitchen" [ipaddress="192.168.1.100", port=20108, connectionRetryInterval=60] {
    Thing boiler remeha "Boiler" @ "Kitchen"
}

e.g.
Number:Temperature Boiler_DHW_Temperature "Boiler DHW Temperature [%.1f %unit%]" <temperature> {channel="openthermgateway:boiler:yourGatewayId:remeha:dhwtemp"}
&c.