Automation Rules
Automation assists Manual Roasting with event-driven rules: when your triggers and state conditions match, HiBean can fire voice alerts, mark roast events, log manual dial values, or adjust heat, airflow, PID, and cooling—while you stay in manual command of the batch.
Automation Rules vs Auto Replay
| Capability | How It Runs | Best Fit |
|---|---|---|
Automation | Fires targeted When → Condition → Action rules during Manual Roasting | Charge presets, post-FCs heat/fan trims, DTR alerts, drop cooling sequences, over-temp cutoffs |
Auto Roasting | Replays an entire profile's control timeline or tracks a PID BT curve from Charge to Drop | Reproducing a dialed-in Roast Profile end-to-end (see Auto Replay Roasting) |
Four Places to Manage & Monitor Rules
- Device Settings →
Automation: ConfigureGlobal Automationrules shared across every profile on the current roaster. - Profile Detail →
Profile-specific Automation: Build rules bound to a single Roast Profile. - Prepare Roasting →
Manual Roasting→Automation: Review, toggle, or edit bothGlobal AutomationandProfile-specific Automationrules right before charging. (Switching toAuto Roastingdisables this card and displaysAuto roast does not support automationso two control systems never collide.) - Live Manual Roasting top-right
Automationbutton: InspectPendingrules—and toggle off any pending rule on the fly before it triggers—alongsideExecutedrules that have already fired during the current batch. Triggered rules lock intoExecutedfor the rest of that roast.

Global Automation vs Profile-specific Automation & Roast Preview
| Scope | Stored On | Typical Rules |
|---|---|---|
Global Automation | Current roaster | Safety over-temperature cutoffs, standard Charge power/damper presets, Drop heater-off & cooling sequences |
Profile-specific Automation | Specific roast profile | Coffee-specific Maillard airflow ramps, FCs + ΔBT heat reductions, target DTR exceeds alerts |
During Manual Roasting, enabled rules from both scopes run together. Before roasting real coffee, tap Roast Preview on the automation page to dry-run your rules against a historical roast curve—verifying exact trigger timestamps and temperatures, or seeing which condition prevented a rule from firing.
Rule Editor Structure

Every rule reads from top to bottom across three blocks:
When: Add one or more triggers connected by+ Or. As soon as any trigger fires, HiBean evaluates the rule's conditions.And all conditions/And any condition(optional): Add state guards and switch the header dropdown betweenAnd all conditions(AND) andAnd any condition(OR).Execute action: Chain one or more actions in order using+ Then.
All 6 Triggers (When)
Event marker: Fires when a milestone is marked (Preheat,Charge,TP,DE,FCs,FCe,SCs,SCe,Drop).Temperature: Fires when liveBTorETmeets>,<, or=a target temperature.Roasting time: Fires when elapsed roast time meets>,<, or=a target duration.RoR: Fires when live Rate of Rise meets>,<, or=a target slope.Temperature rise after event: Waits until a reference event (Charge,TP,DE,FCs, orSCs) is marked, then fires onceBTorETrises by at least your target delta from that event's recorded temperature (for example,After FCs, BT rises by at least 6°C). Inactive afterDrop.DTR exceeds: Fires once live Development Time Ratio (0%up to< 100%, computed strictly from post-Chargeelapsed time andFCswithout counting preheat) exceeds your target percentage (for example,DTR exceeds 18%). Inactive afterDrop.
All 4 Conditions (And all conditions / And any condition)
Event state: Checks whether the roast is currently Before, After, or During a chosen milestone (for example,After DEandBefore FCs).Temperature state: Checks whether liveBTorETsatisfies>,<, or=.Roasting time: Checks whether elapsed roast time satisfies>,<, or=.RoR: Checks whether currentRoRsatisfies>,<, or=.
Available Actions (Execute action)
HiBean filters the action picker to match your roaster's capabilities:
- Direct hardware controls: Set
Heaterpower (orTurn Off Heaterat0%), setFanspeed (orTurn Off Fan), setDrumspeed (orTurn Off Drum), and toggleCooling fanon or off. PID Control: Set PID target temperature, enable or disable PID auto-heating, or updateKp/Ki/Kdparameters on supported controllers.Wind Pressure Balance: Set target air pressure (Pa), enableWind Pressure Balance, or disable it on supported machines.- Record-only parameter logging:
Record power,Record fan speed, andRecord drum speedwrite parameter steps purely into the roast log without sending hardware commands—ideal when you turn physical gas or airflow dials by hand on a read-only roaster. - Milestones, audio & timing:
Auto Event Tagging(automatically mark a roast event),Voice Announcement(speak custom TTS text) or Play beep (Info,Success,Warning), andDelay(waitNseconds before running the next action in the chain).
Post-Drop Safety Gate
Once Drop marks the roast complete, HiBean's runtime safety gate blocks any automation action that would apply heat—specifically Heater > 0%, enabling PID auto-heating, or setting a PID target temperature—so a delayed or late-firing rule can never re-ignite an empty drum.
Safe post-drop actions remain fully permitted: Heater = 0% (Turn Off Heater), Fan, Drum, Cooling fan, voice/beep notifications, and Delay all execute normally, ensuring your Drop shutdown and cooling rules work every batch.
Practical Rule Recipes
Post-FCs Temperature-Rise Trim
When: After FCs, BT rises by at least 4.0°C
Execute action: Set Heater to 45% → Then Set Fan Speed to 65%Development Ratio Drop Alert
When: DTR exceeds 19%
And all conditions: BT > 206°C
Execute action: Play Warning beep → Then Voice Announcement: "Target DTR reached, prepare to drop"Safe Drop & Cooling Sequence (Global Automation)
When: Trigger when Drop
Execute action: Turn Off Heater → Then Set Fan Speed to 80% → Then Turn On Cooling Fan