being new to the HA community I have spent the last some days reading through dozens of posts on this issue, but have not found any solution so far - now I hope that I can get some help
I am obviously a rookie on HA and learn my way up.
Quick overview of my configuration;
Under 0.95.x of HA, you need to configure both the integration through the UI and also the component through the configuration files. For some reason, it fails to connect if you only have the configuration files and (for me at least) nothing shows up on the UI configured integration.
I was reading through the thread - I understand it worked for you while having an entry in the configuration.yaml and then going via the interface, right?
Well, I have an entry as well as going through the interface, but the interface already denies any connection …
2019-07-10 15:20:06 INFO (MainThread) [homeassistant.setup] Setting up unifi
2019-07-10 15:20:06 INFO (MainThread) [homeassistant.setup] Setup of domain unifi took 0.0 seconds.
I was happy when I saw that - however, I cannot access anything around unifi …
Is the user you are using for the Integration setup as Admin in the controller?
I remember reading some where that it didn’t need to be but then on another post that it did.
Also if your Unifi Site isn’t Default, you need to change that in the configuration.yaml.
There is an important question to ask: are you running the Unifi Controller 24/7?
If not, the is no actual Controller for you to connect to. The Controller is only accessible when running on your Mac.
You can make a test, installing the Controller within your Hassio installation (there is an add-on for it) and configuring it all again. Running as an add-on you’ll have 24/7 access to the Controller.
That is a very good point and you are basically right - however, it should be able to connect while running on the iMac and during all my different tries, it was running on the iMac.
It is always about searching, reading. attempting, learning and eventually finding.
I am sure everybody is going to laugh now at me but I had a weird thought considering the IP Address of the Unifi Controller When I look into the controller settings of the Unifi Controller, it shows me a controller IP address which I have used in my endless attempts, however, I am not quite sure why that IP address appears there, because the IP address to be used is logically the IP address of the computer running the UNIFI controller and NOT the IP Address shown in the configuration settings of the controller.
I am having issues getting HA to connect to Unifi. The log reports:
Log Details (ERROR)
Logger: homeassistant.components.unifi
Source: components/unifi/controller.py:434
Integration: Ubiquiti UniFi (documentation, issues)
First occurred: 6:15:42 PM (4 occurrences)
Last logged: 6:28:50 PM
Error connecting to the UniFi controller at 192.168.0.123.
My entry in my config.yaml is below. I have it logging in as a read only account and verified those creds work.
Any direction to read up on is greatly appreciated.
Just for clarity. This is running on the same Synology, but in a different container, not as an add-on.