Home Force Ubiquiti device adoption

Force Ubiquiti device adoption

For whatever reason (controller issue maybe), I’ve had problems with new Unifi devices automatically showing up in the devices page on my controller (which is running on a Raspberry Pi 3b).

I just bought a secondhand switch 16 port 150W PoE Unifi switch with this same issue occuring.
What did it for me was to tell the device to contact my controller directly and ask for adoption.

Like so:

  1. Factory reset the device
  2. Obtain the IP of the device
  3. SSH into the device using default credentials (username: ubnt, password: ubnt)
  4. Execute command: set-default
  5. Wait for the device to reboot
  6. SSH into the device again
  7. Execute command: set-inform http://(IP-adress of the controller):8080/inform
  8. Log out of the device

If you have the controller’s Devices page open at the same time you should see the device appear as ready for adoption immediately.

Unifi Switch

This post is licensed under CC BY 4.0 by the author.