Skip to content

Settings

Yurii edited this page Dec 1, 2026 · 3 revisions

General settings

English · Русский

First connection

Important

After the first installation, the web interface is available at http://192.168.4.1 through the ESP32 access point. The standard build uses the access point name OpenTherm Gateway and password otgateway123456.

Network

OTGateway connects to your local network over Wi-Fi or Ethernet. You can choose the connection method and configure it under Network settings in the web interface. The web interface, REST API and MQTT are available over either connection.

Wi-Fi

Network settings → Wi-Fi → WiFi settings lets you select your home network from the scan results or enter its SSID and password. A Channel value of 0 enables automatic selection. Saving the settings starts the connection process.

Once connected, the web interface is available at the address assigned by your router. Its main page shows the active connection, IP address and, for Wi-Fi, SSID and signal strength.

Access point and recovery

The ESP32 starts its access point when no Wi-Fi SSID is configured. If a configured Wi-Fi connection remains unavailable, the access point starts after about 3 minutes. Wi-Fi connection attempts continue while the access point is running.

The network settings are available at http://192.168.4.1 through this access point. Its SSID, password and channel can be changed under AP settings. Changed access point parameters take effect the next time the access point starts.

After the home-network connection has been available for 15 seconds, OTGateway stops the access point once no clients remain connected to it. Saving Wi-Fi connection settings keeps a running access point available during reconnection.

An access point provides local setup access; it does not count as a connection to your home network for MQTT or network-fed sensors.

Note

Bluetooth scanning pauses while a client is connected to the ESP32 access point. It resumes automatically after the last client disconnects or the access point stops. Bluetooth sensor readings may therefore stop updating while you configure the device through its access point.

Ethernet

Supported builds

Ethernet is available in s3_mini, esp32_c6_ethernet and thrm_one. The esp32_c6_ethernet and thrm_one builds have no Bluetooth support; the standard esp32_c6 build supports Bluetooth but has no Ethernet. The board table lists the available builds.

In builds without Ethernet support, the Ethernet settings and connection option are hidden.

Module wiring and setup

Ethernet requires a W5500 SPI module. Its power and ground connections must follow the module and ESP32 board documentation. All 6 signals below require suitable free GPIOs. The s3_mini and esp32_c6_ethernet builds have no default W5500 GPIO assignments. GPIOs already used by OpenTherm, sensors or other configured functions are unavailable for the module.

W5500 signal Network settings field ESP32 direction
SCK / CLK SPI clock GPIO Output
MOSI SPI MOSI GPIO Output
MISO SPI MISO GPIO Input
CS / SCS SPI CS GPIO Output
INT / IRQ Interrupt GPIO Input
RST / RESET Reset GPIO Output

Note

The thrm_one build has these GPIOs assigned: SCK — 22, MOSI — 20, MISO — 21, CS — 23, IRQ — 19, RESET — 18.

  1. While still connected through Wi-Fi, open Network settings → Ethernet. Enter and save all 6 GPIOs matching your wiring. IRQ and reset are required too.
  2. Connect the W5500 to your router or switch with an Ethernet cable.
  3. Under Network settings, choose DHCP or enter the static address settings described below. Select Connection method → Ethernet and save.
  4. Allow about 5 seconds for reconnection, then open the address assigned to the Ethernet interface. Check the router's client list if needed.
  5. On the web interface's main page, check that Connection is Ethernet. Wi-Fi SSID and signal rows are hidden in this mode.

Switching and connection failures

Only one connection method is selected at a time. Ethernet mode turns off Wi-Fi, including the ESP32 access point, and disables Wi-Fi network scanning.

If Ethernet cannot start because the build lacks support, the GPIO configuration is incomplete or the driver fails to initialize, OTGateway switches to Wi-Fi using the saved Wi-Fi settings. After correcting the wiring or GPIO assignments, selecting Ethernet again starts another attempt.

Important

An unplugged cable, a router restart or a failure to obtain an IP address does not trigger a switch to Wi-Fi. Ethernet remains selected and the access point stays off. Restoring access requires a working wired connection with correct DHCP or static IP settings.

DHCP and static address

Use DHCP is enabled by default. With DHCP disabled, IP, Gateway, Subnet and DNS define the static address settings for your local network. These settings are shared by Wi-Fi and Ethernet, so switching between networks may require changes.

Saving changed network settings schedules reconnection after about 5 seconds. The old browser address can stop responding if the connection method or IP address changes. After reconnection, the web interface is available at the new address.

The REST reference describes network settings and status for your own applications.

Web interface access

Access by hostname (mDNS)

Hostname is set under Network settings. With Use mDNS enabled under Portal settings, the web interface is available at http://<hostname>.local if the client and local network support mDNS.

Authentication

Portal settings provides Login, Password and Require authentication. With authentication enabled and credentials set, the control and settings pages request them when accessed through the home network.

Tip

HTTP authentication is not required through OTGateway's own access point; its password is set separately under AP settings.

System settings

Units of measurement

Under System settings, Unit system selects the units for temperature, volume and pressure: Metric (celsius, liters, bar) uses °C, liters and bar; Imperial (fahrenheit, gallons, psi) uses °F, gallons and psi.

Time and timezone

Under System settings, NTP server sets the time server, and Timezone can be selected from the presets beside the field. The defaults are pool.ntp.org and UTC0.

Time synchronization requires a Wi-Fi or Ethernet connection with access to the selected NTP server. Changed values take effect after reconnecting to the network or restarting. Local time is used in backup and core dump filenames.

Status indicator

The indicator's GPIO is set under System settings → Status LED GPIO. It stays lit during normal operation; the following states are shown as groups of flashes:

Flashes State
2 No Wi-Fi or Ethernet connection
3 No connection to the OpenTherm Slave device
4 The Slave device reports an active fault
5 Emergency mode is active
10 short End of the state list; the cycle then repeats

There is a 5-second pause between groups. If several states apply, the indicator shows them in turn.

Logs

WebSerial is available on the Logs page. Enabled WebSerial is under System settings. VERBOSE in Log level provides a detailed trace; the usual log level can be restored afterwards.

Filter only changes which messages are displayed. Viewing logs over USB requires Enabled Serial port to be on and a connection using Serial port baud rate.

Example of the WebSerial log in the web interface

OTGateway WebSerial log

OpenTherm

Connection and link check

Choose a supported ESP32 board and an OpenTherm adapter. Connect the board's GPIOs to the adapter and its OpenTherm terminals to the Slave device.

The Master member ID under OpenTherm settings and additional options for your model can be checked against the Slave device settings.

Under OpenTherm settings, check In GPIO, Out GPIO and the parameters required by your Slave device. Check that OpenTherm connection is active on the Dashboard, then continue with heating and DHW setup.

Temperature limits reported by the Slave device

With Get min/max temp from boiler enabled under OpenTherm settings, OTGateway uses the ranges the Slave device reports for heating and DHW. For example, if you set a heating range of 25–75 °C and the Slave device supports 20–65 °C, the range is saved as 25–65 °C.

Note

Limits in the Slave device's firmware cannot be overridden through OTGateway. Even with Get min/max temp from boiler disabled and your own limits set, the boiler will not accept a setpoint outside its supported range.

Disabling a circuit

OpenTherm settings → Circuit disabling action determines what OTGateway sends to the Slave device when it disables a circuit. Heating, DHW and the second circuit (CH2) each have their own setting.

Action in the web interface Circuit enable flag Circuit setpoint
Disable circuit only Cleared Normal circuit setpoint
Set the target temperature to 0 Set 0 °C
Disable circuit and set the target temperature to 0 Cleared 0 °C

If the circulation pump stops as soon as the heating flag clears, a set flag with a zero setpoint may allow pump overrun, depending on the Slave device's capabilities.

With native OTC, the indoor target is sent separately and is not set to zero by the selected circuit disabling action. Zero in the table applies to the circuit setpoint.

OpenTherm connection status

Changing the OpenTherm input or output GPIO disconnects the current session and starts communication again. A driver failure also clears the connection status. While disconnected, the Slave device's heating, DHW, CH2 and flame indicators are inactive, and its fault and diagnostic flags and codes are cleared. This means that current status is unavailable; it does not confirm that a fault on the Slave device has been resolved. OpenTherm sensors are marked disconnected until fresh replies arrive.

Additional OpenTherm options

OpenTherm settings provides options for different Slave devices. Their effects depend on the model; known combinations are listed in the Slave device settings.

Important

In the OpenTherm standard, CH2 is the second heating circuit. DHW on a combi boiler is not the second heating circuit. Two heating circuits are uncommon on domestic boilers; manufacturers use CH2 differently, so there is no single practical behavior across models.

Option Purpose
CH2 always enabled Always sends the second circuit's (CH2) enable flag.
Duplicate heating to CH2 Also sends the heating setpoint and permission to CH2.
Duplicate DHW to CH2 Also sends the DHW setpoint and permission to CH2.
Summer/winter mode Summer/winter flag
DHW blocking DHW blocking flag
Sync max heating temp with target temp Also sends the heating setpoint as the Slave device's maximum heating temperature.
Send current indoor temp to boiler Sends the indoor sensor reading. Native OTC sends it regardless of this option.
Auto fault reset Requests a reset of an active fault if the Slave device supports the command. Not recommended: a reset does not resolve the cause of the fault.
Auto diag reset Requests a diagnostic reset if the Slave device supports the command. Not recommended: a reset does not resolve the cause of the fault.
Set date & time on boiler Sends OTGateway's date and time to the Slave device.

CH2 parameters

CH2 has three options: always enabled, duplicating heating or duplicating DHW. Enabling one automatically disables the other two.

When duplication is enabled, CH2 receives the selected circuit's setpoint and enable signal. CH2 has no separate target temperature setting.

DHW blocking flag

DHW state as DHW blocking determines how the DHW blocking flag is sent:

  • Off — the boiler always receives the value selected with DHW blocking.
  • On — the value changes with DHW permission, as shown in the table.
DHW blocking setting DHW permitted DHW disabled or blocked
Off Flag off Flag on
On Flag on Flag off

Summer/winter flag

Heating state as summer/winter mode links the flag to heating permission:

  • Off — the boiler always receives the value selected with Summer/winter mode.
  • On — permitted heating sends the selected value; disabled or blocked heating sends the opposite value.

Native OTC mode

Native OTC mode is under OpenTherm settings. Its purpose and setup are described in Native weather compensation on the Slave device.

Clone this wiki locally