Manage multiple virtual AI Ports from one Keystone installation for 11+ cameras

Open
#99 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, machine-learning, python

Research direction

Start with docker-compose.aiport.yml to understand how standalone AI-Port instances are configured, then trace the primary Keystone configuration and dashboard entry points. Identify where port identity, adoption state, camera pairings, capacity, and connectivity are stored. Done means one console manages two ports with 11+ cameras, detections map to the correct cameras, and identities and pairings survive a restart.

Written by the indexing model from the issue text.

Description

accepted help wanted

User story

When my first virtual AI Port fills up, I want to add another from my existing Keystone installation, adopt it in Protect, and see which cameras each port serves in one Keystone dashboard.

What works today

The standalone Compose template supports extra AI-Port-only instances, each with its own LAN IP, TCP 443 listener and persistent state. A TrueNAS field report confirms Protect 7.3.74 adopted a second port, paired two additional cameras, and received detections in a four-camera installation. Today the operator provisions each instance separately and checks each port’s own dashboard.

Proposed behavior

  • Add a named virtual AI Port from the primary Keystone configuration or dashboard using an available LAN IP. Show the address and next adoption step. The operator adopts each device and pairs its cameras in Protect.
  • Persist a distinct identity and adoption state for each port. Preserve the existing port and its pairings when adding or removing another. Keep one primary AI Key for console-wide search and captions.
  • Show adoption and connection status, paired cameras, and capacity used and available per port in one view. Surface address conflicts or an offline port without disrupting working ports.

Acceptance

On one Protect console, adopt two managed ports and pair at least 11 compatible cameras in total within each port’s resolution-based capacity budget. Verify detections from cameras on both ports appear against the correct cameras in Protect. Restart Keystone and verify both identities and pairings survive. Record camera resolutions, host hardware, resource usage and detection latency under simultaneous load so operators can judge practical capacity.

Dominant language
Python
Stars
1k
Forks
114
Avg merge
1h
Merged PRs (30d)
115

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from seeARMS/keystone

All issues in seeARMS/keystone

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.