Your home’s boiler room is the most ignored yet most energy-hungry space on your property. While we obsess over smart thermostats in the living room, the actual source of heat — the boiler, pumps, mixing valves, and expansion tanks — remains a black box until something breaks. A recent article on Habr titled “Моя котельная” (“My Boiler Room”) describes how one developer decided to glue this black box to a modern smart home platform, with sensors on every pipe and a phone screen that shows exactly what is happening in the heat source.
The article is part of a larger trend: by 2026, a boiler room is no longer just a room with a cast-iron heater. It is a small data center. Temperature sensors, pressure gauges, gas leak detectors, pump frequency drives, and weather-compensated controllers generate an enormous amount of useful telemetry. The Habr author share how they turned an ordinary boiler setup into a transparent, automated system using off-the-shelf controllers, open-source software, and a few clever tricks. This topic deserves a deep dive, especially for engineers and smart home enthusiasts who want to apply the same ideas to their own homes.
In this guide, based on the Habr news and general best practices, we’ll break down the architecture of a modern smart boiler room. You’ll learn which sensors matter, how to collect data reliably, how to avoid false alarms, and how to make your heating system respond to weather changes automatically. We’ll also look at safety, remote notifications, and the trade-offs between simplicity and full automation.
Why Your Boiler Room Deserves a Sensor Network
A boiler room is where failures are expensive. A leaking heat exchanger, a jammed pump, or a gas valve that doesn’t close completely can lead to damage that costs thousands of dollars and weeks of cold showers. Most homeowners only discover problems when the indoor temperature starts dropping. By the time you notice, the small issue has often escalated.
Sensors change that. With a few cheap modules, you can detect:
- a gradual drop in coolant pressure (micro-leak),
- an unexpected rise in return water temperature (pump issue or closed valve),
- a gas leak before it reaches dangerous concentrations,
- the boiler flame flickering or extinguishing unexpectedly,
- condensate pipe blockages and backpressure.
In the Habr article, the author describes a scenario where a pressure sensor caught a slow leak in a heat exchanger. The classic system had no diagnostics, and the homeowner would have discovered the problem only after the boiler shut down permanently. With the sensor network, the system sent an alert on the second day of the leak — enough time to call a technician and avoid a full replacement.
Core Components: What You Need for a Smart Boiler Room
The basis of any smart boiler room is a set of sensors and a controller that collects and processes their readings. Let’s look at the most important components used in the Habr project and recommended for modern installations.
| Component | Typical Readings | Why It Matters |
|---|---|---|
| NTC thermistors (water temperature) | 0–100°C | Detect flow and return temperature differences, freeze risk, overheat |
| Pressure transducer | 0–6 bar | Track coolant pressure, detect leaks or overpressure |
| Gas leak sensor (Methane/LPG) | ppm concentration | Safety — triggers valve closure and alarm |
| Humidity sensor | RH% | Identify condensation, flooding, or pipe sweating |
| Current / power monitor | Amps, kWh | Check pump health, detect pump lock or belt slip |
| Flame presence sensor | On/Off | Confirm burner operation and detect flame failure |
Most home automation installs use Ethernet-connected controllers like ESP32 modules running ESPHome or Tasmota. These are reliable, cheap, and natively integrate with MQTT, which then hands the data to a central hub such as Home Assistant. The Habr article highly recommends separating the safety layer from the automation layer: let a physical thermostat and gas valve serve as a last line of defense, while the smart controller only optimizes and reports.
Data Collection Architecture
The key to a maintainable smart boiler room is a clean data path. A typical architecture looks like this:
- Sensors — communicate with a controller over 1-Wire, I2C, or analog inputs.
- Controller — reads sensors and publishes readings to a local MQTT broker.
- Broker — e.g., Mosquitto, runs on a small server or Raspberry Pi.
- Home Assistant — subscribes to MQTT topics, stores history, creates dashboards, and triggers automations.
- Alerting — pushes notifications to a smartphone via Telegram, or turns on a siren.
When properly configured, this stack can run for years without intervention. The Habr author notes that they initially used separate hardware for each measurement type, but later unified everything around an ESP32 with a custom PCB. This made the wiring easier and reduced the chance of loose connections, which are one of the top causes of sensor reading errors.
ESPHome Example: Reading Two Water Temperatures
Firmware such as ESPHome makes the configuration text-based. A minimal config for two temperature sensors and one pressure sensor looks like this:
sensor:
- platform: dallas_temp
address: "0x1c000003f8e2"
name: "Boiler Flow"
unit_of_measurement: "°C"
- platform: dallas_temp
address: "0x1c000003f8a0"
name: "Boiler Return"
unit_of_measurement: "°C"
- platform: adc
pin: GPIO34
name: "Coolant Pressure"
unit_of_measurement: "bar"
filters:
- multiply: 0.6
This configuration, after uploading to an ESP32, immediately creates three sensors in Home Assistant. You can add them to a dashboard and see the temperature delta between flow and return. A delta that is too high usually indicates a clogged heat exchanger or closed balancing valves; a delta close to zero may mean the pump is not pushing enough water.
Home Assistant Automation: Emergency Alert
Automation is where the real value appears. For example, to detect a pressure drop that could signal a gas boiler’s leak, you can create a simple rule:
alias: "Boiler Pressure Drop"
trigger:
- platform: numeric_state
entity_id: sensor.coolant_pressure
below: 0.8
for: "00:01:00"
action:
- service: notify.telegram
data:
message: "WARNING: Boiler pressure has dropped below 0.8 bar. Check for leaks!"
The Habr article emphasizes that alert thresholds should be chosen after two weeks of continuous observation, not from the manual. The system’s normal pressure depends on the height of the building, water mixing valves, and expansion tank settings. A threshold that works for one house may cause daily false alarms in another.
Remote Control and Notifications: Telegram as a Practical Tool
One of the most appreciated features of the smart boiler room is remote monitoring and notifications. In the described project, the author integrated Telegram to receive messages about alarms, daily summaries, and periodic health checks. This is a natural fit: Telegram bots work on any smartphone, have no additional apps, and allow bidirectional communication if you want to change the heating mode remotely.
Setting up a Telegram bot for a boiler room is straightforward. You need to:
- Create a bot via @BotFather and get an API token.
- Get your chat ID by sending a message to the bot and calling
getUpdates. - Add the token and chat ID to Home Assistant’s
configuration.yamlunder the notifications section.
A simple YAML snippet:
notify:
- name: telegram_boiler
platform: telegram
chat_id: 123456789
Now you can call notify.telegram_boiler from any automation. The author also describes a daily “heartbeat” message that includes current temperatures, pressure, and the status of the boiler. If the heartbeat doesn’t arrive, you know the controller is offline or has lost power.
For those building a broader smart home ecosystem, the same Telegram connection can be used for multiple scenarios beyond heating. ASI Biont supports connecting to Telegram via API — learn more at asibiont.com/courses. This gives you a foundation for a digital home assistant that aggregates data from the boiler room and other systems.
Efficiency: Making the Boiler Match the Weather
A basic thermostat turns the boiler on and off based on the air temperature inside the house. That’s a reactive and inefficient approach because the building has thermal inertia. Modern boiler rooms use climate-adaptive control, commonly called weather compensation.
Weather compensation calculates the desired flow water temperature based on the outdoor temperature. When it’s -10°C outside, the system pumps 70°C water; when it’s +5°C, it may need only 40°C. This is not just about comfort; it’s also about condensing boiler efficiency. Condensing boilers achieve their highest efficiency when the return water temperature is below 55°C, allowing water vapor in the exhaust to condense and release latent heat.
The Habr author demonstrated how they implemented this using a simple outdoor temperature sensor and an ESP32-controller that adjusts a three-way mixing valve via PWM or a servomotor. In a table from their project, they compared the temperature curves:
| Outdoor temp | Flow target | Return target | Boiler efficiency (theoretical) |
|---|---|---|---|
| -20°C | 75°C | 60°C | 91% |
| 0°C | 55°C | 45°C | 97% |
| +10°C | 38°C | 32°C | 104% (condensing) |
This is just a generic example. In practice, the optimal curve depends on your radiator or underfloor heating type. Poorly designed brass mixing valves can create instabilities, so the project used a motorized ball valve with a limit switch and a simple PID controller written in microPython.
A Simple PID Loop for the Mixing Valve
For those who like to experiment, a simplified PID control loop for the water flow temperature can be implemented on the ESP32:
from simple_pid import PID
pid = PID(Kp=0.5, Ki=0.02, Kd=0.1, setpoint=target_temp)
pid.output_limits = (0, 100) # valve opening percentage
while True:
current_temp = read_flow_sensor()
control = pid(current_temp)
set_valve_position(control)
time.sleep(2)
This code is not production-ready without tuning, but it shows the principle. The Habr article warns that a PID alone won’t protect against extreme freeze conditions. A separate fail-safe must always keep a minimum circulation flow, even if the temperature difference is tiny.
Safety: Where Automation Must Not Override Common Sense
A boiler room is a potentially dangerous place: gas fuel, combustible materials, and high water temperatures. Automated control should never become a safety hazard. In the discussed setup, the safety concept is layered:
- Layer 1: Mechanical relief valves and expansion tank — they work without electricity.
- Layer 2: Boiler’s built-in safety thermostat and gas valve lockout — the boiler itself will shut down if the water temperature exceeds its limit.
- Layer 3: Independent external monitoring — the smart system watches the same readings, but it cannot physically disable the boiler’s safety controls.
- Layer 4: Network isolation — the boiler room controller is on a separate VLAN or physical LAN, preventing a hack from affecting the heating.
The Habr project team even added a manual bypass switch to drive the pump directly from the wall outlet if the controller fails. This switch is one of the simplest and most valuable elements in the entire system. In many cases, the ability to switch to “dumb mode” prevents an emergency during firmware updates or network failures.
Another important detail is the gas leak detector placement. Sensors must be placed according to gas density: natural gas (methane) accumulates near the ceiling, while propane (LPG) sinks to the floor. A single detector mounted randomly may give false security. In the article, the author used two detectors — one on the ceiling and one near the floor — and connected them directly to a solenoid gas valve. That’s a wise approach, but local regulations often require installation by licensed professionals. Always check what is allowed in your jurisdiction.
Maintenance and Long-Term Reliability
A sensor network in a boiler room needs regular care, just like the boiler itself. The Habr article lists several practices:
- Clean sensors every six months. Dust and soot on a thermistor can make readings drift 2–3°C.
- Check screw terminals twice a year. Micro-vibrations from pumps loosen connections.
- Calibrate pressure sensors annually. A cheap analogue pressure gauge is a good reference.
- Use waterproof connectors near the boiler. Accidental condensation and drips are common.
- Log all readings to a time-series database. InfluxDB or SQLite helps you recreate what happened when a problem occurred.
For the data storage, the author used a low-power Raspberry Pi 4 running Home Assistant and Mosquitto. The database retains two years of history, which proved useful when a technician asked for information about the boiler’s cycling frequency during the previous winter. The graph clearly showed short cycling every five minutes, leading to a $300 replacement of a defective pump.
This is the real power of a smart boiler room — not just remote on/off, but the ability to understand the long-term health of your heating system.
DIY vs. Commercial Solutions
By 2026, there are several commercial boiler room controllers on the market (e.g., Siemens, Honeywell, Wemos). They offer robust control, but they are usually closed and hard to integrate with a broader smart home. The DIY approach with open-source tools gives flexibility and transparency, but it requires ongoing maintenance. The Habr article’s author is clearly on the DIY side, and they admit that after a year, the system has reached “99.9% uptime” — but not without debugging sessions.
If you are a beginner, you don’t have to build the whole system at once. Start with a simple temperature sensor on the return pipe and a Telegram alert when the house temperature drops unexpectedly. That one step can already prevent a frozen pipe catastrophe. Then add pressure monitoring and only after that — the mixing valve actuation.
For an even faster start, pre-built evaluation kits like ESPHome’s Boiler Plate or Home Assistant Blue are widely available. They work out of the box with MQTT and can be configured in an afternoon.
Conclusion
The boiler room is the last frontier of smart home automation. While most products focus on comfort in the living spaces, the real efficiency and safety are decided in that small, vents-and-pipes filled closet. The Habr article “Моя котельная” demonstrates that a thoughtful combination of cheap sensors, open-source software, and a reliable network can turn an opaque heating system into a predictable and remotely managed infrastructure.
The key lessons are universal: start with data collection, focus on safety, and build in manual overrides. Whether you heat a cottage or a small workshop, the principles of modern boiler room design remain the same. Monitor, analyze, and only then automate. That approach will save you money, headaches, and maybe your entire house.
Source: Habr article “Моя котельная”
Comments