GitPedia

Node deepstackai trigger

Detects motion using Deepstack AI and calls registered triggers based on trigger rules.

From neilenns·Updated March 5, 2026·View on GitHub·
·Archived

> [!NOTE] > This project is no longer maintained. BlueIris has comprehensive support for AI detection, and many > cameras include AI detection capabilities. The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2020. Key topics include: deepstack, home-automation, home-automation-system, homeassistant, mqtt.

Latest release: v5.8.7Update dependencies
August 19, 2022View Changelog →

DeepStack AI Triggers

[!NOTE]
This project is no longer maintained. BlueIris has comprehensive support for AI detection, and many
cameras include AI detection capabilities.

Open in Visual Studio Code

This system uses Docker containers to run DeepStack AI and process images
from a watch folder, then fires a set of registered triggers to make web request calls, send MQTT
events, and send Telegram messages when specified objects are detected in the images.

This project was heavily inspired by GentlePumpkin's post on ipcamtalk.com
that triggers BlueIris video survelliance using DeepStack as the motion sensing system.

Quick start - basic web requests

The following five steps are all that's required to start using AI to analyze images and
then call a web URL, e.g. triggering a BlueIris camera to record.

  1. Install Docker
  2. Copy the docker-compose.yml, settings.json and triggers.json files from the sampleConfiguration directory locally.
  3. Edit the docker-compose.yml file to modify the mount point for source images and set the timezone.
  4. Edit triggers.json to define the triggers you want to use.
  5. Run docker-compose up from within the folder that contains your docker-compose.yml file to start the system running.

Setting the timezone via the TZ environment variable in docker-compose.yml is important for
every thing to work smoothly. By default Docker containers are in UTC and that messes up
logic to skip existing images on restart. A list of valid timezones is available on
Wikipedia. Use any value
from the TZ database name column.

Editing the .json files in Visual Studio Code or some other editor
that understands JSON schemas is recommended: you'll get full auto-complete and documentation as
you type.

Having trouble? Check the logs output from Docker for any errors the system may throw.
The troubleshooting
page has tips for resolving common deployment problems.

Quick start - enabling MQTT, Pushbullet, Pushover and Telegram

To enable the different push notifications handlers:

  1. Edit settings.json to specify specify the connection information for the service.
  2. Edit triggers.json to add mqtt, Pushbullet, Pushover, or Telegram handlers.

Learning more

The project wiki has complete documentation on:

Supported Docker image tags

The following tags are available in the repository:

Tag nameDescription
latestThe latest released build.
<version>The specific released version, e.g. v1.5.0.

Contributors

Showing top 7 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from neilenns/node-deepstackai-trigger via the GitHub API.Last fetched: 6/22/2026