UniFi Notes

1. First Time Device Setup (Adoption)

1.1. Set The Inform Host Value

  1. Log in

    1. Open browser to

      Example
      https://p-ubuntu-NAS:8446
    2. Use the Ubiquiti credentials that you would use to log in to https://account.ui.com/

    3. On the WiFi Setup screen, use Wifi Name=Metro AC

    4. Set the password to the known value

      This is the WiFi password that all your devices - particularly the LiFX devices - are expecting.
      1. Goto Settings  System  Advanced

      2. Find the Inform Host value

      3. Click the Override checkbox

      4. Supply the IP address of the server hosting this docker container

      5. Click the Apply Changes button

      6. Now restart the docker container in order for this new setting to take effect

        Don’t forget to do this!

1.2. Reset the Device

  1. The LED on the device is currently solid blue

  2. Press the reset button for two seconds

  3. LED should turn solid white followed by blinking white

1.3. Manually Adopt Device

1.3.1. Adopt in GUI

  1. In the Gui, click on the Unifi Devices icon

  2. Under the Status column, click on the Click to Adopt Link

  3. Click on the Adopt button.

1.3.2. Adopt in Device

  1. Connect to the device via ssh

    The LED must be still blinking white for this step - if not, then reset the device again.
    Connect via ssh.
    ssh ubnt@[device ip address]
    Example. When prompted, the password is ubnt
    ssh ubnt@192.168.1.26
  2. Adopt via ssh connection to device

    Exec the set-inform command.
    set-inform http://[container's host ip]:[container's host port]/inform
    Example
    U6-LR-BZ.6.2.49# set-inform http://192.168.1.10:8081/inform
    
    Adoption request sent to 'http://192.168.1.10:8081/inform'.  Use the controller to complete the adopt process.
  3. Confirm

    Execute the info command
    U6-LR-BZ.6.2.49# info
    
    Model:       U6-LR
    Version:     6.2.49.14111
    MAC Address: d0:21:f9:83:c8:3a
    IP Address:  192.168.1.26
    Hostname:    U6-LR
    Uptime:      197 seconds
    
    Status:      Connected (http://192.168.1.10:8081/inform)