Automating activities
Automate Command Centre responses with action plans, logic blocks, and macros.
The Automation Engine is Command Centre's deterministic, rule-based automation system. It contains three automation types:
Action Plans: event-triggered ("when X happens, do Y").
Logic Blocks: state-evaluated ("if A is true AND B is true, then C").
Macros: manually invoked or scheduled ("operator clicks Lockdown" or "every night at 23:00").
The Three Automation Types
Action Plans (event-triggered)
Trigger: something happens in the field (door forced, access denied, fence breach). Effect: a sequence of actions runs (raise alarm, notify, log, override).
This is the most common automation type. It is tied to the Monitoring Workspace operator response and is configurable at server, alarm zone, or device level.
Logic Blocks (state-evaluated)
Trigger: a state or combination of states evaluates to true. Logic blocks are essentially Boolean expressions over system state.
Examples:
"If alarm zone is armed AND zone occupancy > 0, raise alert." Catches an arm-while-occupied error.
"If contractor cardholder AND time outside contractor hours, deny access." An extra layer beyond access groups.
"If perimeter zone armed AND any gate forced, escalate immediately."
Use when: you need conditional logic that pure event triggers cannot express. Logic blocks let you compose state across multiple inputs into a decision.
Macros (manual or scheduled)
Trigger: an operator action ("click Lockdown") or a schedule ("23:00 every night").
Examples:
Lockdown: operator-invoked. Locks all external doors, arms all perimeter zones, escalates to the SOC.
End-of-day shutdown: scheduled. Auto-arms after-hours zones, dims reception lighting, locks public doors.
Fire alarm response: operator-invoked. Unlocks designated egress doors, isolates HVAC if integrated, broadcasts to all guards.
VIP visit prep: operator-invoked. Pre-stages access for visitor cards, increases CCTV record quality at relevant readers, alerts the duty manager.
Use when: you need a multi-step orchestrated action that does not fit "an event happened" or "a state is true", and you need the operator (or the clock) to kick it off.
How the three Automation Types differ
Action Plan
An event
Reactive alarm response
Door forced → notify operator
Logic Block
A state condition
Conditional rules
If contractor + after hours → deny
Macro
Manual click or schedule
Multi-step orchestration
Lockdown
How to think about the three together
A real site uses all three:
Action plans for routine alarm response, the most common and most numerous.
Logic blocks for conditional access rules and complex automation, fewer and more strategic.
Macros for emergency response and end-of-day operations, operator-facing and infrequent but high-impact.
Common pitfalls
Action plan, logic block, or macro? Choose by trigger model, not by what you want to happen. The action is often the same. What differs is what kicks it off.
Logic blocks can become unmaintainable. A site with 50 interlocking logic blocks where each references three others is a debugging nightmare. Keep logic blocks small and named clearly.
Macros need testing. A "Lockdown" macro that has never been tested is a "we discover it is broken during the actual emergency" waiting to happen. Schedule periodic test invocations.
Scheduled macros vs scheduled access. Do not confuse "macro that runs at 18:00" with "schedule that controls auto-unlock at 18:00." They are different mechanisms even though both involve time. Schedules are for access permission state; macros are for orchestrated actions.
🔗 Related
Scenario - Pulsing an output using Logic Blocks. A worked logic-block recipe.
Scenario - Deactivate a Siren after a set time or an Alarm Zone is disarmed. A second logic-block recipe.
Server - Using a Macro to run an application. Running external applications from a macro.
Last updated
Was this helpful?
