# Security System

CUBE OS includes a **Security System** feature that lets you use your connected sensors - such as motion detectors, door/window sensors, or other triggers - to monitor your home and trigger alarms or automations.

If your device hardware supports it, the built-in speaker can act as a **siren**, while other systems can trigger alerts or automations through configured actions.

## 1. Security Modes

CUBE OS provides **three pre-defined modes** to match your daily routines:

<table><thead><tr><th width="144.90911865234375">Mode</th><th>Description</th></tr></thead><tbody><tr><td><strong>Home Mode</strong></td><td>When you’re home and only want partial monitoring (e.g., door sensors active).</td></tr><tr><td><strong>Away Mode</strong></td><td>When you’re not home - all selected sensors will trigger alarms.</td></tr><tr><td><strong>Sleep Mode</strong></td><td>When you’re at home but asleep, typically only perimeter sensors remain active.</td></tr></tbody></table>

In this example, we’ll focus on **Away Mode**, which is used when no one is home.

## 2. Configure Away Mode

{% stepper %}
{% step %}
Open the **Security System** from the main menu.
{% endstep %}

{% step %}
Click on the **Away Mode** card to open the configuration panel.

<figure><img src="https://67406449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCnF8kmk9yw3yiy2mRerq%2Fuploads%2FnMAqJq6kN6tDJkxDT0J0%2Fimage.png?alt=media&#x26;token=f10c9171-18d9-40d8-be63-b3331c3a2357" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set up the following options:

**Siren Type** – choose between built-in or linked siren devices.

**Volume** – adjust the alarm loudness.

**Trigger Sensors** – toggle on the sensors you want to include.
{% endstep %}
{% endstepper %}

Active sensors will appear on the right side of the screen.\
Once enabled, these sensors will automatically trigger the alarm when motion is detected or a door/window is opened.

## 3. What Happens When an Alarm is Triggered

When the system is in **Away Mode**, and any of the selected sensors is activated:

1. The **siren** will sound immediately (if supported).
2. The system can trigger linked **automations** - for example:

* Sending a notification
* Turning on all lights
* Closing blinds
* Recording video via a connected camera
