# Alert Configuration — Email, Siren, Snapshots and Uploads

## Overview

An **AI-powered security alert** is only useful if it reaches someone who can act. OWL EYE ALERTS
can notify through several channels, and the art is in matching the channel to the urgency:

| Channel | Latency | Best for |
|---|---|---|
| Email notification | Seconds | Duty manager, daily summary, out-of-hours intrusion |
| Siren notification | Immediate | On-site deterrence |
| Snapshot | Immediate | Evidence attached to the alert |
| Upload (FTP, Dropbox, MEGA) | Seconds | Off-site copy of important events |
| Launch program | Immediate | Integrating with another system |

## Prerequisites

- Working cameras and at least one AI model — see [AI Event Detection](/docs/ai-event-detection/).
- SMTP details for email: host, port, TLS mode, username and password.
- Credentials for any upload target you intend to use.
- Your plan's limits: entry plans often allow two email accounts and two upload targets.

## Step-by-step instructions

### Step 1 — Configure the email account

1. Open **Alerts → Email accounts → Add**.
2. Enter the SMTP host and port (`587` with STARTTLS, `465` with SSL).
3. Enter the sender address and password. If the provider uses app passwords, generate one.
4. Send a test email. Fix the SMTP settings until the test arrives.

> Use a dedicated mailbox such as `alerts@yourcompany.com`. Free mailbox providers often throttle
> bursts of alert email, which is exactly when you need them.

### Step 2 — Create an alert rule

An alert rule answers four questions: **which camera**, **which event**, **when**, and **who**.

| Field | Example | Notes |
|---|---|---|
| Name | `Gate — person after hours` | Appears in the email subject |
| Camera | Gate — entry | One rule per camera keeps subjects clear |
| Trigger | AI event: Person | Or motion, or a periodic trigger |
| Schedule | 19:00–07:00, Mon–Sat | Outside these hours the rule is silent |
| Recipients | `security@example.com` | Comma-separated for several people |
| Attach snapshot | Yes | Adds a JPEG of the moment |

### Step 3 — Choose triggers carefully

| Trigger | Behaviour | Use |
|---|---|---|
| Motion | Fires on pixel change in the zone | Simple, noisy outdoors |
| AI event | Fires on a person, vehicle, face, plate, fire or smoke | Precise, preferred |
| Periodic | Fires on a timer with a snapshot | Proof-of-life for a quiet site |
| Continuous | Fires while the condition persists | Rarely needed; very noisy |

### Step 4 — Add a siren

1. Open the camera's **Outputs** tab and select the siren or relay output.
2. In the alert rule, enable **Activate siren** and set a duration (5–15 seconds).
3. Test during working hours. A siren firing at 02:00 for a cat is how alerts get ignored.

### Step 5 — Configure upload for evidence

| Target | Fields |
|---|---|
| FTP | Host, port, username, password, remote folder |
| Dropbox | Access token or app credentials, folder |
| MEGA | Account credentials, folder |

Upload only AI events, not every motion trigger: upload targets have quotas, and evidence you
cannot find is worse than no evidence.

### Step 6 — Test every channel

1. Walk in front of the camera during the rule's schedule.
2. Confirm: email arrives with a snapshot, siren sounds, file appears in the upload target.
3. Check the event in [Smart Search](/docs/search-and-investigation/) and confirm it is labelled
   with the model name.

## Configuration examples

| Rule | Camera | Trigger | Schedule | Channels |
|---|---|---|---|---|
| Gate intrusion | Gate — entry | Person | 19:00–07:00 | Email + siren + FTP |
| Vehicle at gate | Gate — entry | Vehicle | 24/7 | Email |
| Plate watch list | Gate — plate | LPD match | 24/7 | Email + Dropbox |
| Fire watch | Warehouse | Fire / smoke | 24/7 | Email + siren + FTP |
| Daily proof of life | Reception | Periodic, hourly | 06:00–22:00 | Email (no snapshot spam) |

## What you should see

- Email arrives within a few seconds, with a clear subject such as
  `[OWL EYE ALERTS] Gate — person after hours — 02:14`.
- The snapshot clearly shows the person or vehicle.
- The siren output activates only for rules where you enabled it.
- Uploaded files appear in the target folder with timestamps that match the event.

## Troubleshooting

| Symptom | Cause | Fix |
|---|---|---|
| No email, SMTP test fails | Wrong port/TLS combination | Try 587 + STARTTLS, then 465 + SSL |
| Email goes to spam | Sender domain reputation | Use a real domain, add SPF/DKIM, keep recipients in the allow-list |
| Alerts fire constantly | Motion trigger outdoors | Switch to AI person/vehicle with a tighter zone |
| Siren never sounds | Output not wired or not selected | Test the output from the camera's own interface first |
| Uploads fail overnight only | Network or quota | Check provider quotas; retry with a smaller clip |
| Alerts arrive but with no image | Snapshot disabled or storage full | Enable snapshot, free disk space |

## Related guides

- [AI Event Detection](/docs/ai-event-detection/)
- [Live Monitoring](/docs/live-monitoring/)
- [Search & Investigation](/docs/search-and-investigation/)
- [FAQ](/docs/faq/)

**Next step:** [Smart Search & Investigation](/docs/search-and-investigation/) →