Skip to content

Bug: UniFi Dashboard Plugin not working with Dream Machine Pro? #2048

@hexxone

Description

@hexxone

Hey there, first of all thanks for this cool project!

I have now tried extensively to get the "UniFI" Dashboard widget working, all without success unfortunately.

  • Organizr Version: 2.1.3210
  • Organizr Branch: v2-develop
  • Install Type: Official Docker
  • UniFi OS Version: 5.0.9
  • UniFi Network Version: 10.1.68

Things I tried:

  1. having a separate User in "UniFi" with local access, username & password set
  2. genearting a API-Key
  3. Writing "default" into the Site-Name (for both 1. and 2.) as some ppl have suggested in the past..
  4. Switching to the "v2-develop" branch (doing 1. 2. and 3. again)

The error pattern is always the same.
When I go to "Test Connection", it actually succeeds and returns code "200" succesffully:

Request:

https://<redacted>/api/v2/test/unifi
POST
200 OK

Response:

{
    "response": {
        "result": "success",
        "message": "API Connection succeeded",
        "data": null
    }
}

But then, when I am on the homepage, the widget does NOT show up at all.

The only thing I can see in the network tab is this:

Request:

https://<redacted>/api/v2/homepage/unifi/data
GET
200 OK

Response:

{
    "response": {
        "result": "success",
        "message": "Unifi response error - Check Credentials",
        "data": {
            "content": {
                "unifi": []
            }
        }
    }
}

Unfortunately I dont see anything else Logged inside of the organizr docker container, or on the "System Settings Logs".

Is there perhaps some debug-logging flag or log-level I need to set for these errors to show up?

I would be glad to provide more info, thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions