
Blog - FixedIT Edge UnlockedPractical insights from the frontlines of apps at the edge on Axis devices.






Ever wanted a more flexible loitering alarm than what the Axis camera's built-in analytics can offer? Maybe you want detailed statistics on how long a customer spends in a particular zone? In this guide, we will show you how to get this using the FixedIT Data Agent edge-based application (ACAP app).
In a few simple steps you will get:
Fully customizable time-in-area logic
Working on cameras without built-in time-in-area analytics (e.g. fisheye)
Running entirely on-device (no extra hardware, no cloud)
Integrating with Axis events, most VMSs and camera overlays
“Time in area” is a metric that tracks how long a person or object has stayed within a defined zone in the scene. This can be used to detect loitering or monitor dwell time, among other things.
In practice, this enables a wide range of use cases across industries. In retail, it can be used to measure customer dwell time in front of shelves or displays to optimize store layout and product placement. In security, it allows for more flexible loitering detection in sensitive areas such as entrances, exits, or restricted zones. In operations and logistics, it can be used to detect vehicles blocking critical areas, monitor queue times, or identify process bottlenecks.
While AXIS Object Analytics already has time-in-area functionality, it is not supported in all cameras (e.g. fisheye cameras), and for some use cases it might not be flexible enough. For those scenarios, the implementation for the FixedIT Data Agent offers a fully customizable alternative, allowing you to adapt both the logic and behavior to your specific environment.
On top of calculating this metric for the objects and people in the view, this time-in-area module also includes logic that triggers visual alerts in the view (overlays) and Axis events when something has been in the specified area for too long.
The FixedIT Data Agent is an ACAP application that can be installed in the Axis devices. Other examples of ACAP applications you might be familiar with are AXIS License Plate Verifier and AXIS Video Motion Detection. Some applications come pre-installed in the devices, but more can be installed through the device’s user interface. Axis has multiple ACAP applications available, but since the development platform is open, anyone can make their own applications.
The Time-in-Area integration runs as a custom implementation made for the FixedIT Data Agent. The FixedIT Data Agent is an all-in-one platform to monitor, integrate, and build with Axis cameras. It allows you to run scripted analytics and automation workflows directly in the camera. You can run a project as is by loading a file, or you can edit the project simply by changing the script. This differs from traditional ACAP development where an ACAP app is fixed, the source code closed and the project can't be customized or adapted to your needs.
The time-in-area project is not part of the FixedIT Data Agent application out of the box, but instead, the files can be uploaded to the application and enabled/disabled when needed. You can think of it as a plugin for the FixedIT Data Agent. The image below describes what each component of this system is running on.

The diagram shows the different components in the system. Yellow components are built-in functionality in the camera. Blue components are platforms developed by FixedIT. Gray components are project code that can be uploaded as is or changed by the user.
The FixedIT Data Agent is designed to ingest, process, and forward data to external systems. It uses Telegraf to manage that data flow, where inputs, processors, and outputs are defined through Telegraf plugins. These plugins can be composed into custom configuration files that define complete data pipelines and automation workflows. By uploading these configuration files to the FixedIT Data Agent, they become part of the Telegraf configuration, enabling the deployment of custom projects directly on the camera.
While the FixedIT Data Agent is a very flexible solution designed to support any custom project implementation, this article will focus on using it with the Time-in-Area integration. For those interested in learning more, you can find additional content covering other custom integrations more in-depth on the product page.
In the following video, you can see a short presentation about the time-in-area project and why we created it.

The time-in-area module is using detection data from the Axis device’s deep-learning based metadata stream, which includes information about the people and objects detected in the scene. That data is made into metrics that are then handled through the processors. These processors perform all the logic for calculating the time-in-area and checking if it has gone over the defined threshold. Finally, the outputs receive the processed metrics and use the information in them to trigger Axis events and draw an overlay.

The image shows a high-level diagram of the data flow.
The entire pipeline is distributed as a single configuration file for convenience and ease of installation. Originally, it is however made up of multiple configuration files, shell scripts and starlark files. The individual files are available in our public examples repository, along with a more detailed, file-by-file explanation of the data flow.
To get the Time-in-Area project running in your Axis camera, you will need the following files:
The .eap file for the FixedIT Data Agent application.
A license code or license file. One license is required for each device, and once a license code is activated, it is linked to that specific device’s serial number.
The time-in-area configuration file (download here)
The custom user interface file (download here).
You will receive the .eap file and the license file when you buy a license for the FixedIT Data Agent application, but you can also email us at [email protected] to receive a time-limited trial version. You can also fill out the form at the bottom of this page.
To get the .conf and .html file for the time-in-area project, click the links above, and then on the download button for each file.

Installing the FixedIT Data Agent
The first step is to install the FixedIT Data Agent in your Axis device. The application comes in two different variants, one for the armv7hf models and one for the aarch64 models. In AXIS OS versions 12.5 and newer, the architecture used by each device can be seen when clicking on Add app, next to Architecture:

If you are using an AXIS OS version older than 12.5, the architecture might not be displayed when adding an application. If that is the case, you can find the architecture by visiting:
http://<DEVICE_IP>/axis-cgi/param.cgi?action=list&group=root.Properties.System.ArchitectureActivating the License
This application requires a license to run. After installation, the application can be turned on, but if the license is not activated, it will not perform any tasks.
If the license is not activated, a message will appear on the application in the camera's UI, as shown in the image below.

The license can be activated through the camera's UI by clicking on the three dots next to the application and either selecting Activate license with a key (if you have a key file) or Activate license automatically if you have a license code.

Using automatic license activation is usually easier, but it requires the camera to be connected to the internet. If your device does not have internet connectivity, refer to the FixedIT Data Agent quick-start guide for instructions.
Starting the Application
Before accessing the application's user interface to upload all the necessary files, the application needs to be running. You can start the application by clicking on the toggle:

Uploading the Workflow Configuration
The time-in-area logic is implemented through a workflow configuration file that can be uploaded to the FixedIT Data Agent. This file can be uploaded through the application's user interface, which can be accessed by clicking on the Open button:

In the application's user interface, click on the Configuration tab to the left:

The time-in-area logic requires the bundled configuration files to be disabled, so you should disable them by clicking the Disable button next to the Bundled config files section.

This is necessary because Telegraf combines all enabled configuration files, so the bundled ones would be combined with the Time-in-Area configuration and could potentially interfere with the workflow.
Next, click on the Upload Config button at the top right corner and upload the time_in_area.conf configuration file.


The time_in_area.conf file can be enabled by clicking on the Enable button next to it.

The user interface should look like this once everything is uploaded and the necessary file is enabled:

Loading the Custom UI and Configuring the Time-in-Area Logic
Now, the project is already enabled and running, but to make configuration of time-in-area settings easier, a project-specific user interface can be used. The FixedIT Data Agent allows you to upload custom user interface for use-case-specific configuration. The time-in-area project's custom UI can be used for easily configuring settings such as the include area.
The custom UI page can be accessed by clicking on Custom UI on the left-side menu.

The custom UI file can be uploaded by clicking on the Upload File button in the top-right corner. A pop-up menu will appear and you can select a file by clicking on the Choose a File button.

After selecting the time_in_area.html file, click on the Upload button.

The uploaded custom UI file is now accessible as an embedded view and contains the custom configuration utility for the time-in-area project.

If you intend to use the application without any specific include area (i.e. analyze the whole visible view of the camera), then all you need to do is to type the time-in-area threshold in the Alarm Threshold Duration input field, select the object types you want to detect in the Object class filter dropdown and click on the Save button.

You can see that the view on the right is now completely filled with a blue overlay, meaning that the whole view is analyzed.
After saving the configuration, the Zone name should say "Currently in use".

If you want to customize the include area and only trigger on objects that are in a specific part of the view, you can do so while in the "Currently in use" selection. You can drag and drop the corners of the polygon on the image. You can also drag the middle marker to create a new corner. When you are happy with the zone, press the Save button.
If you already have configured Axis Object Analytics with a scenario using a specific include area and you want to make use of that for the time-in-area analytics too, then you can select that scenario in the Zone Name dropdown. The canvas will show a preview of the include area used by that scenario. Then click Import Zone and Save to adopt that include area and save the application configuration.

The drop-down list shows all available include zones that can be imported from AXIS Object Analytics.

Pressing Import Zone when an AOA scenario is selected will load that include area instead of the one currently used.

After an include zone has been changed or imported, you can save it using the Save button which will make the project use the new zone as a filter.
In the image above, you can also see in the Import Zone card that five scenarios were found in Axis Object Analytics. If any AXIS Object Analytics scenario is defined in a non-supported way (e.g. line crossing, using exclude areas, etc.), it will show up in grey in the dropdown and cannot be selected. In this case, Scenario 3 is line crossing, so it cannot be selected.

You can also select what kind of objects should be used to trigger the time-in-area alarms. The values in the Object class filter dropdown are adapting dynamically based on the capabilities of the camera's built-in detection model. The following table shows the possible values and what they mean:

The Alarm Threshold Duration field specifies the amount of seconds (or minutes) that a specific object needs to be detected inside the include area before sending an alert. If the object disappears temporarily and is seen again later, it will keep the same track ID and therefore its time duration. This means that the time duration is calculated as the difference between the first time we observed the object and the current time. If the object completely leaves the camera's view, the object will get a new track ID and a new time duration will be calculated. Exiting and entering the include area alone will not reset the time duration, but the real beauty of projects implemented using the FixedIT Data Agent is that you can change the logic by altering the code if the behavior does not suit you.
All Axis cameras contain an event rule engine as part of AXIS OS. This rule engine allows you to trigger a wide range of actions based on triggered events (such as the time-in-area event we are triggering from this project. You can read more about the rule engine and what you can do with it here.
In this example, we are going to visualize when an alarm is triggered by using the event rule engine to show an overlay text on top of the live video.
First, go to the System -> Events tab in the camera's user interface and add a new event rule.

Then, select the FixedIT Time-in-Area Event condition. If you can't see the condition, try to refresh the page. Then select Use overlay text while the rule is active as the action and #D1 as the index. Add any text you want to display such as "Too long time in area" then press Save.

Using the event rule engine to trigger an action based on the time-in-area project.

Triggering an overlay text from the time-in-area project's alarm event.
Next, you need to add a template where the overlay text will be displayed. Go to Video -> Overlays and press the + icon next to the dropdown where the Text option is selected.

Type #D1 into the template field, select a placement and any color configuration such as a white or red text on a black background to make it stand out.

Once the alarm is active, the #D1 placeholder will be replaced with the text you specified in the event rule. In this example, we have configured the implementation to trigger an alert when a person is detected for over 30 seconds. Once it triggered, the overlay text is seen.

In the following video, we show an example of how to use and configure the Time-in-Area project to detect when cars are parked in an unauthorized area and trigger alerts.

In this blog, we have just scratched the surface of what you can do with the FixedIT Data Agent to make your cameras more intelligent. You can always email us at [email protected] or fill out the form at the bottom of this page to get more information or schedule a meeting with us to discuss your needs and ideas.