UniFi Protect Motion
homebridge-unifi-protect-camera-motion · v0.7.6
Adds UniFi Protect cameras with AI object-detection motion sensors and trigger switches.
What it says it supports
Brands
- Ubiquiti
- UniFi
Devices it names
- UniFi Protect cameras
Shows up in Apple Home as from its README
Sensor readings in its code
What people report
Adds motion events and streaming for UniFi Protect cameras; doorbells show wrong aspect ratio and FreeBSD installs fail due to tensorflow.
- Partly works2
| Device | Status | What they said | Source |
|---|---|---|---|
| UniFi G3 Flex camera | Partly works | Homebridge crashed on start on macOS after installSaved copyGot a bit further... installed camera-ffmpeg plugin, then installed/updated ffmpeg externally and was able to get the video to stream. Reinstalled the protect-motion plugin and it still fails, but the log now shows the following: [37m[8/3/2020, 3:45:37 PM] ^[[39m^[[31mERROR LOADING PLUGIN homebridge-unifi-protect-camera-motion:^[[39m ^[[37m[8/3/2020, 3:45:37 PM] ^[[39m^[[31mError: Cannot find module 'axios'^[[39m ^[[31mRequire stack:^[[39m ^[[31m- /usr/local/lib/node_modules/homebridge-unifi-protect-camera-motion/src/unifi/unifi.js^[[39m ^[[31m- … Excerpt saved from GitHub on 2026-10-22. | Issue #65 · 2020-08 |
| UniFi G4 Doorbell | Partly works | 4:3 camera forced to 16:9, snapshots and video look stretchedSaved copyThe G4 Doorbell is 1600x1200 (4:3), it looks like snapshots are being forced to 1280x720 (16:9) regardless of device type so they appear stretched in Home.app. Excerpt saved from GitHub on 2026-10-22. | Issue #70 · 2020-08 |
Gathered from the plugin’s GitHub issues, pull requests, discussions, wiki and docs, and from r/homebridge. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Local
UniFi Protect API with local TensorFlow detection
You’ll need
- UniFi Protect
- CPU with AVX
Compatibility
| Verified by Homebridge | Yes |
|---|---|
| Homebridge versions | >=1.8.5 |
| Homebridge 2.0 | No |
| Node.js | >=20 |
| Settings in Homebridge UI | Yes |
| Matter | No |
| Platform name | UnifiProtectMotion |
| License | ISC |
Community signals
| Downloads a week | 7 |
|---|---|
| Downloads a month | 281 |
| GitHub stars | 101 |
| Open issues | 7 |
| Closed issues | 70 |
| Last code push | 2026-02-28 |
| Latest version | 0.7.6 (2024-12-19) |
| First published | 2019-10-17 |
| Releases | 105 |
In ReReHome
Whatever this plugin publishes reaches Apple Home as a normal HomeKit accessory behind your Homebridge bridge, so ReReHome shows and controls it like any other.
Bridges get their own settings page listing the accessories behind them.
Caveats from the README
- No motion zone information
- Needs AVX-capable CPU
HomeKit services in its code
Found by scanning the published npm package. A plugin can register a service only for some devices.
- Doorbell
- MotionSensor
- Switch