Art-of-WiFi / UniFi-API-browser

Tool to browse data exposed by Ubiquiti's UniFi Controller API
MIT License
1.1k stars 150 forks source link

UI Cloud Controller integration #106

Open vb-mnsnd opened 11 months ago

vb-mnsnd commented 11 months ago

Hi there,

Can UniFi-API-browser pull data from a controller that is hosted on UI Cloud unifi.ui.com? We are about to move our controller to UI Cloud and we want to implement UniFi-API-Browser to pull usage data for us.

malle-pietje commented 11 months ago

Actually, when using a cloud-based UniFi controller, you will always have a way to connect to it directly. UI's cloud is no different, AFAIK, other than that they run the UniFi OS version of the Network Application.

You must use the public IP address or hostname that you get from the provider, not the unifi.ui.com address, because that isn't supported by our API tools.

vb-mnsnd commented 11 months ago

Then it should be the same address address as Inform URL. It looks like this https://.unifi-hosting.ui.com Would it work?

malle-pietje commented 11 months ago

Yes, that looks fine. Make sure to use port 443 in this case.