Browse / Agent tools

Kane610/aiounifi

Asynchronous library to communicate with Unifi Controller

    Needs keys or hardware.Tested on 2026-11-30. From the README alone, on Linux with Luna.

    For maintainers

    Fix your README for agents

    Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.

    Improve the README and setup experience of Kane610/aiounifi so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
    Latest Coldpass Linux status: Needs keys or hardware (an account or key, tested 2026-11-30).
    Please:
    1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
    2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
    3. Keep install and first-use commands copy-pasteable with pinned dependencies.
    Also review the recorded check notes (possible secrets) and address any unintended dependency advisories or committed sample tokens.

    Shareable status badge

    Add a live Coldpass Linux verification badge to your README.

    Coldpass status for Kane610/aiounifi
    [![Coldpass status](https://coldpass.dev/badge/Kane610--aiounifi.svg)](https://coldpass.dev/repo/Kane610--aiounifi/)

    What we checked

    Is it safe?Review first. Found: possible secrets.Each check
    • Malware: none found in the 17 Python and npm packages installed during our run (OSV malware advisories). Its declared dependencies were not checked: OSV found no pinned versions to look up.
    • Secrets in its files: 6 possible hardcoded secrets found by gitleaks (values and locations withheld, 6 of them in test, fixture or vendored files).
    • Known vulnerabilities in its dependencies: none found by OSV in the 17 Python and npm packages installed during our run. Its declared dependencies were not checked: OSV found no pinned versions to look up.
    • Lines that download and run a program: none found in its source.
    • Planted fake secret files: repo code opened none.
    • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
    • Hosts the repo's own code contacted: none.

    From our newest run of each setup (Nov 30, 2026). A quiet run is not a safety guarantee.

    Can a small agent set it up?Not tested (Luna, an account or key)The run

    Stuck at: README CLI invocation

    What failed: Console script calls main() with no arguments; observed TypeError before API connection.

    Suggested fix: Add a no-argument CLI wrapper that parses arguments and calls the asynchronous main function.

    Test history

    • Nov 30, 2026 · 71f453f006fd · linux / Luna · needs a key or login we did not have · run JSON
    Does it do what the README says?0 of 4 claims held up. A claim is one README promise we ran and checked.Evidence

    No claim held up.

    Which checks were skipped?5 checks skipped.Reasons

    Skipped checks count as neither passes nor failures.

    • Asynchronous library to communicate with Unifi Controller: The README's documented CLI command crashes before exercising a controller request; CLI invocation produces the recorded TypeError.
    • The official Network Integration API client offers v1 info lookup and site assignment: The documented CLI crashes before calling the API; exercising the API also requires a controller and API key.
    • The v1 API has no websocket and update fetches paginated results while pruning removed records: The README's documented CLI command crashes before calling the API; the behavior requires a controller.
    • CLI command runs against a controller: Probe stopped at a missing prerequisite: TypeError: main() missing 5 required positional arguments: 'host', 'username', 'password', 'port', and 'site'
    • README CLI quickstart: command output contains a crash diagnostic: Traceback (most recent call last): File "<guest-path>", line 10, in <module> sys.exit(main()) ~~~~^^ TypeError: main() missing 5 required positional arguments: 'host', 'username', 'password', 'port', and 'site'
    Does the repo’s own CI pass?Success.GitHub checks

    GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

    Needs keys, a login or a browser?Yes.Details

    credentials

    What does it depend on?Python >=3.13, uv, aiohttp, orjson, pyotp, segno, UniFi Network controller, Network API keyDependencies

    Software the test agent reported the README needed.

    Local or hosted?Local: runs on your machineHow we tell

    From the README and the endpoint we tested.

    Is the README accurate?Yes.Deviations

    No step differed.

    What did it do when we ran it?Nothing unexpected seen during our run.What we saw

    Linux / Luna

    • Nothing unexpected in the trace for this setup.
    • While installing, git-remote-https looked up github.com.
    • While installing, http looked up _http._tcp.archive.ubuntu.com, archive.ubuntu.com, security.ubuntu.com, a name on our local network.
    • While installing, uv looked up files.pythonhosted.org, pypi.org, releases.astral.sh.
    • We found no known-malicious packages among the 17 Python and npm packages we observed (checked against OSV malicious-package advisories).

    We found no compiled programs in its files.

    What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

    What we didn't check: host names looked up by programs with their own resolver, such as Go programs; whether a connection got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

    A quiet run is not a safety guarantee.

    Is it maintained?MaintainedActivity

    actively maintained: last commit 0 days ago; 53 commits and 53 merged PRs in 90 days; 21 open issues, 4 open PRs; 20 of 26 recent threads got a maintainer reply, median first reply 21.5h; latest release 2026-11-30

    AboutStars: 90 · Forks: 83 · Contributors: 51 · Owner account since Dec 14, 2016Source

    Recorded GitHub repository and owner account metadata.

    LicenseSPDX: MIT · commercial use: yesSource

    From GitHub’s license detection. The repository’s license text gives the terms.

    Cost to runNeeds a key or login (name not captured)Details

    Peak guest RAM: 484 MiB

    Guest disk change: 490 MiB

    GPU need: not captured

    Paid service: not captured