AGS
AGSMatter-native grow hub for small indoor rooms
Automation1 Hz telemetry / PID with anti-windup / phase-aware schedules

How AGS decides.

Every second, both SHT41 probes hand the hub a fresh reading. A 10-sample rolling average feeds PID loops for light, exhaust, and humidifier. Schedules layer on top, aware of room phase. The headline example: the hub compares in-tent VPD to outside air before it decides whether to pull air in or dose the humidifier.

All of this runs on the ESP32-C6. The app is for tuning and review, not for keeping the room alive.

AGS compares in-tent and outside SHT41 readings to decide whether to pull outside air
Signals

What the hub looks at before it switches anything.

AGS reacts to VPD and the inside/outside delta, not to raw temperature or humidity alone.

Signal

In-tent climate

Temperature, RH, and VPD near the canopy from the internal SHT41. Sampled at 1 Hz, smoothed with a 10-sample rolling average before it touches the PID loop.

Signal

Outside air

The external SHT41 answers the one question smart plugs can not: is the air outside cooler, drier, or wetter than the room? The hub uses the delta to decide whether to pull outside air or dose the humidifier.

Signal

Schedules and room phase

Per-channel schedules with ramp-up and ramp-down for the light, phase-aware setpoints for veg, flower, and dry, and a lifecycle schedule that walks the room from seedling to harvest.

What the loop feels like

Fewer heat spikes. Fewer fights between humidifier and fan.

The on-device PID has been tuned against engineering-sample rooms since late 2025. Anti-windup stops the classic first-hour overshoot, and the controller arbitrates humidifier vs exhaust by weighting VPD rather than either axis alone.

  • Anti-windup caps integrator error during long setpoint gaps.
  • Deadbands prevent actuator chatter on marginal drift.
  • VPD-weighted arbitration between humidifier and exhaust.
  • Ramp on the light dim line softens the 0-to-100 percent moment.
Environmental Data
AGS environmental data screen
Per-sensor drill-down with min, max, median, and drift markers.
Automation branches

Three loops live in firmware today.

Light, exhaust, and humidifier are the three automation branches in the shipping firmware. Heater, cooler, dehumidifier, and circulation are firmware enum stubs - on the roadmap, not in release.

Light

Dim ramp + on-off via Matter

A PWM channel drives the dim line for a ramp at sunrise and sunset. On-off goes to a commissioned Matter plug. Both fall under the same lifecycle-phase schedule.

Exhaust

PID on fan speed

A PWM channel owns the exhaust fan. PID targets temperature with RH and VPD as secondary signals, using the outside probe to decide whether pulling air is a good idea right now.

Humidifier

Duty-cycled via PWM or Matter plug

Humidifier output follows RH and VPD against the current phase target. Small loads can ride a PWM channel directly; mains humidifiers sit on a Matter plug with short safe-state holds.

Roadmap

IR triggered by sensors - in development

Today you schedule IR shots manually from the app. Sensor-triggered IR (fire AC 'cool' when VPD crosses a band) is in development - it is not shipping yet, and it will not be claimed as shipping until it is.

Outcomes

What the loop buys you.

Outcome

Fewer first-hour heat spikes

PID with anti-windup reduces the classic overshoot when the light turns on. A ramp on the dim line softens the 0-to-100 percent moment instead of slamming it.

Outcome

Humidifier and fan stop fighting

The loop reacts to VPD weighted against both probes, not to RH or temperature alone. The humidifier and the exhaust stop trading the room back and forth.

Outcome

Outside air used when it is actually useful

If the outside SHT41 says the air is cooler and drier than the target, AGS schedules the intake and exhaust to help. If the air outside is worse, the hub keeps the tent sealed.

Outcome

Runs through internet failure

Sensing, PID, PWM, IR, and schedules all live on the hub. If the router drops, the room keeps running. When the cloud reconnects, history syncs.

Proof

Screens already in the app.

Telemetry
AGS telemetry dashboard
Live and historical climate in a single chart.
Environment
AGS environmental data
Per-sensor drill-down with min, max, median, and drift markers.
Schedules
AGS schedules
Ramp-up and ramp-down for the light. Phase-aware setpoints.
Actuation
AGS channel configuration
PID tuning and manual override per PWM and Matter channel.
Next

Expansion: Matter for mains, IR for remotes.

Matter plugs and IR commands get the same schedule surface as the PWM channels. See how the hub grows beyond the on-board rails.