Xovis Api Documentation
"queueId": "Security_Line_A", "timestamp": "2026-05-25T10:00:00Z", "metrics": "queueLength": 22, "waitingTimeAvgSeconds": 145, "waitingTimeMaxSeconds": 310 Use code with caution. 3.3. Sensor Health and Status Monitoring
API requests often require a specific header, such as X-Requested-With: XmlHttpRequest , to handle browser-based interactions without authentication popups. 3. Data Storage & Retention Xovis sensors can store data locally for up to .
: Aggregated tallies (total entries and exits) delivered at pre-configured intervals (e.g., every 1, 5, or 15 minutes). 2. Zone & Area Analytics xovis api documentation
When building production-ready applications with the Xovis API, keep the following development principles in mind:
All data processed on the sensor is fully anonymous. Core Components of Xovis API Documentation or 15 minutes).
Scanning network for Xovis sensors and checking their operational status. Firmware Updates: Managing sensor updates.
import requests from requests.auth import HTTPBasicAuth import json # Configuration variables SENSOR_IP = "192.168.1.50" USERNAME = "admin" PASSWORD = "your_secure_password" ENDPOINT = f"https://SENSOR_IP/api/v4/elements/counts" def fetch_xovis_data(): try: # Making a secure GET request to the Xovis sensor response = requests.get( ENDPOINT, auth=HTTPBasicAuth(USERNAME, PASSWORD), verify=True, # Ensure SSL certificates are validated in production timeout=10 ) # Check if response is successful if response.status_code == 200: data = response.json() print("Data successfully retrieved from Xovis Sensor:") print(json.dumps(data, indent=2)) return data elif response.status_code == 401: print("Authentication failed: Invalid username or password.") else: print(f"Failed to fetch data. HTTP Status Code: response.status_code") except requests.exceptions.Timeout: print("Error: The request timed out. Check network connectivity to the sensor.") except requests.exceptions.RequestException as e: print(f"An error occurred during integration: e") if __name__ == "__main__": fetch_xovis_data() Use code with caution. 5. Best Practices for Developers "metrics": "queueLength": 22
Xovis prioritizes security while ensuring ease of access for developers:
Example: http://192.168.1.100/api/v1/occupancy/current
Ensuring sensors are synchronized for accurate tracking. 2. People Counting & Tracking Data (v5)