OTGateway firmware
OTGateway is a third-party OpenTherm controller by Laxilef that runs on the ESP32-C6 microcontroller in the THRM ONE. Installing it replaces the THRM ONE's ESPHome firmware and turns the device into a standalone OpenTherm gateway that you configure in a browser, without Home Assistant.
This firmware is not supported by elvinhome. It is a popular third-party firmware maintained by a different author. We have verified it to work on the THRM ONE at the time of release, but we do not continually test and verify updates.
For a supported device, use the ESPHome firmware described in the setup guide.
Which build to use
Flash the ESP32 C6 (Ethernet) build. It is the only OTGateway build that has both the ESP32-C6 target and the W5500 Ethernet support the THRM ONE needs.
- Web flasher: flasher.otgw.app — select Version Unstable, then Board ESP32 C6 (Ethernet).
- Release page: OTGateway — Unstable release.
- Upstream documentation: OTGateway wiki.
The images in that release are named for the board's build environment, esp32_c6_ethernet. The web flasher writes both for you; the addresses matter only if you flash over USB with Espressif's Flash Download Tool.
File | Address | Purpose |
|---|---|---|
|
| Firmware, including the bootloader and partition table. Used for the first installation. |
|
| The web interface and filesystem. |
Both images are required, and both have to come from the same release. This build's flash layout fills the board's 4 MB exactly, so it is the correct image set for the THRM ONE's ESP32-C6.
Flash it

- Connect the THRM ONE to your computer with a USB-C cable. That port carries power, so no other supply is needed.
- Open the OTGateway web flasher in Chrome or Edge, which support Web Serial.
- Select Version Unstable, then Board ESP32 C6 (Ethernet).
- Click Connect, choose the board's serial port in the browser dialog, then click Flash and wait for the write to finish.
- Restart the device once flashing completes.
This replaces the THRM ONE's ESPHome firmware, including its saved Wi-Fi credentials and its pairing with Home Assistant. To go back to the supported firmware, reflash the ESPHome factory image for your THRM ONE: its factory image carries its own bootloader and partition table, so there is nothing to undo in OTGateway first. Make a note of your Wi-Fi details and your Home Assistant setup before you start.
Configure over Wi-Fi
Ethernet cannot be used for the first configuration as the Ethernet port is not configured out of the box. OTGateway cannot bring Ethernet up until it knows which GPIO are used by the W5500 chip, so the initial setup must be done through the device's own access point.
- On first boot the device raises a Wi-Fi access point.
- Join that access point from a phone or laptop, and open
http://192.168.4.1. - Under Network settings → Wi-Fi, choose your home network from the scan results, or enter its SSID and password. Leave Channel at
0for automatic selection, then save. The device starts connecting immediately. - Reconnect your computer to your home network, and open the address your router assigned to the device.
Keep the Wi-Fi details configured after you move to Ethernet. The device returns to them if the wired link goes away, as described further down.
Configure the GPIOs
Two blocks have to be set before the device does anything useful. The values below are the THRM ONE pinout.
OpenTherm
Under OpenTherm settings, set the two bus pins.
Setting | GPIO | THRM ONE signal |
|---|---|---|
In GPIO |
| OpenTherm receive |
Out GPIO |
| OpenTherm transmit |
Ethernet
Under Network settings → Ethernet, enter all six W5500 pins. The firmware has no defaults for them, and Ethernet will not start until every one is filled in.
Field | GPIO | THRM ONE signal |
|---|---|---|
SPI clock GPIO |
| W5500 SCK / CLK |
SPI MOSI GPIO |
| W5500 MOSI |
SPI MISO GPIO |
| W5500 MISO |
SPI CS GPIO |
| W5500 chip select |
Interrupt GPIO |
| W5500 INT |
Reset GPIO |
| W5500 reset |
Optional
- Status LED, GPIO1. The red LED on the front of the device. It is driven high to light.
- Room temperature, GPIO4. A 10 k NTC (B 3950) against a 10 k pull-up, read on the ADC. Enter it as an NTC sensor under Sensors settings, with 10 k nominal, 10 k reference resistance and a 3950 beta factor, then check the reading against a known temperature.
Check the OpenTherm connection
Open the Dashboard and confirm that OpenTherm connection is active and that the boiler's own readings appear. If it stays inactive, recheck the two OpenTherm pins against the table above, since that pair is the easiest one to swap by mistake.
Switch the connection over to Ethernet
Do this last, while the device is still reachable over Wi-Fi.
- Save the six W5500 pins under Network settings → Ethernet.
- Plug an Ethernet cable into the THRM ONE, and into your switch or router.
- Under Network settings, select Ethernet as the connection method and save. The device reconnects after about five seconds, on the address the wired interface was given.
- On the main page, check that Connection reads Ethernet. The Wi-Fi SSID and signal rows are hidden in this mode.
While Ethernet is active, the Wi-Fi radio is switched off. If the wired link fails, the device falls back to WiFi, if configured. If it can't connect, it starts it own access point.
Differences from the ESPHome firmware
- No Thread/Zigbee. OTGateway supports WiFi and Ethernet only.
- No native ESPHome entities. OTGateway speaks its own REST API and MQTT, and can publish Home Assistant entities over MQTT. Those are not the ESPHome entities the THRM ONE publishes, so automations and dashboards built around the ESPHome configuration do not carry over.
- Heating control is configured on-device. Setpoints, weather compensation, sensors and integrations live in OTGateway's web interface, not in the THRM ONE's YAML configuration or Home Assistant.
- The IP address changes. The Ethernet interface has its own MAC address, so a DHCP reservation made for the Wi-Fi module does not apply to it.
Further reading: