The UniFi Network Gateway integrates UniFi Network with Control4. It connects to the UniFi console with a local administrator, discovers the site's switches, access points and gateways and creates a UniFi Network Device driver for each one.
Automatic discovery and installation of switches, access points and gateways.
Turn LAN and PoE ports on and off, power-cycle PoE and restart devices.
Enable or pause networks (VLANs) and Wi-Fi (SSIDs) with the UniFi Network Control button.
Device connected and disconnected events.
Console name, model and version and number of connected clients.
Support for consoles with multiple sites.
Prerequisites
UniFi OS console running UniFi Network (UDM, UDM Pro/SE, UCG, Cloud Key etc.), with a fixed or reserved IP.
A local administrator on the console with Network permission (see Installation).
ZOOM – UniFi Cloud driver in the project (licensing) and the UniFi Network Device and UniFi Network Control drivers in the Documents\Control4\Drivers folder.
Internet access on the controller to activate the license.
Installation
Creating the local administrator
On the UniFi OS console, with Owner/Super Admin rights, go to Admins & Users and create a user.
Check Admin and Restrict to Local Access Only and set a username and password.
Uncheck Use a Predefined Role and give Network the Site Admin or Full Management permission. Leave the other apps as None.
In Composer
Add the ZOOM – UniFi Network Gateway driver. It connects to UniFi Cloud by itself.
Fill in IP Address, Username and Password. On consoles with several sites, enter the Site Id.
Wait for Console Login Status to show Autenticado (authenticated).
Run the Auto Install Network Device Drivers action to create one driver per device.
To control a port, a network or a Wi-Fi, add a UniFi Network Control and connect it, in the Connections tab, to the device port or to this Gateway's network/Wi-Fi.
Caution: turning off the wrong port or network can take down the Control4 controller itself or other important equipment. Test first on an isolated port or network. UniFi can take up to 45 seconds to apply each change.
Properties
Property
Description
License Status
License state (trial, activated or invalid), reported by UniFi Cloud.
Driver Name / Driver Version
Driver name and installed version.
Driver Information
Last driver action or status message, with date and time.
Log Level / Log Mode
Log level and destination (Composer Lua tab).
IP Address
IP of the UniFi console running Network.
Network Port
Console HTTPS port (default 443).
Username / Password
Console local administrator.
Site Id
Only for consoles with several sites (default default).
Console Login Status
Console login state.
Connection Status
Connection state with Network.
Network Status
Console name, model and Network version.
Connected Clients
Number of clients connected to the network.
Last Auto-Install Result
Result of the last automatic device installation.
Polling Timer (Seconds)
Status refresh interval (default 60). With 0 the automatic refresh stops, but commands keep working.
Actions and commands
Item
Description
Refresh Device List (action)
Reads the device list from the console again.
Auto Install Network Device Drivers (action)
Creates a UniFi Network Device driver for each device that does not have one yet.
Refresh Communication (command)
Logs in to the console again.
Port commands (restart, LAN, PoE) are on each device's driver, so there is no confusion between devices of the same model.
Connections
Connection
Use
Network
Connection to UniFi Cloud (licensing), automatic.
DEVICE: <name>
One per switch, access point or gateway. Connected by itself to the UniFi Network Device driver.
NETWORK: <name>
One per site network (VLAN). Connect a UniFi Network Control to enable or pause the network.
WIFI: <name>
One per site Wi-Fi (SSID). Connect a UniFi Network Control to enable or pause the Wi-Fi.
Events and conditionals
Event
When it fires
Online State Changed
The console went online or offline.
Troubleshooting
Symptom
What to do
Devices are not created
Check Last Auto-Install Result and Console Login Status. Use a local administrator (not a cloud account) with Network permission. Run Refresh Device List and then Auto Install Network Device Drivers.
Port, network or Wi-Fi command has no effect
Check that Console Login Status shows Autenticado and wait up to 45 seconds. When turning a LAN port back on in a switch with per-port VLANs, check the port VLAN in UniFi.
Login refused
Check username and password and whether the account has 2FA (use a local account without 2FA). Run Refresh Communication.
Driver blocked
Check License Status and that there is a UniFi Cloud in the project with a Network or Bundle license.
Licensing
The license is validated by the ZOOM – UniFi Cloud driver (one instance per project), connected to this driver automatically. Network and Bundle (all UniFi drivers) licenses are accepted.
There is a 30-day trial. The key is entered in UniFi Cloud, under License Key.
The license state is shown in License Status, at the top of this driver's properties.
The controller needs internet access to activate the license.
ZOOM 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.