It should be right here:
I do not have that checkbox:
Running version 8.2.93
I’m currently unable to login on the homeassistant integration (after trying various ways, including my own user with the password|2fa
syntax
Mine also looks like @DotNet2Web above, where are you clicking to get that dialog ?
What version Unifi OS are you running ?
I dont know what dialog you are showing…
https://[fill in your local IP adres of your udm]/admins/add-admin
Could you try above link with your own udm ip adres ?
I have the same dialog box @naps62 shows, and that URL is a 404. Note that I am running the Unifi Controller docker container, not using a hardware Unifi Controller. The URL for managing Users is /manage/default/admins/current
.
I have tried re-creating my HA user with no remote access. I guess we will see whether that will continue to work after 22 Jul.
That could be the issue, I am using an UDM SE for my controller.
I have gotten an email for the no remote access HA user account saying it will need 2FA, so yes, it seems that the software version of the Unifi Controller does not allow any kind of local user account.
yeah awesome. -,- i run into the same problem. Disabling MFA in unifi account and i was able to connect homeassistant to unifi-network-application again.
For the future it would be nice to be able to create local admins without an TOTP as in the UDM.
I am on Unifi OS 4.0.6.
I created a local admin before and had been using it without issue. In the recent HA update, it seems the authentication is broken somehow.
I can create the Unifi Network entities but when I try to switch on/off Port Forwarding rules via HA, I get authenication errors.
I am getting the failed to connect error.
I did create a local only account with super admin, the home assistant integration will not let me log in.
A bit of history, I got the dream machine non-pro just after it came out, the integration worked for me for a long time (2020 to ?) until it didn’t only recently have I gotten back to updating everything to try to get things working again.
From the note above, I need to disable MFA for the main admin user (not the one for home assistant) to get the integration to work?
This is the local user on unifi, did I miss anything?
Edit: add failure message, remove repeated statement, clarify which user needs no MFA.
Answering my own question for the next person that stumbles into the same issue I had.
I log into my local unifi console at 192.168.1.1, which I think is the default. that is the IP address I was putting into the the integration. In a comment on a youtube video a commentor mentioned that they were using the ip address listed in their Unifi Console - About tab. So I logged in to my local Unifi dashboard, went to OS Settings → About.
Then there are listings for WAN IP, and Gateway IP. I had been using Gateway IP this whole time. I tried WAN IP and it the integration worked.
No idea if it my set up, my home-assistant host is plugged into one of the ethernet ports of my dream machine SE.
Hope this helps some one else figure this out.
This is an awesome integration. I am able to add it and configure it completely. No errors at all and I can display my entity names and I can see all my UDM Pro clients, my switches and my APs. The integration lacks the ability to show WAN upload/download, total WAN data and really just about anything at the actual UDM Level. I finally gave the account I was using super admin and it just tells me that it is connecting but no data is found for any of the above items. For those of you interested, get a Hubitat. All of this information is one click away. After two years of watching just about every HA video, reading everything I could on Reddit, I feel very knowledgeable about HA. I just have not successfully ever gotten anything on HA to work beyond my 200 light switches and sensors. Automations like this are very detailed and I’m getting a great handle on how this all works. I’d just like to say that back when I used to write assembly language code, everything was much easier. It is going to take me a couple more years to figure out how this works. I am really impressed overall by the complexity of HA. I just don’t have thousands of hours to get super simple things working.
Currently there is no wan data sensor implemented in the integration
Relevant threads:
https://community.ui.com/questions/How-do-I-disable-MFA-for-UDM-when-accessing-locally/e6016d4c-7263-4b81-98c6-27c872bafbcc?page=1 (this applies to the new UI)
It seems that enabling MFA/2FA on my Ubiquiti account (which is now mandatory for new cloud accounts) has broken the integration for me. The workaround I found was to switch to the old controller UI and create a true local account.
If the old legacy UI becomes unavailable, god help you. (Settings > System > Advanced > Interface > * Legacy). You may be able to create a true local account at setup time still, but I don’t want to reset my controller to see if this is still possible.