Build a Smart Wine Cellar With Temperature Sensors and Alerts

A $15 sensor and a free Home Assistant automation can protect a wine collection worth thousands. Most people who ruin wine at home do it slowly, one warm summer or one dry winter at a time, without ever knowing it happened.

smart home automation basics

I set up my own cellar monitoring after losing two bottles of Burgundy to a cooler that failed quietly over a long weekend. The compressor was running but not cooling properly, temperature crept from 55F to 72F over about 36 hours. Nothing visible. No alarm. Just ruined wine discovered at the next dinner party. That's the kind of problem a $15 Bluetooth sensor and a 10-minute Home Assistant automation would have caught on hour two.

Why Does Wine Cellar Temperature Matter So Much?

Wine oxidizes faster at high temperatures. According to Wine Spectator's storage guidelines, every 18F increase in storage temperature roughly doubles the rate of chemical aging reactions. The ideal long-term storage temperature is 55F (13C), with an acceptable window of 50-65F. Above 70F, damage accumulates within days, not years.

Fluctuation is the second problem. Daily temperature swings cause wine to expand and contract inside the bottle, which over months pushes small amounts of liquid past the cork seal. A Govee H5075 temperature and humidity sensor ($15) logs readings every two minutes and stores 20 days of history in its app. That history lets you see fluctuation patterns, not just the current reading.

The Humidity Side: Why Corks Crack

Humidity matters almost as much as temperature, but it's easier to forget. Corks are natural material. Below 50% relative humidity, they slowly lose moisture and the seal degrades. At 60-70% they stay supple and maintain an airtight barrier for decades.

Dry air is common in basements during winter when heating runs. A dedicated humidity monitor catches this before the damage compounds. The Aqara TVOC Air Quality Monitor ($40) measures both temperature and humidity, it doubles as a VOC sensor, which is useful for detecting off-gassing from paint or cleaning products stored near the cellar.

What Hardware Do You Actually Need?

I've tested three different sensor setups over two years. The minimum viable kit for a dedicated wine cooler or small cellar costs under $60 and takes an afternoon to configure.

Core sensors:

  • Govee H5075 temperature/humidity sensor, $15, Bluetooth, 2-minute logging interval, 2-year battery life
  • Aqara TVOC Air Quality Monitor, $40, Zigbee, connects directly to Home Assistant via a Zigbee coordinator

Optional additions:

  • Smart plug for the wine cooler (TP-Link Kasa EP25, $18), tracks energy consumption and detects compressor failures
  • Smart lock on a dedicated cellar room (if you have one worth securing), logs access entries with timestamps
  • NFC tag ($1 each, pack of 10 for $8) on the cellar door, tap with your phone to launch the inventory app instantly

The Govee H5075 works standalone through its own app, which is fine for basic logging. But if you want automations and alerts, you need Home Assistant. The Aqara sensor connects natively to Home Assistant via Zigbee, no cloud subscription, no monthly fee.

Zigbee coordinator setup

How to Set Up Temperature Alerts in Home Assistant

The alert that would have saved my Burgundy is a three-field automation. Here's the exact logic:

Trigger: Temperature sensor reads above 65F
Condition: Temperature has been above 65F for more than 30 minutes
Action: Send push notification to phone with current temperature reading

That 30-minute condition filter is important. Without it, you'd get a notification every time you open the cellar door or the compressor cycles. With it, you only hear about sustained problems, the ones that actually matter.

In my setup, the smart plug on the wine cooler catches a different failure mode. A healthy single-zone cooler draws between 80-120 watts when the compressor is running. When I saw a three-day stretch where the plug logged 20-30 watts, fan only, compressor never kicking in, I diagnosed a refrigerant leak before the temperature sensor ever triggered. The compressor failure mode doesn't always spike temperature fast enough to catch with temperature alerts alone.

Building a Cellar Dashboard on Raspberry Pi

A Raspberry Pi 4 ($75) running Home Assistant OS is the right hub for a cellar monitoring setup. It runs 24/7 on about 4 watts, costs roughly $3/year in electricity, and stores all your sensor history locally without any cloud dependency.

The dashboard worth building has three cards: current temperature with a 24-hour history graph, current humidity with min/max for the past week, and the smart plug energy graph showing the cooler's compressor run pattern. That three-panel view tells you everything you need to know in about five seconds.

Home Assistant's built-in history feature stores sensor data for 10 days by default. For a cellar, extend it to 90 days in the configuration, temperature trends across seasons are genuinely useful for diagnosing slow problems.

Tracking Access to a High-Value Cellar

If your collection is worth protecting with a lock, it's worth knowing who accessed it and when. A smart lock on a dedicated cellar room generates an access log automatically. Every code entry or app unlock gets timestamped.

This isn't paranoia for most people, it's useful during parties or when contractors are in the house. The log answers "did anyone open the cellar while we were out?" in two seconds. A basic Zigbee-compatible smart lock costs $80-120 and integrates directly with Home Assistant.

The NFC tag approach is lower cost and serves a different function. An NFC tag ($1) on the cellar door, programmed to open your wine inventory app, turns a 30-second app-hunt into a one-tap action. Small convenience, but you'll use it every time.

Real Costs for a Complete Setup

Here's what I'm running now, with current prices:

  • Govee H5075 x2 (cooler + ambient room): $30 total
  • Aqara TVOC monitor (basement humidity tracking): $40
  • TP-Link Kasa EP25 smart plug (cooler power monitoring): $18
  • Raspberry Pi 4 2GB + case + SD card: $75
  • NFC tags (10-pack): $8

Total hardware: $171. The Raspberry Pi is the only item with significant upfront cost, and it runs everything else in the house too. Just the sensors and smart plug, no Pi, cost $96 and work with a Home Assistant instance you might already have.

Home Assistant on Raspberry Pi

The ongoing cost is essentially zero. No subscriptions. No cloud fees. The Govee app is free. Home Assistant is open source. The smart plug pays for itself in early compressor failure detection, one avoided service call covers the entire setup.

What the Smart Setup Can't Replace

Sensors don't fix a bad cooler. If your wine refrigerator can't hold 55F when the ambient temperature in the room hits 80F in summer, monitoring tells you about the problem but doesn't solve it. The right cooler for the room size matters.

Temperature logging also can't undo damage that happened before you installed it. If you're buying a collection from someone else, you're trusting their storage history. The monitoring pays forward from the day you install it.

The most honest thing I can say: the $15 Govee sensor alone, even without Home Assistant, is worth installing on any wine cooler. The temperature history graph in the Govee app takes two minutes to read and shows you immediately whether your cooler is actually doing its job.

Seasonal Risks Worth Knowing

Summer and winter hit wine cellars differently, and your monitoring strategy should account for both.

In summer, the main threat is ambient heat loading. If your cellar or wine cooler sits in a room that hits 85F during a heat wave, even a correctly functioning single-zone cooler may struggle to hold 55F. The compressor runs constantly, wears out faster, and in the worst case can't keep up. Your smart plug data reveals this: look for compressor run cycles that extend past 45 minutes without the temperature stabilizing. That's a thermal load problem, not a sensor problem.

In winter, basements in cold climates can drop below 45F when heating systems aren't running full time. Wine won't freeze at that temperature, but prolonged storage below 45F slows aging more than most people want. More importantly, the humidity in cold basements during winter heating season often drops below 40% as heated dry air circulates. That's where cork damage starts. The Govee H5075 logs humidity alongside temperature, and a winter review of that data will tell you whether you need a small ultrasonic humidifier in the cellar space.

Spring temperature swings are the sneakiest problem. Days warm quickly but nights stay cold, and a wine cooler positioned near an exterior wall may cycle through 10-15F temperature changes within 24 hours. Most refrigeration units handle this fine mechanically, but the daily fluctuation graph in your Home Assistant dashboard will show you exactly how much the temperature is bouncing. If you're seeing swings of more than 8-10F per day consistently, repositioning the cooler or adding insulation to that wall is worth doing.

When to Consider Upgrading Hardware

The Govee H5075 is the right starting point. But if you're storing wine worth more than $2,000 as a collection, there are two upgrades that make practical sense.

First, add a second sensor inside the cooler itself rather than just in the ambient room. External temperature can read fine while internal temperature is drifting if the door seal is failing or the evaporator coils are icing up. A second sensor costs $15 and closes that blind spot completely.

Second, consider a Zigbee sensor rather than Bluetooth once you have Home Assistant running. Bluetooth range from a basement cooler to a hub two floors up can be unreliable. The Aqara Temperature and Humidity Sensor E1 costs $18 and connects directly to a Zigbee coordinator with sub-second update intervals. That responsiveness matters when you're writing automations that trigger on fast temperature changes.

Neither upgrade is necessary on day one. Start with the $15 Govee, run it for a season, read the data, and then decide what gaps are worth filling. Most people find the basic setup is all they ever need.