Skip to Content

HomeMaster OpenTherm Gateway — ESPHome Smart Boiler Control

(0 review)

The HomeMaster OpenTherm Gateway is a DIN-rail heating controller for Home Assistant. It connects to your boiler via OpenTherm for full modulation control, or switches it via relay if OpenTherm is not available. Two 1-Wire temperature inputs let you monitor flow, return, buffer tank or room temperatures. The relay output controls auxiliary equipment — zone valves, circulation pumps, or two-way and three-way valves.

Built on ESP32 with ESPHome pre-installed. 100% local. No cloud. No subscription.

Manufacturer: HomeMaster Internal Reference: HM-OTG-001 Mfr. Part#: OpenTherm-Gateway Barcode: 5940031101794

110.00 110.00

Returns & Warranty Conditions
Shipping & Availability
We ship orders within 1–2 business days for items in stock.
For out-of-stock products, ships within 1–2 business days after restock
Shipping times will automatically update once the product becomes available.


HomeMaster OpenTherm Gateway

OpenTherm or relay. Local control. No cloud. No lock-in.

Quick Overview

  • OpenTherm interface — full boiler modulation, setpoints, fault monitoring and flame status
  • Relay output — controls zone valves, pumps, 2-way and 3-way valves, or switches on/off boilers without OpenTherm
  • Dual 1-Wire temperature inputs — monitor flow, return, buffer tank or room temperature
  • Works with OpenTherm boilers (full modulation) and legacy on/off boilers (relay fallback)
  • No cloud, no vendor lock-in — fully local control via Home Assistant
  • Native Home Assistant integration via ESPHome
  • Wide power input: 24 V DC or 85–265 V AC
  • DIN-rail cabinet installation — professional grade
  • Open hardware (CERN-OHL-W v2) + open firmware (MIT)

Typical Applications

  • OpenTherm boiler modulation and setpoint control
  • On/off boiler control via relay (no OpenTherm required)
  • Zone valve or circulation pump switching
  • Flow and return temperature monitoring via 1-Wire sensors
  • Buffer tank temperature monitoring
  • Boiler fault monitoring and alerting in Home Assistant
  • Retrofit smart heating for any existing boiler system
  • Custom heating automation without cloud dependency

Tech Specs

Technical Specifications
SpecificationDetails
ArchitectureModular — MCU Board + Relay Board
MicrocontrollerESP32-WROOM-32U-N16 (dual-core, 16 MB flash)
Power Input24 V DC nominal (V+ / 0V) OR 85-265 V AC (L / N) OR 120-370 V DC (L / N + / -)
Relay Output* 1 × SPDT relay (component), only C and NC terminals exposed externally — functionally SPST-NC. Rated load (system limit): 3 A @ 250 VAC (resistive); max 750 VA @ 250 VAC, 90 W @ 30 VDC.

Relay output insulation from mains primary on the PCB is rated Basic per EN 62368-1; cross-phase/cross-source mains use is not permitted — see Relay Output Wiring section for full restriction. Relay components (informative only) rated up to 12 A @ 250 VAC (resistive); this rating does not apply to the complete module.
Typical Power Consumption3 W
Temperature Inputs2 x 1-Wire (DS18B20 compatible)
User Interface4 LEDs (PWR, O.1, U.1, U.2), 1 button
Wi-FiWi-Fi 2.4 GHz (ESP32, pre-certified radio module)
OpenTherm Interface1 x OpenTherm bus (OT+ / OT-) with optocoupler isolation
USBUSB-C (ESD protected, CC detection, data to ESP32)

Note: Relay outputs are not internally fused. External overcurrent protection must be provided according to applicable standards and installation requirements.

Installation, Environmental & Mechanical

Installation, Environmental & Mechanical Specifications
Category Specification Details
Terminal SpecificationsTerminal typePluggable screw terminal blocks, 5.08 mm pitch
Terminal pitch5.08 mm
Wire cross-section0.2–2.5 mm² (AWG 24–12)
Conductor typeSolid or stranded copper
Stranded wireFerrules recommended
Tightening torque0.4 Nm (max)
Environmental RatingsOperating temperature0 °C to +40 °C (for unheated spaces, use a heated/conditioned control cabinet to keep ambient temperature within range)
Storage temperature-10 °C to 55 °C
Relative humidity0–90 % RH, non-condensing
Ingress protectionIP20 (inside cabinet)
InstallationIndoor control cabinet only; not for outdoor or exposed installation
Terminal protectionAll wiring terminals must be protected against accidental contact
Mechanical & PackagingProduct dimensions35.5 × 90.6 × 67.3 mm (L × W × H)
DIN units2 division units (approximately 36 mm DIN rail mounting width)
Mounting35 mm DIN rail
Pack size140 × 96 × 95 mm (L × W × H)
Mechanical drawingFront + side views with DIN-clip depth
NotesAll dimensions shown in millimeters unless stated otherwise

Install only inside a control cabinet with ventilation; the cabinet must include a protective front plate covering all module connection terminals and a closing protective door; not for outdoor or exposed installation.

All wiring terminals must be protected against accidental contact by an insulating front plate, wiring duct, or terminal cover. Exposed live terminals are not permitted.

Home Assistant & ESPHome Integration

The OpenTherm Gateway comes with ESPHome pre-installed and supports direct integration with Home Assistant. Wi-Fi onboarding is available via Improv (USB Serial or BLE), without manual flashing for basic deployment.

Getting Started

Improv Wi-Fi Setup (Recommended)

  1. Mount & Power - Install on DIN rail and connect power input.
  2. Open Improv - Go to improv-wifi.com in Chrome or Edge.
  3. Connect Device - Use USB-C (serial) or Bluetooth LE.
  4. Enter Wi-Fi - Provide SSID and password, then connect.
  5. Auto Discovery - Device appears in Home Assistant / ESPHome Dashboard.

Fallback Access Point

If the device cannot connect to your Wi-Fi network, it automatically starts a fallback Access Point named HomeMaster OT Fallback. This fallback mode is only active when normal Wi-Fi connection fails.

  1. Power on the device and wait approximately 60 seconds.
  2. Connect to: HomeMaster OT Fallback.
  3. Open a browser and navigate to http://192.168.4.1.
  4. Enter your Wi-Fi credentials and save.
  • The captive portal page may open automatically.
  • If it does not open, use http://192.168.4.1 manually.
  • The fallback Access Point is active only when normal Wi-Fi connection fails.

One-Click Import (ESPHome Dashboard)

After provisioning, click Take Control in ESPHome Dashboard to import the official configuration from GitHub.

⚠️ Note: After taking control, vendor-managed OTA updates will stop working unless you keep the http_request, ota: platform: http_request, and update blocks from the original configuration in your customised YAML. If you remove these blocks, update via ESPHome OTA or USB instead.

Firmware / YAML Source

Official ESPHome configuration file: opentherm.yaml (GitHub)

Update manifest: manifest.json (GitHub)

  • Native Home Assistant API integration
  • OTA updates supported
  • Improv setup via serial and BLE
  • OpenTherm telemetry and control entities
ESPHome dashboard Take Control for OpenTherm Gateway

Documentation

The OpenTherm Gateway is open-source hardware. Design files, firmware, and documentation are publicly available.

Hardware Design Files

File Description Link
Schematics MCU and Field Board schematics Schematic/

Compliance Documents

File Description Link
EU Declaration of Conformity (DoC) Signed EU Declaration of Conformity per Reg. (EC) 765/2008 and Decision 768/2008/EC DoC-OTGW-R1-V1.0.pdf
Datasheet Technical specifications and electrical characteristics OTGW-R1_Datasheet.pdf

Firmware & Software

Resource Description Link
Default ESPHome Config Official OpenTherm gateway YAML opentherm.yaml
Integration Guide Setup, wiring, and OpenTherm usage README.md
Module Repository Firmware and hardware source files GitHub module folder

Open-Source Hardware & Firmware
Hardware design files are licensed under CERN-OHL-W v2.
Firmware and ESPHome configuration are licensed under the MIT License.
Full source files are available on GitHub.

Cabling and Wirings

Power Supply

The OpenTherm Gateway supports three input options: 24 V DC (V+ / 0V), 85-265 V AC (L / N), or 120-370 V DC (L / N + / -). Use only one power input method at a time.

OpenTherm Gateway 24V DC power wiring
24 V DC input wiring on V+ / 0V terminals.
OpenTherm Gateway 230V AC power wiring
AC mains input wiring on L / N terminals.

Relay Output Wiring

For boilers without OpenTherm, use the relay output to switch the boiler on/off. Also used to control zone valves, circulation pumps, or two-way and three-way valves.

The relay output exposes C and NC contacts only (normally-closed) and can be used to switch external actuators (zone valves, pumps, backup heaters) through proper external protection devices. System load limits: 3 A @ 250 VAC (resistive, system limit) · 750 VA @ 250 VAC maximum · 90 W @ 30 VDC maximum.

⚠️ External protection required: Relay output MUST be protected by external fuse or circuit breaker. Relay output is not internally fused.

⚠️ Relay output — use restriction (mandatory):
The relay output terminals (C, NC) shall be connected only to:

  • the same mains supply circuit as the L/N input of this device, OR
  • a SELV (Safety Extra-Low Voltage) circuit, OR
  • a Limited Power Source (LPS) circuit per EN 62368-1.

Connection of the relay output to a different mains phase, an isolated mains source, or any circuit at a higher voltage class than the device's L/N input is not permitted. Failure to follow this restriction may cause dielectric breakdown between the device input and relay output circuits and presents electric-shock and fire hazards.

This restriction is required because the printed-circuit-board insulation between the L/N tracks and the C/NC tracks of the Relay board is rated as Basic per EN 62368-1 Table 11/14 (working voltage 250 V r.m.s.). Cross-mains use would require Reinforced insulation that the current hardware revision V1.0 does not provide. The next hardware revision will lift this restriction.

⚠️ Relay default state on power-up: The relay output is dry-contact and exposes only C and NC. When the device is unpowered or the relay is switched OFF, the NC contact is closed and the load is energized. Verify this is safe for your installation before connecting any boiler call-for-heat, pump, or valve to NC.

OpenTherm Gateway relay connection
Relay dry-contact wiring example.

1-Wire Sensor Wiring

Use both 1-Wire buses to monitor multiple points — flow temperature, return temperature, buffer tank, or room sensors. Works independently of the boiler type.

Two independent 1-Wire channels are available for DS18B20-compatible temperature sensors. Use daisy-chain (bus) topology only — star wiring is not supported. Keep sensor stubs ≤ 0.5 m. See Cable Recommendations below for full wiring guidance.

⚠️ One sensor per bus by default. The shipped configuration does not pin sensor addresses. With multiple sensors on the same 1-Wire bus, ESPHome reads the first sensor it discovers — assignment is non-deterministic across reboots. For multiple sensors per bus, set explicit address: values in YAML (visible in ESPHome logs at boot).

OpenTherm Gateway 1-Wire sensor wiring
1-Wire sensor bus connection example.

OpenTherm Bus Wiring

Connect OT+ and OT− to the boiler OpenTherm interface for full modulation control, setpoint management, fault monitoring and flame status reporting in Home Assistant.

Keep OT wiring separated from high-voltage conductors.

OpenTherm OT+ OT- wiring
OpenTherm OT+ / OT- bus connection.

Cable Recommendations & Shield Grounding

General Routing Rules

  • Route low-level signal cables (1-Wire/OT) separately from mains, relay output wiring, contactors, and power wiring.
  • If crossing power cables is unavoidable, cross at 90 degrees.
  • Keep cable runs as short as practical and avoid long parallel runs with high-current conductors.

Temperature Cable (1-Wire)

  • Recommended: shielded 3-core (+5V / DATA / GND).
  • High-EMI / long runs: shielded pairs + overall shield (e.g., LI2YCY PiMF 2x2x0.50).
  • Keep sensor stubs ≤ 0.5 m. Use daisy-chain (bus) topology only — star wiring is not supported.

OpenTherm Cable

  • Use twisted pair cable for OT+ / OT-.
  • Overall shield recommended in industrial/noisy cabinets.
  • Recommended cable types: J-Y(ST)Y 2×2×0.5 mm² or LI2YCY PiMF 2×2×0.50.

Shield Grounding

  • Default recommendation: bond cable shield(s) to cabinet PE/EMC ground at controller side only.
  • Do not connect shields directly to signal terminals (1-Wire/OT).
  • If both ends are equipotential bonded cabinets, both-end shield bonding may be used with proper 360-degree clamps.

System Architecture & Pinout

OpenTherm Gateway system block diagram
OpenTherm Gateway functional block diagram.
OpenTherm Gateway pinout
Pinout and front terminal reference.

Safety and Installation Notes

  • Disconnect all power before installation or wiring changes.
  • Use only one power input method at a time (24 V DC or AC/DC L/N input).
  • Install only inside a closed control cabinet; protect all terminals from accidental contact.
  • Use external overcurrent protection (fuse/breaker) for relay circuits and mains inputs.
  • Relay outputs are not internally fused; use external contactors for loads above 3 A and for high inrush/inductive loads.
  • Relay output use restriction: terminals C and NC shall be connected only to the same mains supply as L/N, or to SELV / Limited Power Source circuits. Cross-phase or cross-source mains connection is not permitted with hardware revision V1.0.
  • L / N terminals may carry hazardous voltage; installation by qualified personnel only.
  • Follow local electrical code and boiler manufacturer OpenTherm wiring requirements.

Compliance & Certifications

The OpenTherm Gateway module is CE marked. ISYSTEMS AUTOMATION S.R.L. (HomeMaster® brand) maintains the technical documentation and a signed EU Declaration of Conformity (DoC) available for download in the Documents and Resources section above.

  • EMC Directive 2014/30/EU — EN 55032:2015 (Class B emissions), EN 55035:2017 (immunity), tested by Idvorsky Laboratories Ltd. (Job #1648)
  • Low Voltage Directive 2014/35/EU — EN 62368-1:2020 + A11:2020, in-house dielectric and isolation testing by ISYSTEMS AUTOMATION compliance laboratory
  • RoHS Directive 2011/65/EU — EN IEC 63000 technical documentation
  • HomeMaster® — registered EU trademark (EUTM No. 019082911, EUIPO, registered 15 January 2025)