Skip to content
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

Allow for using UniFi OS based devices #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BrendanGrant
Copy link

Based on information at https://ubntwiki.com/products/software/unifi-controller/start and my own testing, there appear to be a few minor differences between the APIs between the Windows/Linux run UniFi Controller and that on a UniFi OS based device

These changes include a couple of quirks as to how login/logoff work, as well as a slightly URL to hit APIs.

This PR introduces a way to be able to select which kind of controller will be connected to and adjust calls accordingly.

This has been tested against both an empty UniFi Controller running in a Windows virtual machine, as well as my Cloud Key Gen2 Plus (the only physical UFOS device I have access to).

@narchibald
Copy link

I can confirm this works for a Dream Machine Pro. I have only really tested the ActiveClients as that's all I needed. @BrendanGrant thanks, for making this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants