FAQ
Frequently asked questions
Short answers to what people ask most. The first part is for everyone; technical questions follow further down. Each answer links to the full guide.
Getting started
What can I do with it?
See live, on your phone or computer, what your central heating is doing: flow and return temperature, whether the burner is on, the water pressure and any fault codes. You can look back in graphs and pass the information on to a smart-home system if you have one.
With version 2.0 the gateway can also control the boiler itself, as a self-learning thermostat (SAT, off until you switch it on).
Will it work with my boiler and thermostat?
Only if both support OpenTherm. Look for the OpenTherm logo in their manuals. A simple on/off thermostat sends nothing the gateway can read. The equipment list shows boilers and thermostats that other users have tried; a model that is missing can still work.
The list has boilers and heat pumps from Remeha, Intergas, Nefit, Bosch, Vaillant, Viessmann, ATAG, Baxi, De Dietrich, Ideal, Ferroli, Itho Daalderop and Daikin, and thermostats such as Honeywell (Chronotherm, Round, Lyric, Evohome), Remeha iSense, Nefit Easy, Toon, Tado, Google Nest, Netatmo and Plugwise Anna. Check the result for your exact model.
What do I need to buy?
An OpenTherm Gateway kit with a Wi-Fi module from Nodo Shop, or the new OTGW32 with the Wi-Fi on board, and a good 5 V USB adapter. Your boiler and your thermostat must both support OpenTherm.
The details per board version are under Hardware details.
Do I need internet or an account?
No. The gateway works on your own home network. Internet is only used for optional extras, such as synchronising its clock.
Do I need a smart-home system?
No. The gateway has its own web page that shows everything. A smart-home system such as Home Assistant is optional, for example if you want to combine your heating with other devices or automate things.
Can it damage my boiler or thermostat?
The gateway passes the messages between thermostat and boiler on and reads along. It changes nothing unless you, or your smart-home system, send it a command. You can always remove it and connect the thermostat directly to the boiler again.
Is it hard to install? Do I need to solder?
The kit needs some basic soldering, such as the connectors. Check the shop for the options that are currently available. Connecting it means switching off the heating and connecting two pairs of wires.
You flash the firmware once over USB with a script. After that, updates install over Wi-Fi. Not sure? Ask someone handy to help, or ask on Discord.
Installing and connecting
How do I connect the gateway?
- Switch off the heating system first.
- Connect the boiler wires to the Boiler contacts and the thermostat wires to the Therm contacts. Do not swap the two connectors.
Polarity does not matter. If your thermostat uses a separate boiler module (for example Toon), place the gateway between the boiler and that module, never between the module and its display.
How do I put the software on the gateway the first time?
Download a release and flash it over USB with flash_otgw.bat (Windows) or flash_otgw.sh (Linux, macOS). A first install erases the module, which is fine on a new unit. Later updates go over Wi-Fi.
Or install straight from your browser with the web installer (Chrome, Edge, Opera, Brave or Firefox 151 or newer, on a computer).
More: Install guide (1.x), Hardware setup and flashing (2.0)
How do I connect to Wi-Fi? Can I use 5 GHz?
On first start the gateway opens its own setup Wi-Fi network. Connect to it; a setup page opens (or browse to http://192.168.4.1). Choose your home network and enter the password.
5 GHz is not supported: the gateway only uses 2.4 GHz.
More: Configure Wi-Fi
I cannot find the web page of my gateway
- Try
http://otgw.local(or<your-hostname>.local). Not every phone or computer can find these .local names. - On Windows, also try
http://OTGW. - Look up the gateway in your router's list of connected devices and open its IP address.
How do I upgrade without losing my settings?
Upgrade over Wi-Fi from the web interface. Your settings and Wi-Fi stay. Keep a backup of your settings anyway.
1.x: first install the program file, then the file-system file. Coming from 1.3.x or older, use the opposite order and save settings.ini first.
2.0: updates go through a small fallback updater; if an update fails, the unit stays reachable. Units on an older flash layout need one USB migration first.
Using it
What do I see on the web page?
A live diagram of your heating with the flame, the water temperatures, the room and outside temperature and the water pressure; graphs of the last hours; a list of every message between thermostat and boiler; and an overview that shows whether everything is connected.
See the screenshots on the home page.
What is the self-learning thermostat (SAT)?
In version 2.0 the gateway can control your boiler itself. You set the room temperature; it works out how warm the water must be from the temperature inside and outside, and it adjusts its heating curve in small steps to how your home heats up.
It stays off until you switch it on, and becomes stable with the 2.0.0 release. The technical details are under Firmware 2.0.
Which version of the software do I need?
That depends on the Wi-Fi module on your gateway. With a Wemos D1 mini or a NodeMCU you use version 1.x, the stable version. With a LOLIN S3 Mini you use version 2.0, currently in beta; 2.0.0 will be its first stable release. The new OTGW32 also uses version 2.0. More in Which version?
Problems
The gateway sees no thermostat or no boiler
In the log, lines from the thermostat start with T and lines from the boiler with B. None of those means no OpenTherm signal arrives. Check the wiring and screw terminals, check that the boiler is on, and check the power supply.
My gateway keeps restarting
Most of the time the power supply is the cause. Try another good 5 V USB adapter and a short cable first. If it keeps happening, ask for help with a log (see the next question).
The technical checks are under Hardware details.
How do I ask for help, and which logs do you need?
Ask on Discord or open a GitHub issue. Without a log we can only guess. Send the OpenTherm log (Download button on the log page) or a capture made with the capture tool from the release, let it run until the problem happened, and say which software version you run (the web page shows it).
A capture contains your Wi-Fi name and the login details of your smart-home connection. Check it before you share it in public.
More: How to debug
For tinkerers and developers
Technical questions
The questions below are about MQTT, the REST API, the hardware versions and building the software yourself.
Home automation in detail
How do I connect the OTGW to Home Assistant?
- Install an MQTT broker, for example the Mosquitto add-on.
- In the gateway settings, fill in the broker address, user and password.
- Tick MQTT Enabled (off after a fresh install).
- Keep the auto-discovery prefix on
homeassistant.
Home Assistant then finds the gateway by itself.
Can I use the built-in OpenTherm Gateway integration of Home Assistant?
Yes. That integration talks to the gateway over TCP port 25238, which is off by default. Enable it in the settings, then add the integration with socket://<ip-of-your-otgw>:25238.
Do not use this integration and MQTT discovery at the same time: you get double entities and two systems sending commands. Choose one.
More: the OpenTherm Gateway integration in the Home Assistant documentation
Does it work with Domoticz, Homey, openHAB or Node-RED?
- Domoticz: add the hardware "MQTT Auto Discovery Client Gateway with LAN interface".
- openHAB: use the MQTT binding and accept the discovered Things.
- Homey: use the OpenTherm Gateway MQTT app.
- Node-RED: read and write the gateway's MQTT topics directly.
More: Domoticz guide, openHAB guide
How do I send a command to the OTGW?
A command looks like XX=value, for example TT=20.5 (temporary room setpoint). Send it from the command box in the web interface, over MQTT, or with the REST API. Test a command by hand before you automate it.
More: Send commands, all PIC commands
What is the difference between gateway mode and monitor mode?
Gateway mode (GW=1): the OTGW receives each message and passes it on, and can change it. Commands such as TT or CS need this mode.
Monitor mode (GW=0): the signal goes straight through; the OTGW only listens. Useful to test the wiring.
An entity does not show up in Home Assistant, or shows unknown
The gateway creates an entity only after it has seen that value on the OpenTherm bus, and it only sees what your thermostat asks the boiler. Some values take a few minutes; some never appear because your thermostat never asks for them.
Hardware details
What hardware do I need?
- An OTGW board from Nodo Shop.
- A Wi-Fi module: a Wemos D1 mini or NodeMCU (ESP8266) for firmware 1.x, or a LOLIN S3 Mini (ESP32-S3) for firmware 2.0. The new OTGW32 has the ESP32-S3 on board and runs firmware 2.0.
- A good 5 V USB power adapter and a short cable (boards v2.3 and later). Older boards need a 19 to 24 V DC adapter. A weak supply is a common cause of restarts.
- A boiler and a thermostat that both speak OpenTherm.
The OTGW with the Ethernet module (USR-TCP232) has no ESP chip, so this firmware does not run on it.
More: OTGW hardware versions
Restarts: checking the PIC and the Wi-Fi module
Try another good 5 V adapter and a short cable first. If the PIC restarts, the command PR=Q tells you why (B means brown-out: the voltage dropped). If the Wi-Fi module restarts, the debug information page shows the reboot count and the last crash.
What do the two PIC chips mean, and how do I update the PIC firmware?
The OTGW has either a PIC16F88 (gateway firmware 5.x or older) or a PIC16F1847 (gateway firmware 6.x). Flashing the Wi-Fi module does not change the PIC. You update the PIC from the web interface under Advanced > PIC firmware.
Do not flash the PIC with OTmonitor over the network: it can leave the PIC unusable.
More: PIC firmware, PIC changelog
Firmware 2.0
What is new in 2.0?
A new platform (ESP32-S3) with a new web interface, safe updates over Wi-Fi through a fallback updater, Bluetooth room sensors, a diagnostics capture tool, reverse proxy and Home Assistant sidebar support, and the SAT heating controller. 2.0 is licensed under the GNU GPLv3.
More: release notes
How do I move from 1.x to 2.0?
Swap the Wemos D1 mini (ESP8266) for a LOLIN S3 Mini (ESP32-S3). It is a drop-in on the same OTGW board with the same PIC. Flash 2.0 over USB the first time.
2.0 changes MQTT topics, REST fields and settings. Check your automations, Node-RED flows and scripts against the breaking changes in the release notes before you switch.
What is SAT?
SAT (Smart Autotune Thermostat) is a heating controller that runs on the gateway itself, a port of the SAT Home Assistant integration. George Ntellas designed the SAT algorithm; Alex (Alexwijn) developed the original Home Assistant component. It combines a weather-compensated heating curve with a PID controller to set the boiler flow temperature.
SAT is opt-in and off by default; it becomes stable with the 2.0.0 release. When you enable it, it takes over the control setpoint of your boiler. Without SAT the gateway is a transparent OpenTherm gateway, as in 1.x.
SAT tunes its heating curve itself: it tracks how much the controller adds on top of the curve and changes the curve in steps of 0.05, at most once every 12 counted heating hours.
Developers
Where is the REST API?
Under /api/v2/, for example curl http://otgw.local/api/v2/device/info. The older /api/v0 and /api/v1 were removed and answer with HTTP 410.
More: API reference
Can I build the firmware myself?
Yes. Clone the repository with its submodules and use the build script in the repository root.
How can I contribute?
Report bugs with a log, test beta releases, improve the documentation or the wiki, or send a pull request. Say hello on Discord first if you plan something bigger.
Your question is not here? Ask it on Discord or read the full FAQ in the wiki.