Art-of-WiFi / UniFi-API-browser

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

UI Cloud Controller integration #106

Closed vb-mnsnd closed 1 week ago

vb-mnsnd commented 1 year 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 1 year 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 1 year 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 1 year ago

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