hjdhjd

hjdhjd/homebridge-unifi-protect

TypeScript No license IoT Single maintainer risk License not recognized by GitHub

:video_camera: Complete HomeKit integration for all UniFi Protect device types with full support for most features including HomeKit Secure Video, and more. https://homebridge.io

1.8k stars
109 forks
active
GitHub

1.8k

Stars

109

Forks

3

Open issues

10

Contributors

v8.0.0 09 Jul 2026

AI Analysis

This is a Homebridge plugin that integrates Ubiquiti's UniFi Protect video security ecosystem (cameras, doorbells, NVRs) with Apple HomeKit, enabling native HomeKit support with features like HomeKit Secure Video and real-time event detection. It is purpose-built for users who own UniFi Protect hardware and want HomeKit integration; it is not for general home automation but specifically for bridging UniFi Protect to HomeKit.

IoT Application Discovery value: 4/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 6/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

homekit-integration unifi-protect homebridge-plugin camera-security home-automation
Actively maintained Well documented Niche/specialized use case Community favorite Beginner friendly Production ready
Deep Analysis · Based on README and public signals
5h ago

Homebridge plugin bridging UniFi Protect cameras into Apple HomeKit with native support and HKSV

homebridge-unifi-protect is a TypeScript Homebridge plugin that exposes Ubiquiti's UniFi Protect video security ecosystem (cameras, doorbells, sensors, NVRs) to Apple HomeKit. Built for HomeKit users who own UniFi Protect hardware and want native integration without vendor support. Addresses a deliberate gap: Ubiquiti does not provide official HomeKit integration for Protect. The plugin claims to reverse-engineer Protect's realtime events API and enables HomeKit Secure Video (HKSV) support, which was a community first.

Origin

Project started August 2019, aligning with when UniFi Protect's ecosystem began expanding beyond basic IP cameras. The creator appears to have pioneered reverse-engineering of the Protect realtime events API after UniFi OS adoption, which became a reference implementation for other open-source projects. Project is maintained by a single developer (hjdhjd).

Growth

The project gained steady adoption within the Homebridge and UniFi communities. Growth appears driven by: (1) lack of official Ubiquiti HomeKit support, (2) increasing UniFi Protect hardware availability and adoption, (3) successful implementation of HKSV support and realtime event streaming. 1,759 stars and 109 forks indicate modest but consistent community interest. No stellar growth in the last 7 days (0 stars), but this is typical for mature, stable plugins. Last push was 2026-07-09, indicating active maintenance through present date.

In production

Adoption not verified through quantitative metrics (production deployments, usage statistics, client references). However, circumstantial evidence includes: (1) verified badge status on Homebridge ecosystem, (2) NPM package existence with download metrics referenced in README badge (metrics not provided in this analysis), (3) presence of detailed documentation (FeatureOptions.md, HomeKitSecureVideo.md), (4) active Discord community mentioned, (5) 1,759 GitHub stars and 109 forks suggest real-world use within Homebridge ecosystem. These are indirect indicators rather than hard deployment data.

Code analysis
Architecture

Likely a standard Homebridge plugin architecture written in TypeScript. README indicates it reverse-engineers UniFi Protect APIs (realtime events API, motion detection). Appears to manage video streaming, snapshot capture, and HomeKit accessory bridging. Supports hardware-accelerated video on macOS, Intel Quick Sync, and Raspberry Pi 4. Maintains a 'timeshift buffer' for camera streaming. The plugin integrates FFmpeg for video transcoding. No source code inspection possible; claims about realtime event handling and performance optimization cannot be verified from metadata alone.

Tests

not documented in README

Maintenance

Repository shows push activity through 2026-07-09 (within 24 hours of current date). This is a strong active maintenance signal. Created in 2019, so project is 7 years old and still receiving updates. No explicit issue response time or commit frequency provided in metadata, but recency of last push is very positive. Project description references a Homebridge Discord community and webUI config, suggesting ongoing user support. Appears to be actively maintained by original author.

Honest verdict

ADOPT IF: you own UniFi Protect hardware, run Homebridge, and want HomeKit integration without additional vendor support. HKSV support and realtime event handling are strong selling points for HomeKit-centric users. The plugin is actively maintained and verified in the Homebridge ecosystem. AVOID IF: you need official vendor support, SLA guarantees, or integration outside the Homebridge/HomeKit ecosystem. Single-developer maintenance introduces sustainability risk. If you prefer the native UniFi Protect app or do not use HomeKit, this adds unnecessary complexity. MONITOR IF: you are considering HomeKit integration for Protect and want to assess whether Ubiquiti releases official support. Monitor Ubiquiti's HomeKit roadmap and whether this plugin's realtime API reverse-engineering remains compatible with future Protect OS updates.

Independent dimensions

Mainstream potential

3/10

Technical importance

7/10

Adoption evidence

5/10

Risks
  • Single-developer sustainability: project depends on one maintainer (hjdhjd). Loss of interest or availability could leave the plugin unmaintained, especially if Ubiquiti changes APIs.
  • API reverse-engineering fragility: realtime events API was reverse-engineered. Future UniFi Protect OS updates may break this functionality without warning. Plugin relies on undocumented/unsupported APIs.
  • Homebridge dependency: plugin requires Homebridge infrastructure. Changes to Homebridge or Node.js ecosystem could impact compatibility.
  • UniFi Protect hardware expansion: each new Protect device type requires explicit plugin support. Lag between hardware release and plugin update is possible.
  • HKSV performance on low-end hardware: README claims 'high performance' but hardware acceleration is limited to specific platforms. Older Homebridge deployments may struggle with realtime HKSV processing.
Prediction

Plugin will likely remain the de facto community standard for Protect-to-HomeKit integration as long as Ubiquiti does not release official HomeKit support. Growth will plateau within the niche of HomeKit+Protect users. Risk increases if Ubiquiti releases native HomeKit support or if the single maintainer steps back. Expected to remain maintained but not to achieve mainstream adoption beyond its specialized audience.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

TypeScript
98.5%
JavaScript
1%
HTML
0.5%

Information

Language
TypeScript
License
NOASSERTION
Last updated
20h ago
Created
84mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

keshavdv

keshavdv/unifi-cam-proxy

UniFi Camera Proxy enables non-Ubiquiti cameras to integrate with Ubiquiti's...

1.9k Python IoT
cameraui

cameraui/camera.ui

camera.ui is a self-hosted video surveillance platform offering live viewing,...

1.1k TypeScript IoT
homebridge

homebridge/homebridge

Homebridge is a lightweight Node.js server that emulates the HomeKit Accessory...

25.4k TypeScript IoT
homebridge

homebridge/homebridge-config-ui-x

Homebridge UI is a web-based management interface for Homebridge, an Apple...

2.8k TypeScript IoT
dgreif

dgreif/ring

An unofficial TypeScript library and Homebridge plugin that enables developers...

1.5k TypeScript IoT
vs. alternatives
Official Ubiquiti HomeKit support

Does not exist. Ubiquiti has not released native HomeKit integration for Protect, making this plugin the primary third-party bridge. This is a non-competition: the plugin fills an absence rather than outperforming an alternative.

Generic ONVIF-to-HomeKit bridges

Generic ONVIF plugins offer basic camera streaming but lack Protect-specific features (motion sensors, doorbell automations, sensor ecosystem integration, tamper detection). This plugin provides tight integration with Protect hardware capabilities.

Home Assistant UniFi integration

Home Assistant has community-developed UniFi integrations, but those are ecosystem-level rather than HomeKit-focused. This plugin specifically targets HomeKit users within the Homebridge environment.

Other Homebridge camera plugins

Generic camera plugins (e.g., homebridge-camera-ffmpeg) require manual RTSP URL configuration. This plugin auto-discovers Protect devices and handles authentication/streaming transparently.

Ubiquiti's UniFi app native viewing

The native UniFi Protect app exists but does not integrate with HomeKit automations, security scenes, or Apple ecosystem workflows. This plugin enables HomeKit-native workflows for Protect users.