1. Install in 5 minutes
Check your prerequisites, place your room sensor properly, and set up your first room in 5-minute quickstart.

Better Thermostat is a free, open-source custom integration for Home Assistant, installed through HACS. It wraps one or more smart radiator valves (TRVs) and a separate room temperature sensor into one virtual climate entity and keeps correcting the valves so that the room, not the radiator, reaches your target temperature.
Every smart radiator thermostat (TRV) has the same physical flaw: its built-in thermometer sits millimeters away from a 55–70 °C hot water pipe.
Within minutes of opening the valve, trapped heat around the radiator makes the TRV read 23 °C and throttle back—even though your sofa in the middle of the room is still 19 °C. Behind curtains, covers, or furniture, the heat pocket is even worse and the room never reaches your target temperature.
Better Thermostat fixes this by wrapping your radiator valves and a separate room temperature sensor into one virtual climate entity in Home Assistant.
The TRV thinks the room is warm, closes the valve, and the room never reaches your target.
Better Thermostatclimate.living_roomThe radiator keeps heating until the sofa reaches 21 °C — not the valve.
Commercial smart-heating ecosystems like Bosch Smart Home or tado° solve the radiator sensor problem only if you buy their expensive proprietary wireless room thermostats (50–80 € per room), stay locked inside a single manufacturer’s bridge, and—in ecosystems like tado°—pay for a monthly or yearly subscription just to unlock automatic open-window shutoff or presence automation.
With Better Thermostat, you get the same—or an even more powerful—feature set completely free, 100 % local (where your devices and integrations run locally—tado° setups, for example, rely on tado°’s internet API), and with zero subscriptions:
10 € Zigbee/Bluetooth room thermometers and window contacts (Aqara, Sonoff, Shelly, IKEA, ESPHome, KNX, etc.) with any TRV in Home Assistant—whether that’s a 25 € Sonoff TRVZB, Shelly BLU TRV, Eurotronic, Danfoss, HomematicIP, Z-Wave, or your existing Bosch and tado° valves.| Category | Built-in Functions & Features |
|---|---|
| Universal Hardware & Sensor Freedom | • Combine any Home Assistant climate TRV (Zigbee2MQTT, ZHA, Shelly, HomematicIP/OpenCCU, Z-Wave JS, Matter, deCONZ, tado°) with any sensor.* room thermometer• Mix different TRV brands inside the same home—or even inside the same room • 15+ built-in hardware quirks ( TRVZB, TRV-ZBT, SRTS-A01, 014G2461, SBTR-001AEU, SPZB0001, ZWA021, COZB0001, SHTRV-01, SEA801/802, BTH-RM, ME167, TS0601, TV02-Zigbee, BHT-002-GCLZB, TermoWeb Heater) |
3 Hardware Control Channels (Calibration type) |
• Direct Valve Based (0–100 %): Positions the stepper motor directly on supported TRVs (Sonoff TRVZB, Shelly BLU TRV, Eurotronic Spirit Zigbee/Z-Wave, Danfoss/Popp/Hive)• Offset Based: Shifts the TRV’s local offset (number.*, select.*, or Z-Wave JS 0.1 °C config parameters) so the radiator screen still shows your real room setpoint• Target Temperature Based: Shifts the TRV setpoint dynamically—works on every TRV that exposes a target temperature or range and never hits narrow ±2.5–5 °C firmware offset limits behind curtains or sofas• External room-temperature mirroring: Automatically writes your live room sensor reading into supported TRVs ( TRVZB, TRV-ZBT, SRTS-A01, Danfoss Ally, Shelly BLU TRV) |
8 Control Algorithms (Calibration mode) |
• (AI) Time Based (Default): Learns your room’s actual heating speed (Heating Power) and cooling speed (Heat Loss) locally• TPI Controller: Holds a smooth proportional valve opening from indoor + outdoor temperature gaps with zero learning wait and minimal motor wear• (AI) MPC v2: Kalman state observer + quadratic-program predictive braking for direct-valve TRVs (Auto, Small, Medium, Large room models)• PID Controller: P+I+D control with per-target PID Auto Tune (switch) and live Kp / Ki / Kd sliders• Aggressive: Immediate +2.5 °C boost for slow, drafty rooms• External Sensor Offset Only: Pure 1:1 sensor bias correction while keeping the TRV’s own internal controller• MPC Predictive (Beta) & No Calibration |
| Multi-Radiator Grouping & Hydraulic Balancing | • Synchronizes 2, 3, or more TRVs in one room under a single climate entity• Virtual hydraulic balancing: Per-TRV Valve Max Opening (1–100 %) sliders to throttle oversized radiators• Cold-corner split: Optional Split the valve opening by each TRV's own temperature gives colder TRVs in multi-radiator MPC/MPC v2 rooms +8 % extra valve opening per °C |
Combined Heating & AC Cooling (heat_cool) |
• Attach an optional cooling device (climate.*) (split AC, heat pump) to the same room• Automatic coordination prevents heating and cooling from fighting each other • Switches presets to dual Min (heating) and Max (cooling) sliders + 4-minute compressor anti-short-cycling guard |
| Window & Separate Door Pause | • Connect any Window and Door contact sensors (binary_sensor.* or groups) with no subscription required• Independent open and close debounce delays (e.g. 2 min for windows, 5 min for interior doors so walking through never cycles valve motors) • Live Window Detection switch to pause/resume contact detection anytime |
| 24-Hour Damped Summer Mode | • Automatic warm-weather shutdown using a local Outdoor temperature sensor or Weather entity• 24-hour exponential smoothing (seeded from up to 3 days of HA Recorder history) + 1.0 °C (1.8 °F) hysteresis so sunny afternoon spikes or cool mornings don’t flip heating erratically• Live Outdoor Temperature Threshold slider on the device page |
| 7 Live Presets & Comfort Controls | • Selectable Presets: Eco, Comfort, Sleep, Away, Home, Activity, and Boost (opens direct valves to Valve Max Opening)• Every enabled preset creates its own live number slider in Home Assistant—change preset temperatures anytime without reconfiguring• Live Tolerance (0.0–2.0 °C) slider to stop valve hunting + Overheating protection? (8× closing push) |
| Manual Knob Sync, Child Lock & Valve Care | • Bidirectional manual sync: Turning a physical radiator knob updates Better Thermostat’s target (and turning all TRVs down to min_temp can switch BT off)• Per-TRV Child Lock switch: Blocks manual changes on the radiator and syncs with the TRV’s native hardware child-lock entity• Pause Learning & Release devices switches: Freeze adaptation while a fireplace burns or release TRVs for manual bleeding• Automatic Valve Maintenance ( better_thermostat.run_valve_maintenance): Exercises valve pins periodically so they never seize over summer |
| Battery Protection, Fail-Soft Safety & Blueprints | • Radio write throttling: Spaces routine writes 30 s apart (10 min for HomematicIP duty-cycle protection) to maximize battery life • 3-stage fail-soft degradation: Steps down gracefully ( optimal → sensor_fallback → hold) if sensors drop offline; dead window/door batteries count as closed so rooms never freeze• 9 ready-made Automation Blueprints: 4-slot Weekly Heating Schedule, Night Mode, Presence Away, Heating-Start Notification, High Humidity Alert, Low Battery Alert, Device Error & Target-Reached Alerts, Pause Learning (heat source), and Pause Learning (fireplace) • 50-cycle deterministic flight recorder in Home Assistant Diagnostics + automatic Entity Registry rename migration |
Once a room is set up, all dashboards, schedules, automations, and voice assistants control only the Better Thermostat entity—never the physical TRVs directly.
If someone turns the physical knob on a radiator by hand, Better Thermostat detects that manual change and adopts the new target temperature automatically (unless you turn on the Child Lock switch).
Better Thermostat separates HOW a room reaches and holds its temperature from WHEN you want that temperature scheduled:
| What Better Thermostat DOES (“HOW to heat”) | What it intentionally DOES NOT DO (“WHEN to heat”) |
|---|---|
| True room-center control: Continuously corrects your TRV using its calibration offset, target setpoint, or direct 0–100 % valve position. | No built-in timetable: Presets (Comfort, Eco, Sleep, Away) hold temperatures, not clock times. Use the bundled Weekly Heating Schedule blueprint, HA Schedule helpers, or Advanced Heating Control. |
| Multi-radiator grouping: Drives 2, 3, or more TRVs in one large room as a single synchronized thermostat. | Does not switch your central boiler / heat pump directly: If your boiler needs a demand signal, add a small automation watching hvac_action == 'heating' (guide). |
| 8 control algorithms: From zero-tuning TPI and self-learning (AI) Time Based to PID and physics-based (AI) MPC v2 for direct-valve TRVs. | Cannot run without a separate room sensor: A standalone room temperature sensor away from the radiator is mandatory. |
| Automatic energy guards: Debounced window & door pause, 24h-damped Summer Mode outdoor cutoff, and coordinated AC cooling without heating/cooling fights. | Does not replace Zigbee / Z-Wave integrations: Pair your hardware first in Zigbee2MQTT, ZHA, Shelly, HomematicIP, Z-Wave JS, tado°, or deCONZ—Better Thermostat wraps the entities they expose. |
Fail-soft & battery-safe: Spaces radio writes to save TRV batteries and steps down safely (optimal → sensor_fallback → hold) if a room sensor battery dies. |
Does not regulate by humidity: Humidity is displayed on the entity and triggers ventilation/alert blueprints, without altering target temperatures. |
sensor_fallback) instead of leaving the room uncontrolled, and surfaces a self-clearing Home Assistant Repair warning (Degraded mode). Offline window or door sensors count as closed so dead batteries never freeze a room.(AI) MPC v2 for Direct-Valve TRVs: New Kalman-observer + quadratic-program predictive controller built specifically for direct-valve TRVs (such as Sonoff TRVZB, Shelly BLU TRV, and Eurotronic Spirit) to anticipate thermal inertia and prevent overshoot.1.0 °C (1.8 °F) hysteresis margin so cool mornings or sunny sensor spikes no longer flip heating on and off erratically (Summer mode explained).Already running version 1.9? Read Upgrading from 1.9 to 2.0.
1. Install in 5 minutes
Check your prerequisites, place your room sensor properly, and set up your first room in 5-minute quickstart.
2. Understand types & algorithms
Finally understand the difference between Calibration type (how BT talks to your TRV) and Calibration mode (the 8 control brains) with concrete numbers in Calibration types & algorithms.
3. Find your room's ideal settings
Answer 6 quick questions about your room and TRV in the Interactive Configurator or grab proven profiles in Recommended settings.
4. Check hardware & Zigbee tips
Compare Zigbee2MQTT vs. ZHA, Direct Valve support, Shelly BLU TRV, and built-in model quirks in Supported devices and Recommended TRVs.
5. Add schedules & boiler control
Import one-click Automation Blueprints & schedules or connect a central wall thermostat / gas boiler in Central heating & boiler control.
6. Fix a misbehaving room
Radiator staying cold, overheating, or showing 30 °C on the display? Check the symptom-by-symptom table in Troubleshooting & FAQ or Support the project.