Dominevo
Integrations

UniFi Network

Adding a UniFi Network controller — which credential does what, the connection test, what discovery proposes, PoE ports named after what is plugged in, and power-cycling a camera through its port.

The UniFi integration brings your network into Dominevo: the controller, every console, switch and access point, their PoE ports, and the clients on the network as presence. It covers UniFi Network. UniFi Protect cameras are not adopted by it — add those as ONVIF or RTSP cameras.

Everything is local: Dominevo talks to your controller over your own network.

Adding the controller

Under Integrations, add UniFi Network. One integration is one controller; you can add several.

FieldWhat to enter
Controller host / IPWhere the controller answers. Network discovery is not offered; enter it by hand.
HTTPS port443 on a UniFi OS console, 8443 on a self-hosted controller.
SiteThe UniFi site to read.
Accept self-signed certificateOn for a console with its factory certificate.
Poll intervalHow often the controller is read.
API keyThe console's API key. Reads the controller.
Username / PasswordA local account of the console — not a UI.com account, and without two-factor sign-in.

Either credential is enough to connect, and both are kept in the keychain. They do different things:

  • API key only — Dominevo reads everything, and a PoE port can be power-cycled, but not switched off and on.
  • Local account — needed to switch a PoE port off and on. It also gives a live stream of changes instead of polling alone.
  • Both — the API key does the reading, the account does the PoE switching.

The connection test

Saving runs a connection test: sign in, find the site, list the devices once. A credential that cannot work is refused at creation, with the reason:

ReasonMeaning
No credentialNeither an API key nor a username and password was given.
Two-factor sign-in requiredThe account has two-factor sign-in; use a local account without it, or the API key.
Bad credentialsThe key or the password was refused.
Wrong siteThe controller has no site by that name.
Controller errorThe controller answered with an error.

An integration that later cannot connect shows why on its status, and its devices go offline. The integration status also names which credential signed in.

What discovery proposes

Open Add devices on the integration. Nothing is created until you adopt it.

CandidateDevice typeNotes
The controllerGatewayLinks to the controller's web interface.
A console (UDM, UCG, UXG, Cloud Key …), switch or access pointWorkload, role hostState, uptime, CPU, memory, temperature, version
Any other UniFi deviceContainer
A network clientPresenceHome while it is connected.

All of them are siblings: a switch is not a child of the controller.

Under each adopted host, Dominevo creates:

  • a Restart button for the whole device;
  • one device per PoE-capable port (a port without PoE is not a device);
  • sensors for CPU, temperature, connected clients, state and uptime, only for the ones the model reports.

A host's state comes from the controller. A device that goes offline reads as went down, and its return as came online — the workload events Crashed and Recovered. When the controller itself cannot be read, every host's state is unknown, not stopped. A host has no start or stop.

A read that comes back incomplete — a port list or a statistic missing from one poll — never deletes a device you adopted. New ports and sensors are added as they appear.

A UniFi switch or access point has no management page of its own; it is configured from the controller. So the "open in its own interface" link of every UniFi device opens the controller, and says so.

PoE ports

Each PoE port is a switch with its power draw and its network link.

Its name follows what is plugged in. A port is named after the client on it — Front camera (port 3) — or Port 3 when there is none. When the client on the port changes, the name follows. A name you gave the port yourself is kept.

What the switch can do depends on the credential:

CredentialOn / offPower cycle
Local accountYes— (off, wait, on)
API key onlyNoYes, in one call

Restarting a camera through its port

To restart a PoE camera when it hangs, link its port as the camera's Power source in the camera's Customize tab. The camera's page then offers a restart, and automations can use it. With a local account the restart switches the port off, waits, and switches it on; with only an API key it asks the controller for a power cycle in one call, and the camera's power on and power off are not offered, because the port cannot do them. See Customize.

The link is yours to make: Dominevo does not link a port to a camera on its own.

Then

  • Workload — the host card, its events and its history.
  • Other devices — the other device integrations.