Trying to install the Unifi Network integration so I can use the presence detection feature but I keep getting a “Failed to connect” error when I am putting the credentials in at the beginning of the setup for the integration.
I have created a local user with view only permission for the network application, username, password and gateway address are all correct. I even added a firewall rule specifically allowing the static IP of the raspberry pi running home assistant to talk on any port to the ip of the udm-pro.
I have rebooted the udm-pro and the home assistant server multiple times and I am at a loss. Anyone have any ideas on how to get the integration to connect?
I don’t have the option to do that because the “failed to connect” error comes up when I am trying to set up the integration. Since it can’t connect it doesn’t install the integration
This may be obvious, but just checking. Did you enable 2FA on UniFi as they have been notifiying users recently. Not sure how this is going to affect this component
I’m guessing this has something to do with unifi now requiring 2FA for connection. Where is the information about the supposed fix that went in in June. Just want to make sure I’m doing everything right and there is a lot of old information out there on this.
@drford I had the same issue. As it turns out, while logged into my Dream Machine Pro locally, I checked the Console Settings and “Direct Remote Connection” was not checked. Once I checked this and hit Apply, HA was able to successfully add the integration.
Interesting, I just tried this quickly and I am still getting the Failed to Connect error. Thanks for the idea though, I will play around with when I have more time later and see if I have better luck
Same on my side. I specifically restricted the unif super admin to local only and still no luck. Message: Ubiquiti Cloud users are not Supported. Please use a Local only user.
I have updated the integration documentation with better instructions on how to create a local account (taken from the protect documentation) nothing but local accounts are supported