-
Notifications
You must be signed in to change notification settings - Fork 456
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 User management library aiounifi not implemented #771
Comments
There shouldn't be anything to implement, this image just uses the standalone unifi installation inside of a docker image. I see mentions of UniFi OS though is this something that only works on UniFi OS and not the standalone install? |
yeah it appears that the docker image does not contains the aiounifi library - preventing me to use a "hotspot manager" only user when accessing it through this software. |
aiounifi is a python interface for unifi, you wouldnt put it in the docker image you use it to connect to a unifi controller, you use it externally to it, ha-unifi-voucher includes aiounifi itself and is where aiounifi would need to exist for this to work. It looks like you're getting a 400 bad request and aiounifi is intepreting that as unauthorized. I would check the contents of your /unifi/log folder to see if any of the messages there seem relevant. Try a login with a hotspot user and see if its giving an error message in access.log or server.log there's also a hotspot.log that might be relevant, i'm not sure how relevant the other log messages would be. |
You are right. The HA integration The login against the UniFi Controller API endpoint So it looked to me like the API endpoint With more logs you could understand it better. Perhaps @cinghialino will provide something. |
Hi there, the only errors in the logs are these:
and
there's nothing else in the logs. |
Operating system
doesn't matter
UniFi Tag
latesr
Docker run
irrelevant
Bug description
it appears that the library component responsible for user management aiounifi is oot implemented, as reported in this link. ufozone/ha-unifi-voucher#125 (comment)
I am wondering if it could be implemented in your already great docker image.
Thanks!
Steps to reproduce
No response
Relevant log output
The text was updated successfully, but these errors were encountered: