Skip to content

Isolate the standalone AI Port project and show Protect camera names - #91

Merged
seeARMS merged 2 commits into
mainfrom
analyze-fix-issue-86
Dec 4, 2026
Merged

seeARMS merged 2 commits into
mainfrom
analyze-fix-issue-86

Conversation

@seeARMS

@seeARMS seeARMS commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Closes #86.

The standalone macvlan template now uses the Compose project name keystone-aiport-2. The README includes a migration from the old directory-based project that preserves the adoption state and releases the old network before starting the new project.

Protect 7.3.74 sends camera MACs in its stream-control messages and omits display names. The Cameras table already renders both fields when available. Set KEYSTONE_CONTROLLER_API_KEY to a Protect integration key with camera read access to populate names. Each AI Port refreshes the camera list every five minutes over pinned HTTPS and resolves names for its own paired cameras. Explicit camera aliases win, temporary lookup failures retain the last successful names, and unnamed cameras show their MAC. The lookup is optional and runs independently of pairing.

Verification

  • Reproduced the orphan warning with disposable Compose projects, migrated the secondary service, and verified both primary containers stayed running and secondary bind-mounted state survived.
  • Rendered both Compose templates and exercised the camera lookup against a local HTTPS fixture, including rename, failure, redirect, and MAC fallback cases.
  • Ruff passed. Python tests passed (949 passed, 27 skipped). Dashboard typecheck, lint, 40 tests, and build passed. The compiled dashboard was byte-identical.
  • Live TrueNAS and Protect hardware verification is pending.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T03:47:45.277115Z 4fd5a49 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@seeARMS
seeARMS merged commit 48d1168 into main Dec 4, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-instance docker-compose.aiport.yml (macvlan) verified on TrueNAS SCALE + two minor DX suggestions

1 participant