---
title: Immix
slug: iris-plus-cm-integrations/immix
docTags: 
createdAt: 2022-11-15T13:15:45.000Z
---

This guide will help you set up the integration between Irisity IRIS+™ CM and IMMIX to enable sending alarms generated in the Irisity system to IMMIX. Once completed you should be able to correlate alarms in the Irisity system with the right device in IMMIX.

As a prerequisite, you should have installed at least one camera and set it up in both systems.

# Integration workflow overview

To set up the integration, follow the below steps. Each step is detailed in its own section further down in this document.



1. Prepare your Immix environment
2. Define an integration target in IRIS+
3. Define integration actions in IRIS+
4. Set the Immix external ID for IRIS+ folders
5. Set the Immix external ID for IRIS+ cameras
6. Test the Integration  

# Prepare Your Immix Environment for Integration&#x20;

To monitor IRIS+ folders and the detected events or health events created by these folders, you will need to create a corresponding site in Immix. Additionally, an IRIS+ device must specify the origin point of IRIS+ events.&#x20;

![Immix setup dashboard](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/srkYAFXAB8rCuqxsCaldN_image.png "Immix setup dashboard")

### Prepare your Immix environment

1. Port setup: port 465 or 587 should be open in the Immix firewall. The Irisity-hosted solution is run in the Google Cloud Platform, these are the only ports supported by Google. Keep these ports open for IRIS+ incoming events.
2. In Immix **Setup**, select **Add a Site** and fill in the relevant details. Perform this step for each of the Irisity sites you would like to monitor. You can also edit an already existing site.



3\. Select the site and click **Manage Devices and Alarms** in the right column.



![](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/BcNtIHsc2EW0lQfCcr4gx_image.png)

4\. Click **Add Device** in the bottom right corner of the list

![](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/J9Kgv5e0mLRLtEnftoO7L_image.png)

5. Add a device for IRIS+

::Image[]{src="https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/pKO-PzrYBcWhyXrTfxhsS_image.png" size="52" width="592" height="641" position="center" showCaption="false"}



- Device Type: Video Devices => InnoVi
- IP/Host: 34.90.111.200 (this is the IP address of the IRIS+™ hosted service)&#x20;
- Leave the rest of the fields empty

6. For each of the sites you have created, locate and document the relevant unique system number (S-number):&#x20;

At the end of the site setup process, select View Summary. The Setup Report appears&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/CVsCwPrWhLjdn-G1B0raW_image.png" size="80" width="677" height="232" position="center" showCaption="false"}

Write down and keep the Identifier (S-number). In this example, the identifier to keep is **599&#x20;**

# Define Integration Target in IRIS+

Integration Targets in IRIS+ are used to define outgoing endpoints, where to send alarms and health alerts to.&#x20;

Immix exists as a custom-build and supported integration, making setup very easy.

### Define the Immix integration target in IRIS+

1. Log in to IRIS+
2. From the top menu bar, select **Settings&#xA0;**
3. Select **Integration Targets** 
4. Click the **Add&#x20;**&#x62;utton. The Integration Target screen appears 



![](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/J-yBRtLMkmLeeuS9chq8u_image.png)

5\. Name the integration and enter the details relevant for your Immix installation. Typically, user name and password are not required since Immix accepts alarms without authentication based on IP whitelisting.

::Image[]{src="https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/UvYsSiZgdTSQ7BIg9Cu2J_image.png" size="60" width="443" height="421" position="center" showCaption="false"}

6\. Click **Save**. The integration Target is defined and is listed in the Integration targets list&#x20;

# Define Integration Actions in IRIS+&#x20;

Integration actions are account-level or folder-specific actions in IRIS+. These actions define what type of events are sent to the integrated system - whether it is detected events showing the video clip of a breached rule or health events alerting to health issues for camera or edge devices.

### Define an integration action

Please note that it is possible to set up multiple integration actions with different configurations. This means that you can choose to send some alarm types from some folders and other alarm types from others.



![Configure Integration actions](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/7s5GjF6LFhwZNPuiELgaC_image.png "Configure Integration actions")

1. Select the **Administrator&#x20;**&#x74;ab
2. In the tree in the left sidebar, either
   1. Select the top node (the **Account**) to send *everything* from the system to Immix.
   2. Select a **Folder&#x20;**&#x6F;r **Subfolder**. Only alarms from cameras and devices in this folder will be sent to Immix.
3. From the menu bar, select **Integrations&#x20;**&#x61;nd click the **Add&#x20;**&#x62;utton. A new Integration Action line entry appears 
4. Enter the details
   - Name: Enter a meaningful name such as the type of events being monitored&#x20;
   - Leave Mode to Automatic
   - Type: Select whether to send Detection events (video alarms) or Health alerts (system monitoring issues).
   - Target: Select the Integration Target you created and named above, for example "IMMIX"
5. Optionally use the right section to filter what object types, behavior types and severities you want to send to Immix. By default, no filtering is applied and everything is sent.
6. Click **Save**

![](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/9vzKCQarfMcvrDFtuZVAO_image.png)

# Set S-number for IRIS+ folders&#x20;

The IRIS+ folders you intend to monitor should have the External ID field set. These folders have corresponding sites in Immix and the External ID is the S-number you documented for each site.&#x20;



![](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/9SZSB20MkAnbYMNlI3c3G_image.png)

### To set the folder external id

1. Select the **Administrator&#x20;**&#x74;ab
2. Select the right **Folder** in the left sidebar
3. Click the **Edit&#x20;**&#x62;utton 
4. In the **External ID&#x20;**&#x66;ield, enter the S-number you documented in Immix for the corresponding site. In our example – it is 599 
5. Click **Save**

# Set Alarm Number for IRIS+ cameras

Each IRIS+ camera may be defined with its own external id, Alarm Number in IMMIX. This may be required for the event created from this camera to be associated with the correct camera in Immix. &#x20;

![](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/r1vD0WjBqPekICd6x0UV6_image.png)

### To set the camera external id

1. Select the **Administrator&#x20;**&#x6D;odule 
2. In the hierarchy tree, select select the relevant **Camera** 
3. Click **Edit**
4. In the **External ID&#x20;**&#x66;ield, enter the relevant Immix Alarm Number, above "12345". This would make the full IMMIX id `S599.A12345`.
5. Click **Save**

# Test the Integration 

An integration test is a way to ensure that events for monitored folders are being received by the integrated system. When creating a test rule or test events, make sure you choose cameras under the monitored folder.&#x20;

![Each analytics rule can be tested](https://api.archbee.com/api/optimize/JzHznijrWxPLJLDUaV5A1/k5Bdx8zHS5eXPYC7At9p5_image.png "Each analytics rule can be tested")

### To test the integration

1. Set up one or more video analytics rules in **Administration&#x20;**=> **Rules&#x20;**&#x66;or a single **Camera**.
2. Click the **Send a test alarm&#x20;**&#x61;nd verify alarms are showing up in **Immix**.
3. Trigger an actual event from the camera and the rule in question and make sure the event shows up in IRIS+ under the **Monitor&#x20;**&#x74;ab.
4. TechnicalMake sure the alarm shows up in **Immix**.

# Technical reference appendix

## Event format in Immix&#x20;

The following sections list the IRIS+ event status and the corresponding status that appears in Immix for both detected events and health events.

### Detection Events Format&#x20;

| IRIS+ Status                             | Immix Status     |
| ---------------------------------------- | ---------------- |
| INNOVI\_UNKNOWNS                         | ObjectDetected   |
| INNOVI\_UNKNOWNS\_UNKNOWN                | ObjectDetected   |
| INNOVI\_UNKNOWNS\_VEGETATION             | ObjectDetected   |
| INNOVI\_UNKNOWNS\_CLOUD                  | ObjectDetected   |
| INNOVI\_UNKNOWNS\_OBJECT                 | ObjectDetected   |
| INNOVI\_PEOPLE                           | PersonDetected   |
| INNOVI\_PEOPLE\_PERSON\_STANDING         | PersonDetected   |
| INNOVI\_PEOPLE\_PERSON\_ON\_THE\_GROUND  | PersonDetected   |
| INNOVI\_PEOPLE\_PERSON\_OVERHEAD         | PersonDetected   |
| INNOVI\_VEHICLE                          | VehicleDetected  |
| INNOVI\_VEHICLE\_CAR                     | VehicleDetected  |
| INNOVI\_VEHICLE\_CAR\_COMPACT            | VehicleDetected  |
| INNOVI\_VEHICLE\_CAR\_SUV                | VehicleDetected  |
| INNOVI\_VEHICLE\_BUS                     | VehicleDetected  |
| INNOVI\_VEHICLE\_SCHOOL\_BUS             | VehicleDetected  |
| INNOVI\_VEHICLE\_MINI\_BUS               | VehicleDetected  |
| INNOVI\_VEHICLE\_CITY\_BUS               | VehicleDetected  |
| INNOVI\_VEHICLE\_PICKUP\_TRUCK           | VehicleDetected  |
| INNOVI\_VEHICLE\_VAN                     | VehicleDetected  |
| INNOVI\_VEHICLE\_TRUCK                   | VehicleDetected  |
| INNOVI\_VEHICLE\_TRUCK\_SMALL            | VehicleDetected  |
| INNOVI\_VEHICLE\_TRUCK\_MEDIUM           | VehicleDetected  |
| INNOVI\_VEHICLE\_TRUCK\_SEMITRAILER      | VehicleDetected  |
| INNOVI\_VEHICLE\_TRACTOR                 | VehicleDetected  |
| INNOVI\_VEHICLE\_NIGHT                   | VehicleDetected  |



### Health Event Format&#x20;

**Cameras**

- "TamperAlarm" - in blocked/saturated/dark
- "VideoLoss" in all other health events&#x20;
  - "Frame rate is too low (IRIS+ camera ID nnnnnn)"&#x20;

  - "Frame rate is too high (IRIS+  camera ID nnnnnn)"&#x20;

  - "Scene is blocked (IRIS+ camera ID nnnnnn)"&#x20;

  - "Scene is saturated (IRIS+ camera ID nnnnnn)"&#x20;

  - "Scene is too dark (IRIS+  camera ID nnnnnn)"&#x20;

  - "Communication failed (IRIS+ camera ID nnnnnn)"&#x20;

  - "General error (IRIS+ camera ID nnnnnn)"&#x20;

  - "RTSP error (IRIS+ camera ID nnnnnn)"&#x20;

  - "Incompatible video (IRIS+ camera ID nnnnnn)"&#x20;

  - "Resolution error (IRIS+ camera ID nnnnnn)"&#x20;

**Edge devices**

- "SystemEvent"
  - "High latency (IRIS+ Edge ID nnnnnn)" 
  - "Overloaded (IRIS+ Edge ID nnnnnn)" 
  - "No comm. with cloud (IRIS+ Edge ID nnnnnn)" 

### IRIS+ (Edge software handling multiple cameras)

- "SystemEvent"  
  - "No comm. with cloud (IRIS+ Agent ID nnnnnn)" 
  - "High latency (IRIS+ Agent ID nnnnnn)" 

