Configuration
Deprecation Notice
This page describes features that have been removed or replaced in Luxonis Hub. Functionality may be limited and only available to Hub Original customers. Please refer to the up-to-date guides to provision devices, manage fleets, and deploy applications.
Cloud
You can configure your Robot trough the cloud by visiting its page and heading toSettings.Bootstrap (local)
Luxonis Hub Agent is bootstrapped from a configuration file located at/home/robothub/agent.toml. This file is read before starting the agent and allows for customization specific to your usecase. The configuration has the following sections:Global
Toml
1# Root directory under which agent stores all data.
2# Changing this is not recommended (no support is provided, not tested)
3root = "/home/robothub"
4
5# What type of devices to scan for
6# Options are "rvc3-remote", "rvc3-local", "rvc2-usb", "rvc2-poe"
7# Limits which devices will be discovered by this agent
8scanFor = ["rvc2-usb", "rvc2-poe"]
9
10# How often to scan for devices (in milliseconds)
11scanEvery = 15000
12
13# Logging level (useful for debugging)
14logLevel = "info" # trace, debug, info, warn, error
15
16# Trust root certificates from the system trust store
17useSystemCertificateStore = falseContainers
Toml
1[podman]
2# Allows you to mount additional directories to all apps
3# Example: ["/opt/my-dir"]
4additionalMounts = []
5
6# Allows you to add capabilities to all apps
7# (https://man7.org/linux/man-pages/man7/capabilities.7.html)
8additionalCapabilites = []
9
10# Image pull timeout (in seconds)
11pullTimeout = 300Local Web UI
Toml
1[localWeb]
2# The port on which the local web server is listening
3port = 9010Cloud
Toml
1[hub]
2# ID of the team the agent is expected to connect to
3# This makes the robot show up in the web UI as ready for adoption
4expectedTeamId = "00000000-0000-0000-0000-000000000000"Streaming
Toml
1[streaming]
2# Forces relay mode (TURN) for WebRTC streaming
3forceRelay = false
4
5# How often to report FPS in the logs
6fpsReportInterval = "slow" # fast, slow
7
8# If you want to define your own ICE servers (TURN/STUN)
9[[streaming.additionalIceServers]]
10hostname = "google.com"
11port = 1234
12username = "test"
13password = "test"