Vigiora

Ця сторінка ще недоступна мовою «Українська». Її показано англійською.

Analytics alertsЗ версії 1.6.16

Get told when an area is nearly full, a queue gets long, someone loiters, a car overstays a bay or fewer people come in than expected.

У застосунку: /analytics

From version 1.6.16, Analytics raises alerts when its numbers cross a limit. Each rule watches one area, line, zone or camera. An alert appears in Recordings (with Needs attention on) like any other, and can also go to push notifications, email, Telegram, LINE and webhooks.

These rules work on counts and positions, not on what the AI sees in the video. To be told about a situation described in words, such as "a parcel left at the door", use Guardian alert rules.

An alert rule: what it watches, when it fires, and where the alert goes.

Add a rule#

  1. Open the alerts section

    Open Home → Analytics, pick the area's tab and scroll to Alerts. Admins and operators see Alert rules with a Rule button.

  2. Choose the kind and the target

    Click Rule. Give the rule a Name, choose its Kind (below), then the Target it watches: an area, a line, a zone or a camera, depending on the kind.

  3. Set the limit

    Fill in the kind's settings, such as Percent full or People in queue.

  4. Choose when and how often

    Pick the Severity (Low, Normal or High), the Cooldown (minutes) and, if the rule should only work at some times, its Active hours.

  5. Choose where it goes

    Under Notify through, choose the channels (below), then save.

You need operator permission on every camera the target uses. Viewers see the rules and the alerts of what they may see.

Kinds of rule#

KindWatchesFires when
CapacityAn area with a capacityOccupancy reaches Percent full (90 % by default) of the capacity, and again at 100 %.
Queue lengthA queue zoneAt least People in queue are queuing for For minutes.
Queue waitA queue zoneSomeone has waited Seconds.
LoiteringA zoneSomeone has stayed Seconds in the zone.
Wrong directionA lineSomeone crosses in the Direction you forbid (In or Out), such as through an exit-only door.
TailgatingA lineTwo people cross In within Within (seconds) of each other, at an access door.
SpeedA lineSomething crosses at Speed limit (km/h) or more. Only on a camera with a reference distance, and only as accurate as it is.
No bays freeAn area or camera with baysNo bay has been free for For minutes.
Zone emptyA zoneNobody has been in the zone for For minutes while it should be staffed, for example a reception desk.
Line below expectedA lineFewer than Expected people came in over the last Per hours. Checked every 15 minutes.
Reserved bay takenA bayA vehicle is in the bay during its reserved schedule.
Bay overstayA bayA vehicle stays longer than the bay's Max stay (min).

Queues and bays are kinds of zone: see Queues, parking and speed.

When a rule fires#

  • Cooldown: the same rule doesn't fire again within its cooldown (5 minutes by default). Conditions that stay true, such as Capacity, Queue length, No bays free and Zone empty, fire again once per cooldown while they last, and at most once a minute.
  • Active hours: a rule fires only inside its windows. Without any, it works all the time. See Opening hours and schedules.
  • Zone empty without active hours follows the Open hours of the zone's area. With neither, it never fires.
  • Line below expected looks back over the last hours, so it can fire as soon as its active hours start.
  • Deleting a line, zone or area deletes the rules that watch it.

Where alerts go#

Every alert appears in Recordings (with Needs attention on), labelled with the kind, for example analytics:capacity, and under Recent alerts in the Analytics page's alerts section. A line or zone alert can carry a live picture from the camera at that moment.

Notify throughОписЗа замовчуванням
PushA push notification to the Vigiora app and browsers.On
Email recipientsUp to 10 addresses, separated by commas.None
Mark as alert (badge, floor plan, webhooks)Counts it as an alert: the red badge on Alerts, the pulse on floor plans, alert-only lists and the alert.created webhook event.On
TelegramSends it to the Telegram chats set up under Integrations.Off
LINESends it to the LINE recipients set up under Integrations.Off
SnapshotAttaches a live picture from the camera, for line and zone rules.Off

Telegram and LINE need setting up first: see Integrations. Until then the form says Set up Telegram under Integrations to use it.

Alert history#

Recent alerts lists the latest firings of the area's rules, each with the rule, the time and the measured value: the percent full, the people queued, the seconds waited or the speed. Each rule shows Last fired and can be turned off with its switch, edited or deleted.

With the API#

Rules are /api/v1/analytics/alert-rules and the history /api/v1/analytics/alert-events, with the analytics:read and analytics:write scopes. See API v1.

Редагувати цю сторінку на GitHub