$npx skillfedfor your agent

aiounifi

Python library for communicating with UniFi Network Controller API

Worth itPyPI Home AutomationReleased Jul 2026115.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiounifi-92-py3-none-any.whl
v92 · released 2026-07-06 · Python >=3.13.0 · 4 runtime deps: aiohttp, orjson, pyotp, segno

Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. It is well-suited for anyone building Python applications that need to communicate with UniFi controllers. The requirement for Python 3.13.0 or later is a constraint to verify against your environment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.13.0 or later; aiohttp, orjson, pyotp, and segno must be installed.
  • Low install friction with a pure-Python wheel distribution.
  • Active maintenance with a recent release 39 days ago and ongoing commits; the project is not archived and has modest community engagement at 89 stars.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you retain the license notice.

last release 2026-07-06 (39 days) · last repo commit 2026-08-14 · 89 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 115,666 downloads/mo, #12,239 on PyPI

Verify before relying

pip install aiounifi
import aiounifi
# Requires aiohttp, orjson, pyotp, segno as runtime dependencies
await aiounifi.Controller(host, username, password).login()
  • Whether the library supports all current UniFi Controller versions or has known compatibility gaps.
  • Whether aiohttp, orjson, pyotp, and segno are all required at runtime or if some are optional.
  • Performance characteristics and typical response times for common operations.
Same gist for agents: .md · .json

What it is and what it does

aiounifi is an asynchronous Python client for the UniFi Network Controller API. It wraps HTTP communication with the controller using aiohttp, allowing non-blocking queries and updates to UniFi network devices and settings. The library is designed for integration into home automation systems and other applications that need to monitor or control UniFi networks without blocking the event loop.

The package depends on aiohttp for async HTTP transport, orjson for fast JSON parsing, pyotp for OTP-based authentication support, and segno for QR code generation. It targets Python 3.13 and later, reflecting a focus on modern async patterns. The library is actively maintained and classified as production-stable, making it suitable for production deployments in home automation contexts.

Use it for

  • Integrate UniFi network monitoring into home automation platforms.
  • Build custom dashboards or management tools that query UniFi controller state asynchronously.
  • Automate network device management tasks via Python scripts without blocking.
  • Monitor UniFi network metrics and device status in real-time.
  • Develop applications that interact with UniFi networks for device discovery or control.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. It is well-suited for anyone building Python applications that need to communicate with UniFi controllers. The requirement for Python 3.13.0 or later is a constraint to verify against your environment.

Install

aiounifi on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 39 days ago and ongoing commits; the project is not archived and has modest community engagement at 89 stars.

Requires Python 3.13.0 or later; aiohttp, orjson, pyotp, and segno must be installed.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you retain the license notice.

Quickstart

pip install aiounifi
import aiounifi
# Requires aiohttp, orjson, pyotp, segno as runtime dependencies
await aiounifi.Controller(host, username, password).login()

Verify before relying

  • Whether the library supports all current UniFi Controller versions or has known compatibility gaps.
  • Whether aiohttp, orjson, pyotp, and segno are all required at runtime or if some are optional.
  • Performance characteristics and typical response times for common operations.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.13.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
aiohttporjsonpyotpsegno
MaintenanceActively maintained 39 days since the last release
Last repo commit
First released
Downloads115,666 / month, #12,239 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.13Topic :: Home Automation

Evidence: aiounifi-92-py3-none-any.whl

Tags

Capabilities
unifi controller api clientasync unifi network communicationhomeassistant unifi integrationunifi device managementunifi controller python libraryasynchronous network controllerunifi api async
Topics
home-automationasync-httpnetwork-management
PyPI keywords
unifihomeassistant

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “unifi controller api client”

  • aiounifiAsynchronous Python library for communicating with UniFi Network…
  • py-unifi-accessAsync Python client for UniFi Access local API with WebSocket event…
  • uiprotectProvides an async Python API and CLI for interacting with UniFi…

Give your agent the search over MCP, or paste the wish link into any chat.

More Home Automation packages

netaddr Worth it
PyPI · Software Development · released May 2024

Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.

BSD-3-Clausepure Python · 3.7+dormant
14.0Mdownloads / mo
homeassistant Worth it
PyPI · Home Automation · released Aug 2026

Home Assistant is an open-source home automation platform that centralizes control of smart home devices and automations on a local server or Raspberry Pi, prioritizing local control and privacy over cloud dependency.

Apache-2.0pure Python · 3.14.2+
2.1Mdownloads / mo
python-statemachine Worth it
PyPI · Libraries · released Aug 2026

Defines finite state machines and statecharts with a declarative Python API, supporting flat states, compound hierarchies, parallel regions, history states, guards, and both sync and async callbacks.

Install it if you need to model workflows, control logic, or any system with discrete states and event-driven transitions — from simple state machines to complex…

MITpure Python · 3.10+
1.3Mdownloads / mo
btsocket With conditions
PyPI · Home Automation · released Jun 2024

A Python library for controlling BlueZ Bluetooth adapters on Linux via the Management API, supporting both synchronous and event-driven command patterns.

MITpure Pythonaging
625.5Kdownloads / mo
aiohomematic Worth it
PyPI · Python Modules · released Aug 2026

An async Python library for controlling and monitoring Homematic and HomematicIP devices through multiple backend systems (CCU3, OpenCCU, Homegear, CUxD, CCU-Jack) using XML-RPC and JSON-RPC protocols.

Install it if you need to control Homematic devices from Python; the only constraint is a requirement for Python 3.14 or later and network access to a compatible…

MITpure Python · 3.14+
621.2Kdownloads / mo
hass-web-proxy-lib With conditions
PyPI · Home Automation · released May 2026

Provides base classes and utilities for Home Assistant integrations to proxy HTTP and WebSocket traffic through Home Assistant's web server.

Install only if you are building a custom Home Assistant integration; it is not useful as a standalone package.

MITpure Python
606.7Kdownloads / mo

See also aiohue · aioautomower · uiprotect · py-unifi-access · aiohasupervisor · unifi-discovery · zwave-js-server-python · python-homewizard-energy · python-openevse-http · pyisy