-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unifi Network Controller - Unable to log in #131143
Comments
This is probably related to the addon, and not the integration. Sorry if I have not tagged it right. |
Create another account on unifi with only local access, and use that for home assistant, that's what I had to do... |
Thanks, but I am not sure how I would go about doing that. I can login to the https://unifi.ui.com/, but I have no sites set up and I can't see any way of adding users there. This is because I have been running this addon locally I guess? It seems my account is the same on the ui.com-site and on my local installation of the network application though. Am I missing something? |
To add a local account, to fix the authentication problem for the Unifi controller integration:
Then reconfigure your integration in HA. |
The problem
I have been running Unifi Network Controller on my raspberry pi 4 for years, with no issues whatsoever. I do not need to login particularly often, but recently I am unable to login. I am not sure if my account is local or cloud. But I have only been logging in with a username(my own custom, not ubnt or root or other predefined) and password. All of a sudden it requires a one time code. I get this code in my email, but after I type it in I still get "invalid username/password".
But I am pretty sure my credentials are correct, because I can use them on ui.com. And if I do it there, the MFA part work.
Is there any way I can get back into my unifi control panel? Anything I could try? Since it is running as an addon on HAOS, I guess directly connecting to the mongodb to change credentials are out of the question?
Please let me know if I should add any logs or the like to the issue
What version of Home Assistant Core has the issue?
2024.11.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
unifi
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: