Comments (6)
I'm kind of Unifi novice, and don't have a pro but I think your are referring to the WebRTC cloud connection? I have not figured out how to get the WebRTC connection to work yet, but it's definitely on my list. Only the direct controller access via IP or host name works so far.
In the cloud UI you can toggle between cloud or direct connection though. But obviously limiting in terms of management to require a local connection.
from go-unifi.
My UDM does have a CK built in of course, I just don't run the SDK or provider through it yet.
from go-unifi.
Only trying to do the direct, local connection. Not WebRTC cloud connection. It's a varriation in how the direct controller is available on the UDMP
I've did a bit more digging and based on what I saw in this project the UDMP is running "Unifi OS." There are some references to this on ui.com, but not a whole lot. The Unifi OS wraps the controller, because that UDMP can also be running Protect, Access, etc.
As that project implemented, there is the login endpoint at /api/auth/login
and then all of the network controller APIs will be behind /proxy/network
. That's all a variation from the non-Unifi OS devices, maybe only UDMP at this point.
from go-unifi.
Also found this commit in a Go project that might be more useful than the python project.
My Go knowledge is a bit limited right now, so currently just collecting a bit of info. I recognize testing this without a device may prove difficult for you, so I might need to jump in with a fix.
from go-unifi.
Maybe I can just split the variables for login path and API path in the near term to let you override in config.
from go-unifi.
I think this is now resolved in 3d37110. I just used a similar discovery mechanism that Unifi Poller uses.
from go-unifi.
Related Issues (19)
- Supporting 6.X.X versions of Unifi Network Controller HOT 9
- /status needs proxied to /proxy/network
- Add support for traffic management
- Add support for clients
- Inconsistent `int` typing on `Network`
- Simple examples? HOT 2
- TF import network fails "json: cannot unmarshal string into Go struct field .data of type int" HOT 3
- Status broken with UDMP on latest firmware (1.8.5) HOT 8
- setAPIUrlStyle defaults to old api style HOT 3
- Panic: Malformed Version HOT 6
- Setting MGMT functions not exported HOT 1
- Add support for management via cloud keys HOT 2
- Fix /proxy detection for UDM Pro HOT 1
- Generation of setting methods should force hardcoded key HOT 1
- NotFoundError when update returns no data objects HOT 3
- Too many attributes being sent with Create and Update operations HOT 6
- Godoc annotations HOT 2
- cannot unmarshal string because lte_ext_ant and lte_poe are not boolean
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-unifi.