Adopting UniFi devices
Your hosted controller isn’t on your local network, so devices can’t find it on their own. Tell each device where to check in once. After that, they stay connected.
Option 1: set-inform over SSH
Section titled “Option 1: set-inform over SSH”For each device:
-
Connect to the device over SSH. Factory-reset devices use the username and password
ubnt/ubnt. Adopted devices use the device SSH credentials from your old controller. -
Run, using your own controller address:
Terminal window set-inform http://acme.unifi.lvl1.host:8080/inform -
In your controller, open UniFi Devices. The device appears as Pending adoption. Click Adopt.
-
If the device stays pending, run the same
set-informcommand once more after you click Adopt.
Option 2: DHCP option 43 or DNS
Section titled “Option 2: DHCP option 43 or DNS”For many devices, set your local network to hand out the controller address:
- DHCP option 43 on your router, carrying your controller’s address, or
- a local DNS record named
unifithat points to your controller’s IP address.
New and factory-reset devices on that network then appear for adoption on their own.
After adoption
Section titled “After adoption”Your controller tells each adopted device to check in to a permanent address we manage. It keeps working even if we move your controller to a new server or IP address. Don’t change the Inform Host override in your controller’s settings. If you do, devices may lose contact.
If a device won’t adopt, check that ports 8080/tcp and 3478/udp aren’t blocked on your network. See ports your controller uses.