Somewhere around week two, you walk in from work and the house is already warm. You didn't set anything. You didn't open an app. It just knew.

Not magic. Not a lucky guess.

Smart thermostats learn household patterns through a process that's genuinely interesting once you strip away the marketing gloss, and understanding it tells you something useful about what these devices can and can't actually do.

What the thermostat is actually watching

Every time you nudge the temperature up at 7 a.m. or turn the heat down before bed, the device logs it. Not just the action, but the timestamp, the day of week, the current indoor temperature, and often the outdoor temperature pulled from a weather feed. Repeat that behaviour across ten or twelve days and a pattern starts to climb out of the noise.

The core method is surprisingly low-tech at the statistical level: weighted averaging with recency bias. Actions you took yesterday count for greater weight than actions you took three weeks ago. A Nest thermostat typically needs about a week of manual adjustments before it starts making autonomous decisions, and its confidence in those decisions grows over roughly thirty days of observation. It isn't running a neural network that rivals anything in a data centre. It's closer to a very attentive assistant who keeps meticulous notes, one who notices you always ask for oat milk but never actually writes it on a list.

Presence detection layers on top of that. Most learning thermostats use a passive infrared sensor, identical in principle to motion-activated lights, to detect whether anyone is moving through the house. Some also use your phone's GPS location through a companion app, creating a geofence, typically set to around half a mile, so the system knows you've left the neighbourhood before you've even turned onto the main road. When both sensors agree nobody's home, the device shifts into eco mode, usually pulling back three to four degrees from your preferred temperature, and starts calculating your average return time based on historical data.

Consider two neighbours: Marcus and Priya, who both bought identical thermostat models on launch day. Marcus works nine-to-five with a rigid commute. After two weeks, his thermostat had confidently mapped a schedule and was pre-heating by 5:45 p.m. every weekday. Priya works shifts that rotate weekly. Her device took closer to six weeks to settle, and even then it leaned heavily on geofencing rather than time-of-day prediction, because no reliable time pattern existed to find. Identical hardware, wildly different learning curves.

What people get badly wrong about this

A widespread misconception is that these thermostats learn your preferences. They mostly learn your behaviour, which is a different thing entirely, and that distinction matters far beyond what the industry likes to admit.

If you always crank the heat to 74°F when you get home because the house is cold, the thermostat will learn to pre-heat to 74°F. It has no way of knowing you'd actually be perfectly comfortable at 70°F if the house were already warm on arrival. It's optimising for what you did, not what you wanted. This is why some people end up with a device that's technically performing perfectly and still leaves them vaguely dissatisfied.

There's also a seasonal blindspot worth knowing about. The learning model recalibrates slowly. A household that shifts to working from home every summer will confuse a system that spent eight months learning a commuter pattern. The device will adapt, but it takes weeks rather than days, and during that window it can make some genuinely odd decisions: running heat cycles mid-afternoon on days when everyone's already home.

One detail that often gets glossed over: geofencing only works reliably if everyone in the household has the app installed and location permissions enabled. A partner who declines location tracking effectively becomes invisible to the system, and the thermostat may decide the house is empty when it isn't. Worth auditing your household's app settings before concluding anything is broken.

The honest verdict: smart thermostats genuinely do reduce energy use, with studies consistently landing in the ten to fifteen percent savings range for homes that had no prior programmable thermostat. But they earn that by being good pattern-matchers, not by being perceptive. The technology is less artificial intelligence and closer to obsessive record-keeping. Feed it a consistent life and it will reward you. Live unpredictably and you'll spend far longer correcting it than it will ever spend learning from you.