Repository navigation
Releases
Keystone v0.1.9
Adds NVIDIA CUDA images, a Prometheus /metrics endpoint and optional YuNet/SFace face models, keeps AI Port detections steady through IR and exposure changes, and stops AI Summaries from timing out behind event captions.
- NVIDIA GPUs:
keystoneandkeystone-aioare published with a-cudasuffix for amd64, and the Unraid template explains how to turn it on. (#196, #211) Withacceleration.provider: cuda, the AI Port YOLOX detector runs on the GPU (#170), andstt.cuda_encoderruns the FP32 Whisper encoder there too (#174). - AI Port detection: Dusk and dawn exposure ramps, IR cut-filter flips and brief blackouts no longer raise false detections. (#166) Moving bounding boxes update on every fresh detection frame for smoother motion in Protect. (#209) Camera-clock correction recovers after a camera reboot. (#210) The analyzer caps its ffmpeg threads, so many paired cameras no longer exhaust host memory. (#185)
- AI Port snapshots: Max-quality snapshots come from the analyzer's full-size frames instead of a second RTSP session, so cameras that limit sessions or have long keyframe intervals no longer return 404. (#173) Set
aiport.restream_tlsto pull paired UniFi cameras over RTSPS. (#160) - AI Summaries: A summary interrupts a running event caption when every vision slot is busy, so it no longer times out on slow CPU-only models. The caption retries afterwards. (#213)
- Captions: A camera's caption no longer copies another camera's earlier sighting. Cross-camera hints carry only validated appearance details. (#203) OpenAI-compatible providers can send images before the prompt (
vision.multimodal_content_order) and use a JSON schema (vision.structured_output). (#178) - Find Anything: Objects are indexed across the full event instead of only the caption window. (#188) The first natural-language query after a fresh install answers immediately with lexical tag matching while the semantic tag index builds in the background. (#212) OpenVINO CLIP embeddings that come back as NaN or infinity are retried on CPU. (#205)
- Faces: Choose
faces.detector: yunetandfaces.recognizer: sfaceas lighter alternatives to SCRFD and ArcFace. (#164) - Monitoring: The status UI serves Prometheus metrics at
/metrics. (#181) Protect now receives CPU and memory metrics as fractions instead of values 100 times too large. (#184) - Home Assistant: A new
memory_profileoption (full,balanced,lite) tunes the app for the host's memory. (#183) When TCP 8080 is taken, the error explains that Protect always uses that port. (#182) - Installers: The Proxmox installer runs the version it installs instead of
main. (#206)keystone-aioprepares its state directory before checking an external PostgreSQL server, which fixes a startup failure with a root-owned directory. (#202)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.9, :0.1, and :latest. Intel GPU and NVIDIA CUDA variants of keystone and keystone-aio for amd64 use the -intel and -cuda suffixes, for example :0.1.9-intel and :0.1.9-cuda.
Keystone v0.1.8
Keeps AI Port tracks together so one walk past a camera makes one event, crops sharp square thumbnails for AI Port cameras, adds localized captions, and lets keystone-aio use an existing PostgreSQL server.
- AI Port tracking: One tracker now follows every object type at the default 1–2 fps. A person crossing the frame, a vehicle or an animal stays one track instead of splitting into several events and thumbnails. (#148, #146)
- AI Port thumbnails: Smart-detect snapshots from AI Port cameras are square and cropped from the full-resolution frame, so they no longer look stretched or pixelated next to native UniFi cameras. (#144)
- Captions: Export frames are taken from the clip's real start, so captions describe the event instead of the scene before it. (#129) If a model echoes the prompt's example JSON, Keystone no longer saves the placeholder tag
lowercaseas a tag or caption. (#157, #155) - Localized descriptions: Set
vision.language(orKEYSTONE_VISION_LANGUAGE) to write event captions and the AI Summary in another language. Structured tags stay in English, so Protect search keeps working. (#136) Event captions follow the configured language more reliably on models such as Qwen3-VL. (#150, #149) - PostgreSQL:
keystone-aiocan use an existing PostgreSQL server with pgvector by settingKEYSTONE_POSTGRES_HOST. Protect still reaches Find Anything at Keystone's IP. (#140, #125) The native installer andkeystone macos setupallowcontroller.trusted_peersinpg_hba.conf, which fixes adoption when the console is also the router for Keystone's VLAN. (#139, #96) - Dashboard: Shows Protect's Face Recognition setting and when Protect last reported it, separately from local model readiness. (#138)
- Home Assistant: The app gets GPU access and uses the Intel image on amd64. (#134)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.8, :0.1, and :latest. Intel GPU variants of keystone and keystone-aio use the -intel suffix, for example :0.1.8-intel.
Keystone v0.1.7
Fixes the OpenVINO startup crash on older Intel GPUs, adds AMD VA-API decode to the standard images and legacy Intel GPU drivers to the Intel images, and cuts false AI Port person and speech alerts.
- Intel GPUs: Keystone probes OpenVINO devices in a separate process. Older GPUs such as the UHD 630 fall back to CPU instead of crashing on every startup, and Keystone skips the probe when OpenVINO is unused. (#113, #105) The Intel images bundle Intel's legacy compute drivers for Gen8, Gen9 and Gen11 graphics. (#128, #126)
- AMD GPUs: The standard and AIO images include
mesa-va-driversfor AI Port VA-API decode. The AIO entrypoint forwards the/dev/kfdgroup, and diagnostics explain a missing MIGraphX provider or an inaccessible GPU node. (#119) - AI Port detections: Check stationary detections against a slowly adapting scene background to cut false night-vision alerts. (#101) Timestamp detections before inference so they line up with the recording, with opt-in camera-clock calibration. (#98)
- AI Port audio and Speech-to-Text: Verify speech candidates with YAMNet so bird calls no longer raise talking alerts, and filter Whisper hallucinations from OpenAI-compatible Speech-to-Text responses. (#131)
- macOS:
keystone macos install-daemonsstops a Postgres left running bybrew servicesand setsLC_ALL, so Postgres starts without manual fixes. (#133, #122) Releases publish their tested Homebrew formula directly to the tap. (#102) - Docs: Install from Unraid Community Apps (#123), and new contributor guidance, a PR template and a security policy (#104).
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.7, :0.1, and :latest. Intel GPU variants of keystone and keystone-aio use the -intel suffix, for example :0.1.7-intel.
Keystone v0.1.6
Opens the status dashboard in Home Assistant through Ingress, fixes AI Key and AI Port re-adoption after removal, and adds Intel and AMD GPU acceleration options, Unraid support, and more accurate night-time person alerts.
- Home Assistant dashboard: The Home Assistant app (0.1.2) now opens Keystone's status dashboard inside Home Assistant through Ingress. Select Open Web UI on the app's Info tab or turn on Show in sidebar. The dashboard uses a port Supervisor assigns and answers only Home Assistant's Ingress proxy. A new
web.allowed_clientssetting (KEYSTONE_WEB_ALLOWED_CLIENTS) limits which client addresses can open the dashboard on any install. (#100, #83) - Re-adoption: Fix adopting the AI Key or AI Port again after removing it from Protect. (#97)
- Hardware acceleration: Add official Intel GPU Docker images and Unraid support (#93), an acceleration master switch and Intel installers for Linux (#94), opt-in AMD MIGraphX acceleration for ONNX models (#80), and startup probes that report when a model falls back to CPU (#95).
- Detections and captions: Reduce false person alerts from intermittent night-vision detections (#89), keep queued event captions past Protect's deadline (#81), and fix vision API key references and reasoning budgets for on-demand captions (#88).
- Protect 7.4 and AI Port: Show the state of Protect 7.4's Basic Understanding setting (#90), and isolate the standalone AI Port project and show Protect camera names (#91).
- Home Assistant app builds: The app builds on the latest released image. (#82)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.6, :0.1, and :latest. Intel GPU variants of keystone and keystone-aio use the -intel suffix, for example :0.1.6-intel.
Keystone v0.1.5
Fixes Protect 7.4+ and cross-VLAN discovery/adoption, adds Home Assistant OS packaging, standalone AI-Port-only mode, NVIDIA CUDA and Apple Silicon CLIP acceleration, and broader setup/diagnostic improvements.
- Protect 7.4+ & cross-VLAN discovery/adoption: Emit Ubiquiti v1 discovery TLV
0x2F(PRIMARY_ADDRESS) alongside0x02(IPINFO) so Protect 7.4+ populateshostcleanly, stop unadopted:7442announces that created@ nullghost entries, and addkeystone announce --port <port>plus optionaldevice.discovery_controller_port(KEYSTONE_DEVICE_DISCOVERY_CONTROLLER_PORT) for cross-VLAN adoption of both AI Key and AI Port. (#75, #78) - Home Assistant OS app: Package Keystone as a Home Assistant OS add-on/app with feature toggle options and smoke tests. (#53)
- Standalone AI-Port-only mode & per-IP binding: Support running lightweight AI-Port-only instances (
device.enabled: false), dedicatedaiport.bind_host/aiport.advertise_ip, and clearer port443/ H.264 / FLV audio diagnostics. (#67, #70) - Hardware acceleration: Add opt-in NVIDIA CUDA acceleration for ONNX models (#71) and Core AI CLIP image encoding on Apple Silicon (#62).
- Adoption, NAT & macOS tooling: Add
keystone reset-adoptionwith stale cert regeneration (#61), opt-incontroller.trusted_peersfor NAT deployments (#64), headless NAS / TrueNAS SCALE setup wizard improvements (#60), and macOS Homebrew discovery diagnostics (keystone doctor) (#76). - Vision reasoning models: Handle reasoning models that consume
max_tokenson thinking and detect truncated answers across all vision providers. (#59, #74)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.5, :0.1, and :latest.
Keystone v0.1.4
Adds native macOS support with Homebrew packaging and optional Apple Silicon hardware acceleration.
- Native macOS & Homebrew distribution: Run Keystone directly on macOS Sequoia (15+) on Apple Silicon or Intel without a Docker VM (
brew tap seearms/keystonethenbrew install keystone). Addskeystone macos setup(provisions native Homebrew PostgreSQL +pgvectorover TLS restricted to your Protect controller),keystone macos install-daemons/uninstall-daemons(headless system LaunchDaemons with launchd TCP 443 socket handoff for AI Port, optional--with-ollamaand--configure-power), idle-sleep assertion,keystone doctordiagnostics, and automated formula generation/testing across Apple Silicon and Intel runners. (#42) - Apple Silicon hardware acceleration: Adds ONNX Runtime CoreML execution provider support (
acceleration.provider: auto | coreml,coreml_compute_units,coreml_model_format, persistent.mlmodelccache with automatic CPU fallback) and opt-in FFmpeg VideoToolbox Media Engine decode (acceleration.ffmpeg_hwaccel: auto | videotoolbox) for AI Port cameras, plus dashboard provider/decode visibility and Mac mini unified-memory sizing guidance for Ollama and MLX-VLM. (#43) - Documentation: Aligns the macOS Homebrew Quick Start, LaunchDaemon restart instructions, Mac mini sizing links, and acceleration configuration docs in the README. (#54)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.4, :0.1, and :latest.
Keystone v0.1.3
Improves guided setup onboarding, UniFi Protect discovery/adoption reliability, and face enhancement compatibility.
- Interactive feature setup wizard: Setup installers (
setup-compose.py,install.sh,proxmox-lxc.sh) and the Unraid template now walk through optional features—event descriptions (local Ollama, OpenAI-compatible server, or cloud OpenAI/Anthropic/Gemini), speech transcripts, face enhancement, and license plate OCR—and print an explicit✓/✗feature summary with UniFi Protect next steps. (#46) - Unadopted Protect announce & multicast discovery: Restores read-only unadopted
wss://<controller>:7442/announce without spurious errors (for cross-VLAN/L3 consoles) and joins Ubiquiti UDP 10001 multicast on the concreteadvertise_ipinterface(s) to fix discovery on multi-NIC hosts. (#47) - Protect 7.3.74 face enhancement fix: Explicitly sets
Content-Type: text/plainon multipart text fields in/internal/aiprocessors/image/enhancedcallbacks to resolve HTTP 400 rejections on Protect 7.3.74, addscameraIdfallback and callbackDEBUGlogging, and adds a structured bug report issue template. (#50) - Documentation & dashboard clarity: Simplified the README to lead with plain-English setup and a clear default vs. opt-in features table, and clarified the dashboard's disabled-vision status hint. (#44)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.3, :0.1, and :latest.
Keystone v0.1.2
Improves onboarding, vision server flexibility, and UniFi Protect compatibility.
- Clone-free Docker Compose install: Download
docker-compose.ymlandsetup-compose.pywithout cloning the repository; local builds from a checkout now usedocker-compose.build.yml. (#39) - Optional event descriptions: Setup scripts (
setup-compose.py,install.sh,proxmox-lxc.sh) and the all-in-one image (keystone-aio+ Unraid template) disable event descriptions cleanly when no vision server URL is provided, so Find Anything and smart detections work without a GPU/VLM. (#36, #37) - OpenAI-compatible vision hardening: Hardened
openai-compatibleVLM requests/responses and addedvision.extra_bodyfor servers like oMLX, LM Studio, llama.cpp, and vLLM. (#34) - Protect adoption & AI Port compatibility: Wait for Protect adoption before opening the AI Key control WebSocket (#41), and allow pairing UniFi cameras without built-in smart detections to the virtual AI Port (#40).
- Documentation: Clarified UniFi camera support, hardware sizing, networking, and dedicated-IP deployments in the README. (#31, #32, #35)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres, and keystone-aio, tagged :0.1.2, :0.1, and :latest.
Keystone v0.1.1
Adds two more ways to install Keystone.
- Unraid:
ghcr.io/seearms/keystone-aioruns Keystone and its PostgreSQL search database in one container. The Community Apps template isunraid/keystone.xml; see the README for adding it before it's listed. (#28) - Proxmox: run
scripts/proxmox-lxc.shin the Proxmox host's shell. It creates a Debian 13 LXC and installs Keystone in it. (#29)
Images for amd64 and arm64: ghcr.io/seearms/keystone, keystone-postgres and keystone-aio, tagged :0.1.1, :0.1 and :latest.
Keystone v0.1.0
Keystone runs a virtual AI Key and AI Port for UniFi Protect on your own Linux host. This first public release adds plain-English footage search, event descriptions, and native smart detections for paired third-party ONVIF cameras. You can run the models locally. Keystone is an independent community project.
- Install with Docker Compose. Set
KEYSTONE_IMAGE_TAG=0.1.0in.envto pin this release. - Explore the demo or share your setup in Discussions.