Greenhouse Automation: Control Fans, Heaters, and Misters Using Real-Time Sensor Data

Greenhouse Automation: Control Fans, Heaters, and Misters Using Real-Time Sensor Data

A greenhouse is a heat trap by design. That's the point of it, until a sunny spring afternoon pushes the inside past 90°F while it's still 50°F outside, and you're at work with the vents shut. A few hours later the sun drops, and the same space can lose that heat almost as fast.

Managing those swings by hand means checking a thermometer, opening vents, switching on a fan, and remembering to switch it all off again. Greenhouse automation takes that job off your list. A sensor reads temperature and humidity in real time, and a smart plug turns your fans, heaters, and misters on and off based on those readings. This guide covers how it works, how to set rules for each type of equipment, and the safety details that keep an automated greenhouse from becoming a liability.

How Sensor-Driven Greenhouse Automation Works

The setup is simpler than most people expect. There are four parts:

  1. A sensor measures temperature and humidity inside the greenhouse and sends readings to the cloud.
  2. A rule you set in the UbiBot app, such as "turn on when temperature rises above 80°F."
  3. A smart plug switches power to the connected device when the rule's condition is met.
  4. An alert tells you when readings move outside the range you've set, or when a device stops reporting.

The UbiBot SP1 smart plug handles the switching. It can run appliances on automation rules tied to environmental conditions, on a schedule, by remote control from the app, or with the physical button on the plug. It also accepts its own external probes, so a single plug can measure the air it's controlling. You'll find it in the UbiBot smart control devices collection.

What You Need to Get Started

  • A sensor for the growing area. UbiBot smart sensing devices such as the WS1 Pro or GS1 measure temperature, humidity, and light. The GS1 has an IP65-rated housing, which suits the damp conditions inside a greenhouse.
  • One smart plug per device you want to control. A fan, a heater, and a mister each need their own plug, because each runs under different conditions.
  • Probes where the plants are. A temperature and humidity probe on a cable lets you measure at canopy height while the plug or sensor sits somewhere protected. Probe options are in the UbiBot external sensors collection.
  • A reliable connection. UbiBot WiFi devices run on 2.4 GHz. If the greenhouse sits too far from your router, the SP1 also comes in a 4G version, and larger growing sites can use UbiBot LoRa-based devices for sensors spread across several structures.

Automating Ventilation Fans

Overheating is the most common greenhouse problem, and exhaust fans are the most common fix. Many greenhouse crops grow well with daytime temperatures between about 65°F and 80°F, so a good starting rule is to turn the exhaust fan on at 80°F and off at 75°F. Adjust from there based on what you grow.

The gap between "on" and "off" matters. If the fan starts and stops at the same number, it will cycle on and off every few minutes as the temperature hovers around the line. A 4 to 5°F gap lets the fan run long enough to actually move the air.

Ventilation also lowers humidity. On a warm, damp day, a humidity rule can run the exhaust fan to pull moist air out, even when temperature is within range.

Horizontal airflow fans, the small circulation fans that keep air moving along the length of the house, are different. Most growers run them continuously, so they usually don't need a rule at all.

Automating Heaters

At night, the problem reverses. Many crops are comfortable with night temperatures around 55°F to 65°F, and a heater rule keeps the house from dropping below your minimum. A typical setup turns the heater on at 55°F and off at 60°F.

The load rating matters here. The US version of the SP1 is rated for 125V AC, 15A maximum, or 1,875 watts. A standard 1,500-watt electric greenhouse heater fits within that. Anything larger, or a bank of heaters on one circuit, needs a properly rated contactor or relay installed by an electrician, with the smart plug triggering that instead of carrying the full load.

Keep the heater's own built-in thermostat set as a backup limit. If anything goes wrong with the automation, the heater still won't run the greenhouse into dangerous temperatures. For a deeper look at protecting plants on cold nights, see our guide to frost alerts for orchards and greenhouses.

Automating Misters and Humidifiers

Hot, bright days can pull humidity down fast, especially in a well-ventilated house. Low humidity stresses seedlings, cuttings, and leafy crops. A misting rule raises humidity when it drops below your target, for example, on at 50% and off at 60%.

A few practical rules keep misting from causing more problems than it solves:

  • Mist in daytime only. Leaves that stay wet overnight invite fungal diseases like botrytis. Add a schedule so misters can't run after mid-afternoon.
  • Cap humidity on the high side. Most growers keep relative humidity below about 85%, because disease pressure climbs sharply above that.
  • Let air move. Misting works best with circulation fans running, so moisture spreads evenly instead of collecting on the nearest bench.

Setting Rules That Don't Fight Each Other

The most common automation mistake is rules that work against each other: the heater warming the house while the exhaust fan pulls the heat straight out. Plan your thresholds as one system, with clear gaps between them.

Device

Turns on

Turns off

Heater

Below 55°F

Above 60°F

Exhaust fan (temperature)

Above 80°F

Below 75°F

Exhaust fan (humidity)

Above 85% RH

Below 75% RH

Mister

Below 50% RH (daytime only)

Above 60% RH

Where to Place Greenhouse Sensors

Automation is only as good as the reading it acts on. A sensor in the wrong spot will switch equipment at the wrong time.

  • Measure at plant height, near the middle of the growing area, not up by the roof or down on the floor.
  • Shade the sensor. Direct sun on a sensor housing can push readings well above the real air temperature and switch your fans on early. A shaded spot or radiation shield fixes this.
  • Keep it away from equipment. Don't mount a sensor next to the heater, in a fan's airstream, or in the spray pattern of a mister.

Use one sensor per zone. Large or long greenhouses often have warm and cool ends. If you control zones separately, each needs its own reading.

Safety and Failsafes

An automated greenhouse runs unattended, so build in protection for when something goes wrong.

  • Check the plug's operating range. The SP1 is rated for an operating environment of -5°C to 35°C (23°F to 95°F). Greenhouse air can get hotter than that, so mount the plug at a shaded, ventilated outlet or just outside the growing area, and run a probe into where the plants are.
  • Use GFCI-protected outlets. Water and electricity share the same space in a greenhouse.
  • Stay within the load rating. Check the wattage of every device against the plug's rating before connecting it.
  • Keep mechanical backups. Leave built-in thermostats on heaters, and consider a manual vent you can open if the power fails.
  • Turn on offline alerts. If a sensor or plug loses its connection, you want a notification, not a surprise. Set up alerts and remote control from anywhere by downloading the UbiBot app.

Track Results and Fine-Tune Over Time

The first set of rules is a starting point. After a couple of weeks, the temperature and humidity history shows how often each device ran, how fast the house heated up after sunrise, and whether nights stayed above your minimum. Use that data to tighten your thresholds, and adjust them again as seasons change.

If you run several greenhouses or growing zones, you can view every one side by side on the UbiBot IoT dashboard. For larger growing operations, the UbiBot agriculture solutions page covers field and greenhouse monitoring in more depth.

Automate Your Greenhouse With UbiBot

Your plants don't care whether you're at work, asleep, or away for the weekend. They need the right temperature and humidity every hour of the day. Real-time sensors and smart plugs give you that consistency without checking the greenhouse every few hours, and alerts make sure you hear about it when something needs your attention.

Start with one sensor and one smart plug on your exhaust fan, then add heating and misting as you go. Browse the UbiBot smart control devices collection to build your setup, with free 2-day US shipping. Planning automation for a larger greenhouse or several growing zones? Contact the UbiBot team, and we'll help you choose the right devices.

Frequently Asked Questions

What temperature should a greenhouse exhaust fan turn on?

Around 80°F is a common starting point, with the fan turning off again at about 75°F. The exact number depends on your crops, so adjust after a couple of weeks of watching the data.

Can a smart plug run a greenhouse heater?

Yes, if the heater fits within the plug's rating. The US version of the UbiBot SP1 handles up to 1,875 watts, which covers a standard 1,500-watt electric heater. Larger heaters need a rated contactor or relay installed by an electrician, with the smart plug switching that instead.

What humidity should a greenhouse be kept at?

Many growers aim for roughly 50% to 85%, depending on the crop and growth stage. Seedlings and cuttings like the higher end, while humidity that stays above about 85% raises the risk of fungal disease.

Should greenhouse misters run at night?

Generally no. Leaves that stay wet overnight are more prone to diseases like botrytis. Limit misting to daytime hours with a schedule alongside your humidity rule.

What happens to my automation if the WiFi goes down?

Turn on offline alerts so you know right away when a device stops reporting, and keep built-in thermostats on heaters as a backup limit. For greenhouses with unreliable WiFi, a 4G version of the smart plug avoids the problem.

Can I automate more than one greenhouse?

Yes. Each greenhouse or zone gets its own sensor and plugs, and they all sit under one UbiBot account, so you can manage and compare every space from the same app.

Back to blog