Abstract
OTGateway is an open-source Internet of Things (IoT) project. OTGateway is a powerful open-source solution for controlling OpenTherm-compatible boilers, turning your heating system into a smart one. Set the perfect temperature, save on energy bills, and eliminate unnecessary hassle — integration with Home Assistant makes heating management simple and automated. It is built using C++, ESP8266, MQTT. Key capabilities include: DHW temperature control; Heating temperature control; Smart heating temperature control modes:. The complete source code is publicly available on GitHub under the GNU General Public License v3.0, making it a useful reference for students building an Internet of Things (IoT) mini project or final-year project.
1. Introduction
OTGateway is a powerful open-source solution for controlling OpenTherm-compatible boilers, turning your heating system into a smart one. Set the perfect temperature, save on energy bills, and eliminate unnecessary hassle — integration with Home Assistant makes heating management simple and automated.
2. Objective
OTGateway is a powerful open-source solution for controlling OpenTherm-compatible boilers, turning your heating system into a smart one. Set the perfect temperature, save on energy bills, and eliminate unnecessary hassle — integration with Home Assistant makes heating management simple and automated.
This project demonstrates how C++, ESP8266, MQTT can be applied to a real-world Internet of Things (IoT) problem.
3. Key Features / Modules
- DHW temperature control
- Heating temperature control
- Smart heating temperature control modes:
- Equithermic curves - adjusts the temperature based on indoor and outdoor temperatures
- Hysteresis setting _(for accurate maintenance of room temperature)_
- Ability to connect additional (external) sensors: Dallas (1-wire), NTC 10k, Bluetooth (BLE). Makes it possible to monitor indoor and outdoor temperatures, temperatures on pipes/heat exchangers/etc.
- Emergency mode. In any dangerous situation _(loss of connection with Wifi, MQTT, sensors, etc)_ it will not let you and your home freeze.
- Ability of remote fault reset _(not with all boilers)_
- Diagnostics:
- Displaying gateway status
4. Technology Stack
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Arduino IDE / PlatformIO or a C++ compiler (g++)
- Target board (e.g. Arduino, ESP32) where applicable
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/Laxilef/OTGateway.git
cd OTGatewayFull setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Add a mobile dashboard using Blynk or Firebase
- Store readings in a cloud database for history charts
- Add alerts via SMS / Telegram when thresholds are crossed
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- Which microcontroller / board and sensors are used and why?
- How does the device send data (Wi-Fi, MQTT, HTTP, Bluetooth)?
- Where is the sensor data stored and visualised?
- How is power consumption managed?
- How would you secure the device and its communication?
9. Source Code & License
This project is developed by Laxilef and published on GitHub under the GNU General Public License v3.0. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on an Internet of Things (IoT) project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Internet of Things (IoT) Internship