ZOOM – UniFi Protect Gateway v20261123

Driver: Control4 DriverWorks Platform: UniFi OS console with UniFi Protect Minimum OS: 3.0.0

PT EN

Overview

The UniFi Protect Gateway integrates UniFi Protect with Control4. It connects to the console, discovers Protect cameras, sensors and relays and creates a driver for each one, with video, snapshot and detection events for programming.

Out of scope: two-way doorbell audio and recording control.

Prerequisites

Installation

Creating the API Key

  1. In the UniFi Protect app, go to Settings → Integrations.
  2. Click Create API Key, give it a name (for example Control4) and copy the key.

In Composer

  1. Add the ZOOM – UniFi Protect Gateway driver. It connects to UniFi Cloud by itself.
  2. Fill in IP Address and paste the key in API Token.
  3. Recommended: fill in Console Username and Console Password with a local console user and wait for Console Login Status to show Autenticado (authenticated).
  4. Run Auto Install Camera Drivers, Auto Install Sensor Drivers and Auto Install Relay Drivers, according to the Protect equipment.

Real-time events

With the console user filled in, the driver uses the same event channel as the Protect app, the most reliable one. Without it, it uses only the API Key. If events still fail, use the webhook:

  1. Copy the address in the Webhook URL property.
  2. In Protect, go to Settings → Alarm Manager and create an alarm with the desired trigger (motion, detection or doorbell) and the Send Webhook action, POST method, with that address.
  3. Trigger a detection and check Last Webhook Payload.

Properties

PropertyDescription
License StatusLicense state (trial, activated or invalid), reported by UniFi Cloud.
Driver Name / Driver VersionDriver name and installed version.
Driver InformationLast driver action or status message, with date and time.
Log Level / Log ModeLog level and destination (Composer Lua tab).
IP AddressIP of the UniFi console running Protect.
Network PortConsole HTTPS port (443, read only).
API TokenAPI Key created in Protect Settings → Integrations.
Console Username / Console PasswordLocal console user (optional, recommended).
Console Login StatusLogin state with the console user.
Connection StatusConnection state with Protect.
Protect StatusRecorder name, model and Protect version.
Last Auto-Install ResultResult of the last automatic installation.
Webhook PortController port that receives the Alarm Manager webhook and serves the camera snapshots (default 8745).
Webhook URLAddress to use in the Protect Alarm Manager.
Last Webhook PayloadLast notice received by the webhook.

Actions and commands

ItemDescription
Print Topology Summary (action)Lists in the Lua log the cameras, sensors and relays found and the driver of each.
Refresh Camera / Sensor / Relay List (action)Reads the list from Protect again, useful after adding equipment.
Auto Install Camera / Sensor / Relay Drivers (action)Creates a driver for each item that does not have one yet.
Refresh Communication (command)Reconnects to the console.

Connections

ConnectionUse
ProtectConnection to UniFi Cloud (licensing), automatic.
Cameras, sensors and relaysOne connection per item, created and connected by the automatic installation.

Events and conditionals

EventWhen it fires
Online State ChangedThe console went online or offline.

Troubleshooting

SymptomWhat to do
Cameras, sensors or relays are not createdCheck Last Auto-Install Result, run Print Topology Summary, then the list Refresh action and the automatic installation again.
Real-time events do not arriveFill in the console user, check that the API Key is still valid and that the controller can reach the console. If needed, set up the webhook (see Real-time events).
Camera or sensor model is emptyThe model is only read with the console user filled in on the Gateway.
Driver blockedCheck License Status and that there is a UniFi Cloud in the project with a Protect or Bundle license.

Licensing

OperationValid license / trialNo license
Console and equipment statusOKBlocked
Events, video and snapshotsOKBlocked
Automatic installation and relay commandsOKBlocked

Support and Updates

Release Notes

VersionDateDescription
2026112311/23/2026ZOOM name in Composer. The license state is now shown in License Status, at the top of the properties. Cleaner event log, with technical details only at Debug level. Library update and new documentation.
2026080808/08/2026Support for Protect UP Sense sensors and Smart Sense Relay.
2026073007/30/2026Initial release.