On the camera:
~ # systemctl | grep depthai
depthai_gate.service loaded active running DepthAI Gate
On the host:
root@81615ac68cfd:/depthai-core/examples/python# python3 Camera/camera_output.py
Traceback (most recent call last):
File "/depthai-core/examples/python/Camera/camera_output.py", line 7, in <module>
with dai.Pipeline() as pipeline:
RuntimeError: No available devices
root@81615ac68cfd:/depthai-core/examples/python# export DEPTHAI_DEVICE_NAME_LIST=10.10.XX.XX
root@81615ac68cfd:/depthai-core/examples/python# python3 Camera/camera_output.py
Traceback (most recent call last):
File "/depthai-core/examples/python/Camera/camera_output.py", line 7, in <module>
with dai.Pipeline() as pipeline:
RuntimeError: No available devices (1 connected, but in use)
root@81615ac68cfd:/depthai-core/examples/python# python3 Camera/camera_output.py
Traceback (most recent call last):
File "/depthai-core/examples/python/Camera/camera_output.py", line 7, in <module>
with dai.Pipeline() as pipeline:
RuntimeError: No available devices (1 connected, but in use)
root@81615ac68cfd:/depthai-core/examples/python#
Nmap returns:
root@81615ac68cfd:/depthai-core/examples/python# nmap -sT -p- 10.10.XX.XX
Starting Nmap 7.80 ( https://nmap.org ) at 2025-02-04 11:25 UTC
Nmap scan report for 10.10.XX.XX
Host is up (0.0029s latency).
Not shown: 65528 closed ports
PORT STATE SERVICE
22/tcp open ssh
3030/tcp open arepa-cas
5000/tcp open upnp
8080/tcp open http-proxy
8765/tcp open ultraseek-http
9998/tcp open distinct32
11492/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.78 seconds
root@81615ac68cfd:/depthai-core/examples/python#
systemctl status depthai_gate returns:
[[0;1;32m●[[0m depthai_gate.service - DepthAI Gate
Loaded: loaded ([]8;;file://kalama/lib/systemd/system/depthai_gate.serviceG/lib/systemd/system/depthai_gate.service[]8;;G; e
nabled; vendor preset: enabled)
Active: [[0;1;32mactive (running)[[0m since Wed 2025-02-05 11:20:20 CET; 1min 11s ago
Main PID: 60277 (python3)
Memory: 19.6M
CGroup: /system.slice/depthai_gate.service
└─[[0;38;5;245m 60277 /usr/bin/python3 /usr/bin/depthai_gate[[0m
Feb 05 11:20:20 kalama depthai_gate[60277]: ERROR:root:[(<class 'depthai_gate.exceptions.PublicError'>, <function main.<locals>.h
andle_exception at 0x7fbac2be20>)]
Feb 05 11:20:20 kalama depthai_gate[60277]: * Serving Flask app 'depthai_gate' (lazy loading)
Feb 05 11:20:20 kalama depthai_gate[60277]: * Environment: production
Feb 05 11:20:20 kalama depthai_gate[60277]: WARNING: This is a development server. Do not use it in a production deployment.
Feb 05 11:20:20 kalama depthai_gate[60277]: Use a production WSGI server instead.
Feb 05 11:20:20 kalama depthai_gate[60277]: * Debug mode: off
Feb 05 11:20:20 kalama depthai_gate[60277]: INFO:werkzeug: * Running on all addresses (0.0.0.0)
Feb 05 11:20:20 kalama depthai_gate[60277]: WARNING: This is a development server. Do not use it in a production deployment.
Feb 05 11:20:20 kalama depthai_gate[60277]: * Running on http://127.0.0.1:11492
Feb 05 11:20:20 kalama depthai_gate[60277]: * Running on http://10.10.33.55:11492 (Press CTRL+C to quit)