Automations and Rules
https://demo.timeline.is/help/cameras/automations
Last updated: November 26, 2026
Table of Contents

Automations and Rules

An automation takes the actions you choose when something happens on a camera. A people count rule watches the number of people inside a camera region and acts when that count has stayed above or below a threshold for a set time. For example, notify a manager by email when a counter has been unattended for 60 seconds, or notify a user when a crowd forms near an entrance. A TetherX AI Detection rule acts on what TetherX AI detects on the camera, such as a person, a vehicle or a fall. A Camera and Third Party Analytics rule acts on a detection from the camera's own analytics or from a third party AI such as Lumana.

The Rules menu opens the automations for the timeline you are viewing. Choose another timeline in the sidebar to see its automations. A camera's Rules tab opens its own automations. The page title is Automations; each saved item is a rule.

 Before You Start

  • Rules is in the main menu for every account except distributors. You can review the rules on the cameras you can see and add new ones for them. A rule can only notify a TetherX user that you can see. If you would like help with one, contact TetherX Support with the camera, area, threshold, duration and required actions.
  • A people count rule needs a camera with TetherX AI enabled on its TetherBox, a working view of the area, and the camera set to Recording. The builder explains these requirements if the camera is not ready.
  • A Camera and Third Party Analytics rule needs none of these. It works on any camera that reports detections, including a camera whose detections come only from Lumana.
  • For a people count rule, the cloud, TetherBox and AI detector need compatible automation software. It becomes active after the TetherBox confirms its configuration and reports observations.
  • Audio, relay and deterrent actions need the corresponding configured equipment and permissions. Unavailable action cards say that compatible hardware and permission are required.

For a people count rule, the TetherBox evaluates the count and duration. For a detection rule of either kind, TetherX acts on each detection as it arrives. Either way, TetherX sends notifications and commands the selected outputs when the rule activates. A camera or detector that stops reporting does not establish that an area is empty.

 Create an Automation

From the Rules menu, choose the kind of rule first, then the camera:

  1. Open Rules. With no rules yet, the kinds of rule are shown straight away; otherwise select Create automation.
  2. Select a kind of rule, such as Unattended Counter or TetherX AI Detection.
  3. Choose the camera and select Continue. Every camera you may set automations up for is listed. A camera that cannot run the kind you chose stays in the list with the reason beside its name, such as Requires TetherX AI, and Continue stays unavailable until you choose one that can. TetherX AI explains what TetherX AI does and how it is enabled.
  4. The builder opens on that camera with your kind of rule chosen, at the next step. Select Choose another kind of rule or use the browser's back button to change either choice.

From a camera, go to Admin → Cameras → select the camera → Rules tab → Create automation, and choose the kind of rule in the builder's first step.

The five steps are Watch, Where, When, Actions and Review. Use Previous or a completed step to change an earlier choice.

1. Choose What to Watch

  • Unattended Counter starts with fewer than 1 person for 60 seconds.
  • Too Many People starts with more than 5 people in the region at once for 60 seconds, for example a room over its capacity or a crowded entrance.
  • Queue Building starts with more than 5 people for 2 minutes. Draw the region over a queue, at a till or a reception desk, and send a push notification to a manager so they can open another till before the wait gets long.
  • Group Loitering starts with 3 or more people who each stay in the region for more than 5 minutes, for example in a stairwell or a communal area.
  • Loitering starts with people who stay in the region for more than 60 seconds.
  • Vehicle Overstay starts with vehicles that stay in the region for more than 10 minutes, for example in a short-stay bay, a drop-off lane or a loading bay. Change the time to suit the area.
  • Person Without a Vehicle starts with people who stay for more than 20 seconds while there are no vehicles in the same region for 20 seconds. See Example: Someone at an EV Charger Without a Vehicle.
  • After-Hours Intrusion starts with at least 1 person in the region for 5 seconds, and sets Opening hours to Out of hours (overnight on weekdays, plus all weekend). Change the hours in the When step to match when the site is closed.
  • Missing Hi-Vis starts with at least 1 person without hi-vis in the region for 10 seconds. It needs PPE turned on in the camera's TetherX AI settings. See Choose Who Is Counted.
  • Fall Detected (beta) starts with a fall or a person down, at least 1 for 5 seconds. It needs Person down detection turned on in the camera's TetherX AI settings. See Fall and fire analytics (beta).
  • Fire or Smoke (beta) starts with fire or smoke, at least 1 for 5 seconds. It needs Fire and smoke detection turned on in the camera's TetherX AI settings. See Fall and fire analytics (beta).
  • Custom rule lets you combine your own count conditions and actions.
  • TetherX AI Detection responds when TetherX AI detects a person, a vehicle, an animal, a fall, fire or smoke on this camera. It is available where the camera runs TetherX AI. See Respond to a TetherX AI Detection.
  • Camera and Third Party Analytics responds when the camera's own analytics or a third party AI reports a detection. What TetherX AI detects reaches only a TetherX AI Detection rule. See Respond to Camera and Third Party Analytics.

Below them, Coming soon shows kinds of rule that are on the way and cannot be chosen yet: Facial Recognition (closed beta), Tailgating and Aggression Detection. Facial Recognition suggests possible matches against your allow and deny lists for a person to confirm. To ask about joining its closed beta, select Request access on its card, which opens Support.

The count presets are starting values. Change them to suit the camera and area. A kind that needs a camera setting which is off says so on its card, such as Needs PPE turned on, and the step links to the camera's TetherX AI settings. Only TetherX staff can change those settings; ask your system administrator or TetherX support. The screenshots below illustrate a crowd alert in a shopping centre.

The Watch step with Too Many People selected, alongside Unattended Counter and Custom rule

2. Draw and Name the Region

  1. Choose Area on the camera picture.
  2. Tap the corners of the area to watch, then choose Finish.
  3. Give the region a name, such as Front counter or Central area.
  4. Choose Continue. Existing named regions can also be used, and you can draw additional regions for other conditions.

The Where step with a named Central area polygon on the camera image and drawing instructions beside it

People count when the centre of their detected bounding box is inside the region. The count describes people detected in that area; it does not identify an employee or measure the number of visitors who crossed an entrance.

Tip: For an unattended counter, draw the staff position behind the counter. Including the customer queue can make waiting customers count as somebody attending the counter.

For totals of entries and exits over a day, see People Counting.

3. Set the Count and Duration

Select People in region, a Comparison, the Number of people and For at least (seconds).

Example Region Comparison People Seconds
An unattended counter Front counter None - 60
A crowd lasting a minute Central area Is above 5 60
A threshold that includes five people Central area Is at least 5 60

None means nobody is in the region, so it needs no number. Is above 5 means six or more people. Is at least 5 includes five.

The count must meet the comparison continuously for the duration. If it stops meeting the comparison, that condition's timer starts again the next time it qualifies. A gap in valid observations also resets the timer.

Choose Who Is Counted

When the relevant camera detection is enabled, Who to count offers these filters:

Camera Detection Conditions Offered
PPE People without PPE, without hi-vis, or without a hard hat.
Face covered People assessed with a covered face.
Age and apparent gender estimates Estimated child, adult or elderly people, or estimated male or female appearance. These are estimates, not verified identity.
Weapon detection (experimental) People with a detected weapon, handgun or long gun. The weapon detector is an optional POC.

Anyone counts every detected person. A filtered condition counts only assessed matching people; unknown estimates and unassessed attributes do not match. A verdict must remain present on a tracked person for two seconds before the filtered count includes them. Weapon filters require compatible version 4 automation software on the cloud, TetherBox and detector.

An enabled rule prevents its required detection switch from being turned off. Pause or change the rule first. Face-identity and cleanliness POCs are outside this person-count builder; their separate outputs are not offered as person-count conditions.

Loitering: People or Vehicles That Stay

What to count also offers People who stay and Vehicles that stay, which read as a sentence: when people stay in the region for more than a time you choose. Pick the time as a number of seconds, minutes or hours, from 10 seconds to 24 hours. Vehicles on its own counts the vehicles in the region at that moment, as People does for people. The loitering choices appear only when the camera's TetherBox has told the cloud it supports them; a TetherBox that does not yet needs updating first. A vehicle condition cannot be narrowed to some people, so the person filters are hidden for vehicles.

What to count can also offer four experimental (beta) choices: Person down, Fall, Fire and Smoke. They count what TetherX AI sees in the region, with the comparison and for N seconds you choose, as People does. A choice appears only when the matching camera setting is on (person down and fall detection, or fire and smoke detection) and the camera's TetherBox has told the cloud it supports it; a TetherBox that does not yet needs updating first. They cannot be timed with a stay and have no person filter.

What it measures:

  • Each person or vehicle is timed separately, from the moment it enters the region. A step outside the region of up to 5 seconds does not reset the clock.
  • A gap of more than 2 seconds in the video stream restarts every clock.
  • Someone already in the region when the TetherBox starts is timed from then, so the alert says the person has stayed at least that long.
  • A person who is standing still must be confirmed by a second look before they are counted.

For one person or vehicle leave the number at 1. For group loitering raise the number: the condition is met when that many have each stayed for the time chosen. Loitering conditions combine with other conditions and with active hours like any other condition.

When a loitering condition is met, the activation lists who stayed and for how long, the event appears as Loitering, and a site with professional monitoring reports it to the control room as Loitering.

Example: Someone at an EV Charger Without a Vehicle

A driver charging a car stands beside it. Someone who stays at the charger with no vehicle there may be trying to take the charging cable or damage the charger.

  1. In Watch, choose Person Without a Vehicle.
  2. In Where, draw one region over the whole charging bay, including the charger and the space where a car parks. Draw it large enough that a parked car is fully inside it.
  3. In When, the rule already reads When people stay in Charging bay for more than 20 seconds and No vehicles in Charging bay for 20 seconds, with Every condition must be true. Change either time if needed.
  4. In Actions, choose Notify TetherX user with Push. Add an audio challenge or a deterrent once the rule behaves as intended.

A car in the bay stops the rule, so a driver plugging in or waiting does not trigger it. The rule relies on TetherX AI seeing the vehicle: in poor light or at a steep angle a car that is not detected counts as no vehicle. Check the first few activations against the recordings. The same rule suits a fuel pump, a loading bay or a parking space.

Fall and fire analytics (beta)

Camera settings also offer Fire and smoke detection and Person down detection (with the number of seconds a person must be seen lying down). Both are off by default and experimental. They are a supplementary aid, not a certified fire or fall detector, and they do not replace a fire alarm panel. When one is on, its detections are triggers like any other object trigger: Person down, Person fall, Flame and Smoke can be selected in a trigger rule or alarm. They are never sent to a monitoring station as a fire alarm.

The When step counting more than five people in Central area for at least 60 seconds

Combine Conditions

Choose Add condition when another count should be checked:

  • Every condition must be true joins conditions with AND. Each must meet its own count and duration at the time the rule activates. For example, the staff region is empty for 60 seconds and the customer region has at least one person for 10 seconds.
  • Any condition can trigger it joins conditions with OR. One qualifying condition is enough. For example, the same area is crowded or empty for 60 seconds.
  • Add condition group puts alternatives inside a group. For example, require an unattended counter and either of two customer waiting areas to contain people. Give each region its own name so the review is easy to check.

Two alternative conditions joined by OR: more than five people or fewer than one person in Central area, each lasting 60 seconds

Choose Active Hours

Expand Opening hours (default is always) to select the days and times when the rule should run. With no hours selected, the rule runs all day. Check the timezone shown in the editor; it uses the site's local clock.

These hours are independent of the camera's arming and control-room monitoring schedule. Choose explicit hours if, for example, a counter should be staffed only while the business is open. Leaving the active hours resets the condition timers.

4. Choose the Actions

Select an action card, complete its settings and add further actions if needed. Each action appears as a separate card below the choices. Use Remove to discard an action.

Action What to Choose
Notify TetherX user An accessible user and Push, Email, or Push and email.
Play audio challenge A saved Recording and play count. Record new message lets you name a message, hold to record, listen and save it. Playback uses the camera's configured speaker output.
Set relay output The PicoFlex board, a reported Output number, On, Off or Pulse, and the maximum duration where applicable.
Set camera light On or Off for ordinary illumination. On requests Off after the maximum duration, using the existing Light control and its PTZ permission.
Activate camera deterrent A supported siren, strobe or relay and On or Off. On uses the maximum duration and any recording/output choices the camera offers. A fixed siren does not need a recording selection.
Garrison mode Participating cameras at the same site and On or Off. On activates supported sirens and strobes on those selected cameras for the chosen duration; Off sends stop commands.

Off actions do not require a duration or recording and do not turn the output back on when the rule clears. Ordinary illumination is controlled separately from the strobe. The operator console's manual Garrison control acts on permitted compatible cameras at the site; an automation uses the cameras selected in its action.

The Actions step with notification, email, audio and relay choices, and an email to manager@example.com configured

Tip: Start with a notification while checking the region and timing. Add the audio or physical output once the rule behaves as intended on that camera.

5. Review and Save

Check When, During and Then. Use Edit beside a section to change it. Enter a recognisable Name and leave Enabled checked to run the rule, or clear it to save the rule paused.

Expand Activation limits to set the minimum time between activations and maximum activations per hour. These limit new activations; they do not send another notification every minute while a condition remains true.

The Review step showing the crowd condition, Always schedule, destination email, name, Enabled checkbox and Save automation button

Choose Save automation. A people count rule initially shows Syncing with TetherBox. It shows Active on TetherBox after the matching configuration is acknowledged and current observations arrive.

Respond to a TetherX AI Detection

Choose TetherX AI Detection in Watch. Like a Camera and Third Party Analytics rule, it has no region, so the builder skips Where. It acts only on what TetherX AI detects on this camera, so a detection from the camera's own analytics or from a third party AI never triggers it.

In When, the detections are listed with the same layout as the trigger filter on Events: search for a detection, tick it, or set a whole category at once. Choose Any condition can trigger it to act on any of the ticked detections, or Every condition must be true to act only when one detection includes all of them. The window holds what TetherX AI can detect:

  • People and animals: Person, Bicycle and Animal, and Face and Weapon detected seen on a person.
  • Vehicles: Vehicle for any kind, or Car, Truck, Bus, Motorcycle and Vehicle (unknown type) separately.
  • Fall and fire analytics: Person down detected (beta), Person fall detected (beta), Flame detected (beta) and Smoke detected (beta). These need their detection switch turned on for the camera.
  • Movement: whether a person, bicycle, vehicle or animal is moving or static.

Set Opening hours, the Actions and the Activation limits exactly as in Respond to Camera and Third Party Analytics.

Respond to Camera and Third Party Analytics

Choose Camera and Third Party Analytics in Watch. This rule has no region, so the builder skips Where. It acts on what the camera's own analytics or a third party AI reports. What TetherX AI detects on the same camera does not trigger it: use a TetherX AI Detection rule for that.

  1. In When, choose a Detection from the list, such as Person, Vehicle, Line crossing or Lumana AI. The list holds every detection TetherX knows, so you can set up a rule before the camera has reported it. Choose Add condition for more.
  2. Choose how the detections combine:
    • Every condition must be true: a single detection must include every choice. Add Person and Lumana AI to act only on people Lumana detects.
    • Any condition can trigger it: a detection that includes any choice is enough.
  3. Set Opening hours, the Actions and the Activation limits as for any other rule.

A rule's conditions are either all detections or all people counts. Each activation in Recent activations lists what was detected.

With Lumana, you can create rules in Lumana or in TetherX. See Rules in Lumana or in TetherX.

 Check Results and Change a Rule

Open a saved rule from Rules or its camera's Rules tab. It opens on Review, with its status and Recent activations below. Each activation links to its event and lists the region counts and action results.

An action shown as accepted or queued records delivery or command progress. It does not by itself prove that an email was read or a physical device operated successfully. Check any failed or unconfirmed result and the actual equipment when testing outputs.

The rule starts a new activation after its conditions clear and subsequently qualify again, subject to its activation limits. Pausing or changing a rule ends its current activation. Physical outputs have bounded durations, and TetherX requests a stop when their activation ends; normal email and push notifications are not withdrawn.

 Troubleshooting

What You See What to Check
Rules is missing The menu entry is shown to every account except distributors, and only on a timeline whose Menu settings leave it on. A camera's Rules tab is shown only to Staff, Admin and Integrator accounts. Contact TetherX Support if you need a rule configured.
People counts need TetherX AI or require Recording mode Enable TetherX AI and set the camera to Recording for a people count rule, or choose Camera and Third Party Analytics, which needs neither.
Syncing with TetherBox persists Check that the TetherBox is online and its cloud, box and detector software support automations.
Unavailable Check the camera's active state, TetherBox connection and current AI observations. An old observation is not a current count.
Paused Open the rule, check Enabled and save when it should run.
Activation limit reached Review the hourly limit and the camera's recent activations.
A condition does not activate Check the region, comparison, duration and active hours. A person outside the polygon does not count, and an interrupted condition restarts its timer.
An output action is unavailable Check the configured speaker, reported relay outputs or advertised deterrents, and the account's permissions.
The first alert arrived but no more followed The same ongoing activation does not create repeated notifications. Check whether the condition cleared and qualified again.

The camera picture is a shopping centre interior by PattayaPatrol (opens in a new tab), licensed under CC BY-SA 4.0 (opens in a new tab), resized and shown with the region editor drawn over it.

Last updated: November 26, 2026