Trigger Tab

Details the major steps to configure and deploy Blue Iris.
Start with Onboarding Checklist article.
1. Setup Windows to work well with Blue Iris.
2. Connecting IP cameras.
3. Setting up Storage and Recordings.
4. Configuring your home or office network for Remote Access via a web browser or the phone apps.
5. Creating Triggers and Alerts.
6. Setting up AI with DeepStack
7. Creating Schedules and Profiles
Post Reply
Posts: 90
Joined: Thu Jul 11, 2019 9:52 pm

Trigger Tab

Post by varghesesa »


This article goes under the covers of the Trigger tab. This article is part of the Triggers / Recordings / Alerts series where we go deep into one of the most popular features of Blue Iris (BI), the ability to define motion triggers -> instruct BI to record when cameras trigger -> send corresponding alerts.

If you prefer to listen instead of read, watch the webinar associated with this article, The Trigger Tab webinar.

We also have an overview Triggers and Alerts 101 webinar for those who are new to BI.

Blue Iris Model

[webinar discussion at 5:11]

One way to think about Blue Iris is a software engine (server) that processes inputs/sensors from the outside world (Triggers) and makes sense of them by sending the appropriate Alerts.

triggers-and-alerts_optimized.png (15.73 KiB) Viewed 18137 times

It is important to map the model into the BI dialogs and features. The triggers in the mental image come straight from the Trigger sources and zones controls in the Alerts tab.

trigger settings.PNG
trigger settings.PNG (57.38 KiB) Viewed 18137 times

Furthermore, the Alerts list comes straight from the Action Set seen frequently throughout the application.

action set.png
action set.png (55.18 KiB) Viewed 18137 times

The other large component of BI functionality is connecting / managing cameras and recording moments of interest.

trigger_BI model.png
trigger_BI model.png (76.88 KiB) Viewed 18137 times

This article is focused on the most common scenario, i.e. setting your motion sensors to trigger motion triggers, recording those moments in time and sending alerts to yourself, i.e. Push notifications to the mobile app, SMS messages and/or Email alerts.

trigger_common alerts.png
trigger_common alerts.png (61.79 KiB) Viewed 18136 times

Triggers / Recordings / Alerts Model

[webinar discussion at 10:17]

The model below is very important to understand in terms of what is really going on behind the scenes with the BI software / logic. The image also maps the model to the BI user interface. Once the model (how BI thinks) is understood, it becomes very easy to understand what BI is doing based on the visual affects in the user interface. This is one of the most powerful features of BI. The visual affects in the UI reflects on your settings and provides feedback so you can see for yourself if your settings work. It makes tuning your system so much easier.

triggers recordings model.png
triggers recordings model.png (107.36 KiB) Viewed 18135 times

Trigger Tab Uncovered

[webinar discussion at 18:30]

Trigger dialog
Like most BI dialogs, the top half consists of settings pertinent to the topic being addressed by the dialog. In this case the Trigger settings are at the top of the dialog.
The bottom half of the dialog pertains to actions you can take based on the trigger settings.

trigger_uncovered.png (58.23 KiB) Viewed 18134 times

Trigger actions

[webinar discussion at 20:25]

Let's start with the bottom half of the dialog, the trigger actions. The Add to alerts list action is the most important setting.
  • No: This option is rarely used. If for some reason you do not want a record in the database associated with a trigger, you would choose No.
  • Database only: Default setting. Write the trigger details in the database. By doing so the Alerts in the clips list and the timeline gets populated.
FYI, the settings are additive as you move down the list box. For example if you choose Hi-res JPEG, the Database Only option is still fulfilled, i.e. the Hi-res JPEG option is fulfilled in addition to writing/storing information into the database.
  • Hi-res JPEG files: First option in list box to start creating hard copies of trigger events. This selection will save the Trigger leading edge image to the Alerts folder.
  • Export to MP4 files: Option to save the motion trigger into MP4 format in the Alerts folder.
    Small businesses such as 7-Eleven owners use this option frequently. MP4 files are created immediately and saved to the Alerts folder. The Alerts folder is often synced to a cloud storage service like Google drive. This way the MP4 files are saved to the cloud immediately. The 7-Eleven owner is assured if he gets robbed and the robber smashes the BI server, the evidence is still available in the cloud for retrieval.
trigger_trigger actions.png
trigger_trigger actions.png (119.49 KiB) Viewed 18134 times

Motion sensor dialog

[webinar discussion at 25:27]

trigger_motion sensor.png
trigger_motion sensor.png (94.86 KiB) Viewed 18133 times

With the Motion sensors, the most important concept is to understand Sense -> Motion -> Trigger.
  • In terms of settings, Contrast corresponds to Sense, i.e. the camera sensitivity associated with determining motion on a camera.
  • The Min. object size corresponds to the Motion, i.e. BI will pay attention to an object as soon as it has met the minimum object threshold.
  • The MAKE time is how long the minimum object needs to be in motion before BI decides to trigger, i.e. create a motion trigger.
[webinar discussion at 26:52]

trigger_sense motion trigger.png
trigger_sense motion trigger.png (129.49 KiB) Viewed 18128 times

Advanced trigger options

There are additional settings in the Advanced section.
  • Object travels
  • Object size exceeds
  • Zones
Refer to the "Triggers and Alerts 101 webinar" for details. See our onboarding playlist in the YouTube channel.

trigger_filters.png (58.28 KiB) Viewed 18126 times

Optimal Motion sensor settings with AI

[webinar discussion at 35:32]

With AI, some of the motion sensor settings can now be loosened or skipped because AI can often do a better job of filtering the event accurately. I have come to not rely on Object travels and Zone crossing as much any more. I still define a Zone A often as the area of interest for the camera. There is no reason to waste resources processing activities occurring across the street from your house.

trigger_AI settings.png
trigger_AI settings.png (45.12 KiB) Viewed 18126 times

Case Study: Creating Triggers -> Alerts

I walk through a use case that is appearing more and more based on tickets. Users want to track two events from the same camera.

  1. Users want a record in their database when a person walks on the sidewalk or a car drives on the street.
  2. However, the user ONLY wants to be alerted when a car drives into the driveway OR a person enters their property.
  • This use case will introduce users to the Wait action command and its usage.
  • A deeper understanding of how the motion sensors logic works.
[webinar discussion at 42:13]

triggers_case study.png
triggers_case study.png (63.56 KiB) Viewed 18124 times

triggers_case.png (25.68 KiB) Viewed 18124 times

trigger_case study solution.png
trigger_case study solution.png (51.31 KiB) Viewed 18124 times

trigger_wrong solution.png
trigger_wrong solution.png (59.42 KiB) Viewed 18124 times

trigger_similar.png (79.42 KiB) Viewed 18124 times


The gotchas section documents learnings from past tickets.

Gotcha 1: Motion triggers stopped

See Recording troubleshooting guide.
Motion triggers stopped are often in the context of no recordings. The above takes Trigger and Record settings into account.

Gotcha 2: Anamorphic

Issue: User has a 2MP+ camera. The camera would not trigger. However, the motion sensor seemed to be sensing fine in the playback window.

Fix: User had anamorphic selected.
Camera settings -> Video tab.
This is a Trigger gotcha because the camera would never trigger. The reason it would not trigger is because the video was scaled down considerably before going to the motion sensor and causing the motion sensor to never trigger (e.g. min object size would never be met).

trigger_gotcha2_anamorphic.png (36.86 KiB) Viewed 16303 times

The user basically reduced his camera to a low-end USB camera with the image drastically scaled down.

trigger_gotcha2_image_optimized.png (87.16 KiB) Viewed 16303 times
Post Reply