Files
scrypted/plugins/unifi-protect
Nick Berardi abd37e416d fix(unifi-protect): stop keying device identity on DHCP host/IP (#2082)
getNativeId matched cameras on host (IP) as a fallback identity key. IPs
are not stable: when DHCP recycles an address, a newly provisioned camera
resolves to an unrelated camera's nativeId. cleanDict() then overwrites the
original camera's mac/anonymousDeviceId entries, collapsing two cameras onto
one Scrypted device and dropping the other from the device list.

Match only on stable hardware identifiers (mac, anonymousDeviceId, id) and
stop maintaining the host map.
2026-08-29 15:06:49 -07:00
..
2025-06-03 20:52:51 -07:00
2021-08-24 21:22:41 -07:00
2025-11-26 08:41:44 -08:00
2022-10-30 09:46:36 -07:00
2025-11-16 11:42:27 -08:00

Unifi Protect Plugin for Scrypted

The Unifi Protect Plugin connects your Unifi Cameras to Scrypted.

Requirements

  • The Protect appliance such as a Cloud Key or Dream Machine
  • Protect user account with Local Administrator permissions. NOTE: This may be downgraded to Read Only under certain situations (see Troubleshooting)
    • Two Factor Authentication will not work.
    • A local account is recommended in case the Ubiquiti SSO service goes down.

Troubleshooting

A Scypted or Unifi Protect update or change may have occurred. For troubleshooting, ensure user account permission is Administrator in Protect application.

Administrator permissions is required in the following instances:

  • Initial Unifi device setup (i.e., if you're (re-)adding a new device)
  • Camera Status Indicator Scrypted feature is enabled
  • Dynamic Bitrate Scrypted feature is enabled