# Xovis People Counter

Xovis offers sensors for reliable people counting. The sensor data can be integrated into Eliona and linked with assets. Set up your Xovis devices under Settings > Apps > Xovis People Counter:

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/pbcEESUVgDqiHDzfNjMO/4B95B5FE-8C4D-4CB3-A693-7E7E99244796.png" alt=""><figcaption><p>Xovis People Counter</p></figcaption></figure>

To add a new device, click <img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/UmdukYiLdr0ILgGLVlHG/87B89794-244B-49DD-B1CC-974CBD7E0F6A.png" alt="" data-size="line">.

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/QvtJBQsBBeUmmh2ghUSC/8F63274C-BE9F-4CA7-86C4-1CEBF3A293ED.png" alt=""><figcaption><p>Add device</p></figcaption></figure>

* **Host:** Enter the device's network hostname.
* **MAC Address:** Permanent hardware address of the device (printed on a label at the bottom of the device).
* **Timeout:** Set the timeout for the HTTP request.
* **Interval:** Select a request interval for retrieving data from the device.
* **Password:** Enter the password.
* **Reset Time:** Select the time at which the counter is reset to 0.
* **Asset:** Select the corresponding Eliona asset for the device.
* **Certificate Check:** Disable this field to access devices without a signed certificate (i.e. locally on the network). If the device is accessed over the internet, the certificate should be verified to avoid MITM attacks.
* **API Version 5:** Leave disabled only for old firmware (v3 and v4). For all new installations, v5 should be used.
* **Admin:** Select the user type.
* **Description:** Enter a description of the device.
* **Port:** Enter the device port.
* **Stream:** Allows receiving push updates from the device.

#### Counter

The Xovis people counters allow configuring multiple counters per device (lines and areas).

The counters are set up in the Xovis configuration (on the device itself) and then automatically transmitted to Eliona. *In Eliona, the counters and the corresponding asset types are created automatically.*

### Data Push (Live update from Xovis)

#### Xovis

* Settings" -> 'Single sensor settings' -> 'Data push'.

**Add new connection**

* Protocol: HTTP/HTTPS
* Enable SSL/TLS: ON
* Authentication: None
* Advanced settings: Custom header -> Add -> Header name: `X-API-Key`, header value: `**secureElionaApiV2Key**` -> Save

**Add new agent**

* Schedule: Immediate
* Data format -> Format: JSON, Format version: 5.0, Time format `RFC 3339`
* Data filtering -> Scene events: None, Objects: None, Count events: All, Info events: None
