Open Source · ACAP for Axis devices

Make your camera react on its own

An If-This-Then-That rule engine that runs on the camera. Pick what starts a rule, add conditions, then chain actions: record, move the camera, sound a siren, show a message, alert Teams or Slack, or talk to building and industrial systems. No server needed.

16triggers
9conditions
39actions
43ready-made templates
Try the live preview Download
Disclaimer: This is an independent, community-developed ACAP package and is not an official Axis Communications product. It is not affiliated with, endorsed by, or supported by Axis Communications AB. Use at your own risk.
Why you'd use it

Rules people build with Event Engine

Six examples from the template library. Each one runs entirely on the camera.

Night-time intruder response

When

Object Analytics spots a person inside the perimeter zone

Only if

It's between 19:00 and 06:00 and the system is armed

Then
  • Start recording
  • Sound the siren and strobe
  • Switch on the alarm output for 30 seconds
  • Send a Telegram message with a snapshot
  • Show a warning on the video

Catch tailgating at a door

When

The door opens and motion is detected within 8 seconds of each other

Only if

It's outside office hours

Then
  • Record 30 seconds
  • Send a Telegram alert with a snapshot
  • Pulse the alarm relay

Room air quality on a speaker display

When

Every 60 seconds

Then
  • Read COβ‚‚, temperature and humidity from a nearby Axis air quality sensor
  • Show the values on an Axis speaker display

No broker, gateway or server: one Axis device reads another directly.

Follow the sun

When

The sun sets at the camera's location

Then
  • Switch the camera to night mode
  • Turn on the IR illuminator at 80%

A matching sunrise rule switches back. The times adjust through the year automatically.

Block-listed plate to a Milestone alarm

When

AXIS License Plate Verifier reads a plate

Only if

The plate is on the block list and hasn't been reported yet

Then
  • Raise an alarm in Milestone XProtect that shows the plate and a snapshot

The camera as a SCADA edge node

When

Every 30 seconds

Then
  • Read the latest sensor values
  • Publish them as Sparkplug B to Ignition or another SCADA host

Replaces the industrial gateway normally placed between the camera and the plant network.

How it works

One camera, any number of rules

Each rule listens for one or more triggers, checks its conditions and then runs its actions in order. Rules can also check and control other Axis devices on the network.

What starts a rule

Camera and analytics eventsMotion, Object Analytics, plates, sensors, I/O
TimeSchedules, cron, sunrise and sunset
Other systemsMQTT, webhooks, Modbus, Sparkplug, GPS

Event Engine, on the camera

Checks conditionsTime, day or night, variables, other devices
Runs actions in orderWith delays, cooldowns and limits

What happens

This camera or othersRecord, PTZ, overlays, sirens, speakers, I/O
People are toldSlack, Teams, Telegram, email
Systems are updatedMQTT, HTTP, InfluxDB, Modbus, SCADA, VMS

The preview uses invented sample data. Connect the app to your real device and network for live results.

Web interface

Try the rule editor

Example triggers and actions are simulated; no camera rule is created or executed.

https://192.168.0.90/local/acap_event_engine/index.html
Sample data
Sample data only. This preview isn't connected to a device. Don't enter real credentials. Open the web interface full screen →
Everything it can do

Building blocks for your rules

Mix and match these in any rule. Most camera actions can also target another Axis device on the network.

16 triggers

What starts a rule.

  • Any camera or sensor event
  • Object Analytics scenarios
  • Schedules, cron, sunrise and sunset
  • MQTT messages
  • HTTP webhooks
  • I/O inputs, including wire cut
  • Manual β€œFire now”
  • Another rule ran
  • Counter reaches a value
  • Modbus readings
  • Modbus device errors
  • Sparkplug commands
  • GPS position updates
  • GPS speed
  • Geofence entry and exit
  • GPS fix lost

9 conditions

Checks that must pass before the actions run.

  • Time window
  • Day or night
  • I/O state
  • Counter value
  • Variable value
  • Event data
  • Web check (status, text or JSON value)
  • Object Analytics occupancy
  • Current event state

39 actions

What happens, run in the order you choose.

Tell people

  • Slack
  • Microsoft Teams
  • Telegram
  • Email with snapshot
  • Batched digest

Control the camera

  • Recording
  • Text overlay
  • Image overlay
  • PTZ preset
  • Guard tour
  • Day/night mode
  • Privacy mask
  • Wiper
  • Illuminator and strobe

Sound and signals

  • Audio clip
  • Siren and light
  • Speaker display text
  • Paging console action
  • Paging console button
  • I/O output
  • I/O flash patterns

Send data

  • HTTP request
  • MQTT
  • Snapshot upload
  • FTP / SFTP upload
  • InfluxDB
  • Syslog
  • Sparkplug B
  • Modbus write
  • Camera event for VMS

Logic and system

  • Delay
  • Set variable
  • Counter
  • Run another rule
  • Enable or disable a rule
  • Read device data
  • Set camera parameter
  • Start or stop an app
  • Object Analytics counts
Features

Powerful when you need it, simple when you don't

Combine triggers

Run a rule when any trigger fires, when all fire within a few seconds, or only while all are active, like a door opening plus motion.

Control other Axis devices

Detect on one camera, check a second device, then act on a third: speakers, sirens, I/O modules and paging consoles included.

Variables and counters

Arm and disarm the system, count events and escalate once a limit is reached.

Live values in messages

Drop the camera name, time, a sensor reading or the GPS speed into any alert, overlay or message.

Cooldowns and limits

Avoid alert floods with a minimum gap between runs and a cap per minute, hour or day.

43 ready-made templates

Import a template, fill in your details and you're running.

Download

Get Event Engine

Free and open source. Pick the package for your camera's processor.

Event Engine

Latest release on GitHub
AXIS OS11.11 to 13
ProcessorAARCH64 and ARMv7
Root accessNot required

Check your device's processor and AXIS OS against the compatibility information above before installing.

Install

Up and running in a few minutes

1
Install Event EngineUpload the matching package via Apps → Add app.
2
Start from a templateImport one of the ready-made templates, or build a rule from scratch: trigger, conditions, actions.
3
Test the rulePress Fire now to run it on demand and check the result before relying on it.
4
Read the manualThe online manual covers every trigger, condition and action.
Questions

Good to know

Do I need a server or cloud service?

No. Rules run entirely on the camera. External services are only contacted if you add an action that sends to them.

Does it replace the camera's built-in event rules?

It extends them. Event Engine uses the same device events, adds many more actions, and can fire its own events that the camera's built-in rules and a VMS can react to.

Can a rule affect the camera?

Yes. Actions can start recordings, move PTZ, change overlays, use I/O, or operate supported signals. Review and test rules before enabling them.

Where is the full manual?

See the online manual, the use cases and the README.

Is Event Engine an official Axis product?

No. It is an independent community-developed ACAP.