Unifi AP -- noob question

Add the UniFi Network integration - it should ask for the IP address and the credentials to connect to the UniFi network controller.

Also, if you are running HAOS on the blue UniFi has a controller addon - you could move that function to the Blue.

Thank you for teh note @NathanCu . I just tried that and below is the result… it could not connect (I did enter the user, pw) …

I will look for the addon you mention, that may be best way; Thanks !

and this is the controller runnin gon my pc

image

Make sure of you’re running the network controller on a windows box you have allowed access through the windows firewall to connect to it remotely (from memory I believe it wants tcp 443 inbound to the windows box but please review docs before opening any port.) from the IP address of your HA box. Or you may not be able to connect. (and yeah I figured once you knew it was available as an addon it would be your preferred option to running on the windows machine…)

…OK, so I got the add-on installed, and started. However when I actually open the web-ui and log in all OK, but the application has a “server IP” that is not right for my HASS server (see pics below). This seems new for the version 8, as it is not on the version 7.5 I am running on my PC. And so it does not find my APs. I’ve searched all, and I do nto see where I can change the IP address to that of my server 192.168.1.60… it’s always something… LOL

…maybe I can load a backup from my PC ?

That’s the IP address of the docker interface for the addon. It’s correct. If I remember correctly you change it to the IP of your HA box.

Full instructions are here. And if you need help they’re best asked in this thread.

https://community.home-assistant.io/t/home-assistant-community-add-on-unifi-controller

OK, how do I get my SSID and APs info into it if it cannot find them ?

1 Like

See the edit I just posted. Read the docs.

@NathanCu OK, will do, THANKS !!

40 minuters later…
There is no option to change the “Server IP”, I’ve looked everywhere in both the HASS add-on and my PC instance. I looked into the migrating/exporting the site, but did not seem like an option. I believe the instructions in the link must be old/obsolete.

However I did succeed in loading a back-up from my PC instance into the HASS add-on, and that worked, all the APs and SSID information and settings uploaded fine and it is working fine. The Server IP remained the 172.30.33.6, yet my network is 192.168.1.0, and that is where the APs,and the rest of my IoT devices are.

However, while this is a good thing (I think) to have running in my little HASS-Blue, it did not solve my initial quest, of having an entity I could use to track whether my iPhone was present in my wi_fi, and therefore at home, or not. The only entity that the HASS add-on provided was one to update to the newer version.

So am backtracking and thinking that using the “Unifi AP” integration that I started with at the top of the post may be the simple way to go, hopefully I can get it to work.

Again THANK YOU ALL for the help ! It is definitely appreciated by this old but keen “noob” LOL!

Since you have the Server running, install the Unifi Network integration and connect it to you server. It will give you all the different devices as devicetrackers.

1 Like

@AlmostSerious …ahh, now I see. I though the add-on and the integration were the same thing, but implemented differently. Thanks for that !!!

1 Like