Skip to content
Homebridge TestFlight
Ubiquiti, UniFi

UniFi Protect Motion

homebridge-unifi-protect-camera-motion · v0.7.6

VerifiedLocal

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
DeviceStatusWhat they saidSource
UniFi G3 Flex cameraPartly worksHomebridge crashed on start on macOS after install
Saved copy
Got 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 DoorbellPartly works4:3 camera forced to 16:9, snapshots and video look stretched
Saved copy
The 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 HomebridgeYes
Homebridge versions>=1.8.5
Homebridge 2.0No
Node.js>=20
Settings in Homebridge UIYes
MatterNo
Platform nameUnifiProtectMotion
LicenseISC

Community signals

Downloads a week7
Downloads a month281
GitHub stars101
Open issues7
Closed issues70
Last code push2026-02-28
Latest version0.7.6 (2024-12-19)
First published2019-10-17
Releases105

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