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
3
Open issues
10
Contributors
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.
Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.
AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.
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.
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).
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.
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.
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.
not documented in README
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.
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
- 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.
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.
Newsletter
Get analyses like this every Monday
Free weekly digest of the most interesting open-source discoveries.
Languages
Information
- Language
- TypeScript
- License
- NOASSERTION
- Last updated
- 20h ago
- Created
- 84mo ago
- Analyzed with
- anthropic/claude-haiku-4-5
Stars over time
Contributors over time
Top 100 contributors only — repos with more will plateau at 100.
Open issues
Open pull requests
No open pull requests.
Similar repos
keshavdv/unifi-cam-proxy
UniFi Camera Proxy enables non-Ubiquiti cameras to integrate with Ubiquiti's...
homebridge/homebridge
Homebridge is a lightweight Node.js server that emulates the HomeKit Accessory...
homebridge/homebridge-config-ui-x
Homebridge UI is a web-based management interface for Homebridge, an Apple...
| Repository | Stars | Week Δ | Language | Score | Updated |
|---|---|---|---|---|---|
|
|
1.8k | — | TypeScript | 8/10 | 20h ago |
|
|
1.9k | — | Python | 7/10 | 1w ago |
|
|
1.1k | — | TypeScript | 8/10 | 1d ago |
|
|
25.4k | — | TypeScript | 8/10 | 2d ago |
|
|
2.8k | — | TypeScript | 8/10 | 1d ago |
|
|
1.5k | — | TypeScript | 7/10 | 2w ago |
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 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 has community-developed UniFi integrations, but those are ecosystem-level rather than HomeKit-focused. This plugin specifically targets HomeKit users within the Homebridge environment.
Generic camera plugins (e.g., homebridge-camera-ffmpeg) require manual RTSP URL configuration. This plugin auto-discovers Protect devices and handles authentication/streaming transparently.
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.