Code Monkey home page Code Monkey logo

Comments (6)

paultyng avatar paultyng commented on August 26, 2024

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.

paultyng avatar paultyng commented on August 26, 2024

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.

chrishas35 avatar chrishas35 commented on August 26, 2024

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.

chrishas35 avatar chrishas35 commented on August 26, 2024

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.

paultyng avatar paultyng commented on August 26, 2024

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.

paultyng avatar paultyng commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.