One of the most powerful features in GrowVPD Pro is the ability to create automation rules that work across every brand you own. An AC Infinity controller can drive its own Cloudline fan from a live VPD reading, a Bluelab Guardian can push a pH drift alert while a Vivosun GrowHub opens a CO2 outlet during the photoperiod, and a simple Tuya smart plug can sit between any temperature sensor and a dumb oil heater for a cold-night safety net. GrowVPD Pro pulls all of it into one dashboard.
Tested on real hardware so far: Tuya / Smart Life plugs, an air conditioner and a Zigbee gateway with its sensors, Mars Hydro lights and iTime timers, and Bluetooth thermo-hygrometers. AC Infinity, Spider Farmer, Vivosun, Bluelab and SANlight are implemented and being verified with growers who own them.
This guide walks you through everything you need to know about setting up automation rules, from basic concepts to advanced configurations.
What Are Automation Rules?
An automation rule is a simple cause-and-effect instruction: when a certain condition is met, perform an action. On Android, GrowVPD Pro checks your rules every 15 minutes in the background using Android's WorkManager, so your automation keeps running even when the app is closed. On iPhone, rules are checked about every 45 seconds while the app is open; in the background iOS only lets the app run now and then, at times iOS chooses.
Each rule consists of three parts:
- Sensor input — which device provides the data (temperature, humidity, VPD, CO2, PPFD, soil moisture)
- Condition — what threshold triggers the rule (e.g., VPD rises above 1.5 kPa)
- Action — what device should do when the condition is triggered, and what it should do when the condition is restored
Key advantage: GrowVPD Pro communicates with each brand’s cloud or controller independently, so one rule can combine a sensor and a target device from different brands (Tuya, AC Infinity, Mars Hydro, Spider Farmer, Vivosun, Bluelab, SANlight). That said, the cleanest, safest rules are usually inside one brand — an AC Infinity controller nudging its own fan, a Vivosun GrowHub opening a Vivosun outlet — because the controller is designed to run that loop. Cross-brand rules shine when you want a simple switch (a Tuya plug) to react to any sensor, or when you want notifications from a sensor that doesn’t have its own actuators (like a Bluelab Pulse).
Creating Your First Automation Rule
Open the Automation tab in GrowVPD Pro. Rules belong to a room or a tent, so create those first if you have not yet. Then either switch on Full Auto, which builds a set of rules for the tent's growth stage from the devices it finds, or add your own rule: Custom Rules on Android, the + button on iPhone. The steps below walk through a custom rule.
Step 1: Select the Sensor Device
Choose which connected device provides the sensor data you want to monitor. This could be a standalone sensor (like a Tuya WiFi sensor) or a controller with built-in sensors (like an AC Infinity Controller 69 Pro). The app will show you which data types each device reports.
Step 2: Choose the Condition Type
Select what you want to monitor. GrowVPD Pro supports these condition types:
- VPD — Vapor Pressure Deficit (calculated from temperature + humidity), above or below a value, or outside a range
- Temperature — air temperature (above or below threshold)
- Humidity — relative humidity percentage
- CO2 — carbon dioxide concentration in ppm
- PPFD — light intensity in μmol/m²/s
- Soil moisture — volumetric water content percentage
- Soil EC — electrical conductivity of the growing medium
- Soil temperature — root zone temperature
- pH — from a pH probe
- Water level — reservoir level percentage
- Cycle — a timer with no sensor: on for X minutes every Y minutes, counted from midnight (for example 10 minutes at the start of every hour)
Any rule can also be limited to a time window (see Step 7).
Step 3: Set the Threshold Value
Enter the value that should trigger your rule. For example, if you want to activate a fan when VPD exceeds 1.4 kPa, set the threshold to 1.4 with a "greater than" condition.
VPD also supports a range (min and max values). For example, you might want to keep VPD between 1.1 and 1.4 kPa during flowering — choose the out-of-range condition and set the lower value to 1.1 and the upper to 1.4.
Step 4: Set the Hysteresis
Hysteresis is a buffer zone that prevents your devices from rapidly cycling on and off. If your VPD threshold is 1.4 kPa with a hysteresis of 0.1, the rule triggers at 1.4 but does not restore until VPD drops below 1.3. On Android you enter it as the OFF value (here 1.3), the reading at which the device switches off again; on iPhone it is the Hysteresis slider.
Tip: Always set hysteresis. Without it, a sensor reading that fluctuates around your threshold (e.g., 1.39, 1.41, 1.39, 1.41) would cause your device to switch on and off every 15 minutes. A hysteresis of 0.1 kPa for VPD or 2°C for temperature works well for most setups.
Step 5: Select the Target Device
Choose which device should respond when the condition is met. This can be any controllable device in your setup: a smart plug, an exhaust fan, a humidifier, a heater, or a grow light. The device does not need to be from the same brand as your sensor.
Step 6: Define the Actions
Set two actions (or choose Notify instead of a device to get an alert without switching anything):
- Trigger action — what happens when the condition is met (e.g., turn ON or OFF, set a fan to a speed from 1 to 10, put an air conditioner into cool, heat, dehumidify or fan mode)
- Restore action — what happens when the condition returns to normal (e.g., turn OFF, or drop the fan to a lower speed)
Step 7: Optional Advanced Settings
- Time restrictions — only run this rule between certain hours (useful for not running humidifiers during lights-off)
- Growth stage filter — only apply during specific stages (e.g., flowering only)
- Max run time — if the device is still running after this time and the reading has barely moved toward the target, the app switches it off (a sign of a broken device, an empty CO2 tank or a stuck sensor). A device that is making progress keeps running until the target is reached; no rule keeps a device on for more than 24 hours.
- Min off time — prevent the device from turning back on too soon (protects compressors)
- Min on time — ensure the device runs for at least this long once triggered
- Priority level — when rules conflict, the rule with the lower number wins (1 beats 10)
On iPhone all of these are under Advanced in the rule editor. On Android the rule editor offers the time window (Advanced › Schedule) and the maximum run time; the app uses a 3-minute minimum on time, a 5-minute minimum off time and a fixed priority, and rules made by Full Auto carry the growth stage they were made for.
Example Automation Rules
AC Infinity: Native VPD Loop
The single cleanest rule in a tent — same brand, built-in probe, controller in charge. Keeps your VPD inside the flowering band without the rule ever leaving AC Infinity’s own hardware loop.
- Sensor: AC Infinity Controller 69/89 Pro temperature + humidity probe (built-in)
- Condition: VPD outside 1.1–1.4 kPa (flowering band)
- Hysteresis: 0.1 kPa
- Target: AC Infinity Cloudline fan on the same controller (UIS cable)
- Trigger action: Set the fan to a higher speed (e.g. 8 of 10)
- Restore action: Drop back to a lower speed (e.g. 3)
- Growth stage filter: Flowering only
Night Temperature Safety Net (Any Sensor → Tuya Plug → Dumb Heater)
A good cross-brand example. The plug is just a switch — the brains are your real sensor and GrowVPD Pro. Use whichever sensor you already trust.
- Sensor: Any connected temp sensor (AC Infinity probe, Bluelab Pulse, SwitchBot, cheap Tuya Zigbee probe…)
- Condition: Temperature < 18°C
- Hysteresis: 2°C
- Target: Tuya smart plug feeding a regular oil heater
- Trigger action: Turn ON
- Restore action: Turn OFF once the tent recovers to 20°C
- Time restriction: Lights-off hours only
- Min off time: 10 min (protects the heater’s internal thermostat from short-cycling)
Vivosun GrowHub: Daytime CO2 Enrichment
Same-brand loop again: Vivosun’s CO2 sensor trips a Vivosun outlet feeding the regulator — but only with lights on, and the valve is closed if CO2 has not started rising within the maximum run time. Dosing CO2 blind is dangerous; this rule is carefully fenced in.
- Sensor: Vivosun GrowHub CO2 probe
- Condition: CO2 < 800 ppm
- Hysteresis: 100 ppm
- Target: Vivosun smart outlet controlling the CO2 regulator solenoid
- Trigger action: Turn ON
- Restore action: Turn OFF once CO2 reaches 900 ppm
- Max run time: 30 minutes
- Min off time: 15 minutes
- Time restriction: Lights-on hours only
Bluelab Guardian: pH Drift Notification (No Auto-Dose)
pH is a place where we deliberately do not automate the actuator. A bad reading or a stuck dose can hurt plants fast. This rule watches the Guardian and pings you — you stay in the loop for any nutrient correction.
- Sensor: Bluelab Guardian Monitor (via Edenic cloud)
- Condition: pH below the bottom of your target range, with a second rule for pH above the top (the app’s targets: soil 6.0–6.8, coco 5.8–6.0 in veg and 6.0–6.2 in flower, hydro 5.5–6.0)
- Hysteresis: 0.1 pH
- Target: Notify — a notification on your phone (no device action)
- Trigger action: Send a notification with the reading and the threshold
- Restore action: Silent (no “all clear” spam)
- Repeat alerts: none while pH stays out of range — the rule alerts again only after pH has come back and drifted out again
Automated Light Schedule (Mars Hydro / Spider Farmer / Vivosun LEDs)
Run your photoperiod on a stage-aware schedule, with gradual sunrise and sunset dimming so plants aren’t shocked in or out of the day. Lights get this from the schedule in the light’s own control panel rather than from a rule.
- Schedule: Time-based (e.g. 18/6 veg, 12/12 flower)
- Target: A dimmable light in the tent. Mars Hydro lamps store the schedule in the lamp itself; for most other lights the app does the dimming, which needs the phone (or a hub) running.
- Sunrise: Ramp from 0% to peak brightness across a sunrise window (the stage presets use 20–45 min)
- Sunset: Ramp back down across a sunset window at lights-off
- Stage presets: Different peak brightness per stage (Seedling 40%, Veg 80%, Flower 100%)
Advanced Automation Features
Beyond the simple "if condition then action" rule, GrowVPD Pro layers in several smart features that make automation safer and more accurate. They work automatically in the background.
Sensor fault detection
Rules never act on bad or old data. Physically impossible values (for example exactly 0% or 100% humidity, a typical sign of a wet or failing probe) are ignored, and readings older than 30 minutes are not used. If a sensor stops reporting for an hour, the rules that depend on it are paused and you get a notification; they switch back on by themselves once the sensor delivers fresh readings again.
Deadband: 2-min dwell + 5-min hold
On top of hysteresis, GrowVPD Pro applies a short stability hold: once a reading has settled back inside the target band for 2 minutes, a rule that acted within the last 5 minutes will not switch its device on again. This kills the rapid-cycle problem when a sensor flickers around a threshold and protects your equipment from short on/off bursts.
Leaf temperature offset for VPD
Air temperature is not the same as leaf temperature, and VPD is what the leaf experiences. With strong direct LED light, leaves can sit 1–3°C below ambient air temp due to transpiration cooling; under HPS, they sit 1–2°C above. GrowVPD Pro therefore calculates leaf VPD, assuming by default that the leaf is 2°C below air temperature. You can change this leaf temperature offset on the VPD chart (one setting for the whole app); on Android, automation rules always use the 2°C default. This is the difference between "my chart says 1.0 kPa" and "my plants actually feel 1.0 kPa."
Night offsets (temp, RH, VPD, CO2)
Plants want different conditions during lights-off. Rather than make you create separate day/night rules, GrowVPD Pro shifts the thresholds of temperature, humidity and VPD rules by the night offsets of the growth stage while the lights are off (for example 3°C cooler and 0.3 kPa lower VPD), and CO2 dosing rules hold (see below). Lights-on/lights-off is detected from the tent’s light schedule; without one, the app treats 21:00–06:00 as night.
Emergency override (temp spike + condensation)
Two safety layers work outside normal rule timing:
- Room safety net — if any sensor in a room reads above 35°C, heaters are switched off, exhaust fans go to full speed, cooling switches on and a critical notification fires. Above 85% humidity, dehumidifiers and exhaust fans switch on. Below 12°C you get an urgent alert and heater rules are switched on. While the reading stays out of range, the safety net acts again on each check (at most every 5 minutes).
- Tent emergency mode — when a tent linked to a grow gets more than 2°C above its stage’s maximum temperature, or the air comes within 0.5°C of its dew point (condensation risk), the tent’s rules skip their minimum on/off times and cooldowns so corrective rules act at once.
You get a notification when the tent emergency mode starts and when it ends; it ends once readings have been back in range for 2 minutes.
Auto stage detection (3-signal voting)
GrowVPD Pro can propose a stage transition (Veg → Pre-flower → Flower → Late flower) by combining three signals:
- Calendar — days since the grow started, or since you switched the lights to 12/12.
- Photoperiod — the hours of light in the tent’s light schedule (about 18 hours reads as veg, 12 as flower).
- Substrate dry-back — if you have a soil moisture sensor, how far the substrate dries between waterings, compared with the typical range for each stage.
The check runs every 6 hours. When the signals together point clearly to a different stage, you get a notification proposing it, with Confirm and Dismiss. Confirming records the new stage for the grow; a dismissed proposal is not repeated for that grow for 7 days.
Light dimming ramp (sunrise / sunset)
Light schedules can fade a light in and out. You set the sunrise and sunset length in the light’s schedule (the stage presets use 20–45 minutes). Mars Hydro lamps keep the schedule in the lamp, and when the plan has a sunrise GrowVPD Pro switches on the lamp’s own sunrise/sunset simulation, so it keeps running even if the phone is asleep or offline. For other dimmable lights, the app steps the brightness up and down itself.
Night CO2 hold
CO2 enrichment during lights-off is wasteful (plants don’t consume CO2 in the dark) and risky (without strong ventilation, levels build up). GrowVPD Pro automatically holds CO2 dosing rules during lights-off, keeping your CO2 sensor logging but never triggering the dosing valve. CO2 dosing resumes when the lights come on.
Three-point band (target zones)
When a tent is linked to a grow, its card shows target bands for VPD, temperature and humidity: the stage’s minimum, target and maximum, with a needle where the current reading sits. The band is a display — each rule still has one condition and one target device, so “humidifier on below 55%” and “dehumidifier on above 65%” are two rules.
Safety Features
GrowVPD Pro includes several safety mechanisms to protect your grow and your equipment:
- Hysteresis on every rule prevents rapid on/off cycling that wears out relays and stresses plants
- Minimum off time protects devices like AC compressors that need cooldown periods
- Maximum run time prevents a stuck sensor from leaving a heater on indefinitely
- Priority levels resolve conflicts when two rules try to control the same device (safety rules should always be highest priority); a safety switch-off always wins over a switch-on
- Silent-device protection pauses the rules of a device that has not responded for 2 hours (30 minutes for a heater) and notifies you; they switch back on by themselves once the device responds again
Important: Devices that GrowVPD Pro reaches over your local network (such as Tuya devices with local control) keep responding when your internet is down. Devices that can only be reached through their maker’s cloud (such as Mars Hydro, or battery Wi-Fi sensors) need a working internet connection. For mission-critical safety (like maximum temperature cutoffs), consider using your device's built-in safety features as a backup.
Room and Tent Organization
GrowVPD Pro organizes your space in a hierarchy:
- Room — your physical growing space (e.g., "Garage", "Spare Bedroom")
- Tent — individual grow tents within a room (e.g., "Veg Tent", "Flower Tent")
- Devices — assigned to specific tents
- Rules — scoped to a tent (or to a whole room), using that tent's sensors and devices
This structure lets you run different automation profiles for each tent. Your vegetative tent might target VPD 0.8–1.0 kPa while your flowering tent targets 1.0–1.4 kPa, each with its own set of rules and devices.
Link a tent to a grow in the Grow Diary (you pick the grow when you create or edit the tent, or with Link to Diary in Full Auto). The tent’s rules then follow that grow’s current stage.
Monitoring and Energy Tracking
After your rules are running, you can monitor their performance in several ways:
- Activity timeline and rule history — see when each device in the tent was switched on and off over the last 24 hours, and when each rule last fired and how many times
- Energy tracking — devices that report their power use (such as smart plugs with energy metering) show their live draw, total kWh and an estimated daily use
- Rule effectiveness — the app counts how often each rule fires, and notifies you when a humidifier, dehumidifier or heater has been on for hours without moving the reading (for example a humidifier with an empty tank)
If a rule is triggering too frequently, that usually means your hysteresis is too small or your equipment is undersized for the space. The activity timeline and rule history will help you diagnose and refine your setup.