ZOOM – UniFi Protect Gateway v20261203

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.

Events screen

The ZOOM – UniFi Protect Events icon shows in Navigator the list of Protect events with the picture of each one, at home or away. To install it, run the Gateway's Auto Install Events Screen action.

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.
Alarm Manager StatusAlarm Manager state (Armed, Arming, Breach or Disarmed) and the armed profile.
Last AlarmLast alarm change (armed, disarmed or triggered), with date and time.
Send NotificationsWhat goes to the ZOOM Universal Notifier: All Events, Alerts Only (default: alarm triggered and console offline) or Off.
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.
Events Page URLAddress of the events screen in a browser (local network).
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 ViewPorts (action)Fetches the Protect ViewPorts and Liveviews again.
Refresh Communication (command)Reconnects to the console.
Set ViewPort Liveview (command)Chooses which Liveview a ViewPort shows (e.g. garage cameras when the doorbell rings). ViewPorts and Liveviews appear as lists.
Show Arm Profiles (action)Shows in the Lua log the Protect arm profiles and the current state.
Show Alarm History (action)Shows in the Lua log the last 50 alarm records. The history also appears in the Protect Events screen, under the Alarms type.
Arm Protect (command)Arms the Alarm Manager with the profile chosen from the list. Profiles are created in Protect, under Alarm Manager.
Disarm Protect (command and action)Disarms the Alarm Manager. In Global Alarm Manager mode you can choose one profile or all.
Auto Install Alarm Buttons (action)Adds one ZOOM – UniFi Protect Alarm button per profile, to arm and disarm from Navigator with the state on the icon.
Auto Install Events Screen (action)Adds the ZOOM – UniFi Protect Events icon and connects it to the Gateway.
New Events Page Key (action)Changes the key in the events screen address (the old address stops working).
Trigger Protect Alarm (command)Triggers a Protect alarm that has the Webhook trigger, using that trigger's ID.

Connections

ConnectionUse
ProtectConnection to UniFi Cloud (licensing), automatic.
Protect EventsConnection to the events screen icon, made by the Auto Install Events Screen action.
NotifierConnection to the ZOOM Universal Notifier (free), which sends the alerts by push, e-mail, WhatsApp or Telegram. Binds automatically when the Notifier is in the project.
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.
Protect Arming / Armed / DisarmedThe Alarm Manager started arming, armed or was disarmed (including from the app). Variables ARM_STATUS and ARM_PROFILE.
Protect Alarm BreachAn alarm of the armed profile was triggered.

Troubleshooting

SymptomWhat to do
Events screen asks for the console userFill in Console Username / Console Password and check Console Login Status.
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
2026120312/03/2026Events screen in Navigator, with pictures and filters by camera, type and period, and allowed cameras per icon. Alarm history and alarm-triggered alerts through the ZOOM Universal Notifier. Driver version shown in UniFi Cloud. Recognized face, license plate read, line crossing, loitering, package and sounds as camera events. PTZ cameras move to saved positions. Choose each ViewPort's Liveview and arm or disarm the Alarm Manager from programming or with Navigator buttons, one per profile. ZOOM name in Composer and license state in License Status, at the top of the properties. Cleaner event log, updated libraries and new documentation.
2026080808/08/2026Support for Protect UP Sense sensors and Smart Sense Relay.
2026073007/30/2026Initial release.