If your Unifi device (USG, Switch, WAP, etc.) is on a remote network from your controller, you'll need to manually point that device at the controller.
1. Login to the Unifi device via SSH
ssh ubnt@172.16.34.78
2. Once logged in, use the set-inform
command to point the device at the controller. (Can use IP or hostname)
set-inform http://10.1.0.4:8080/inform