$npx skillfedfor your agent

aioharmony

asyncio Python library for connecting to and controlling the Logitech Harmony

Worth itPyPI Python ModulesReleased May 202677.0K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aioharmony-1.0.8-py3-none-any.whl
v1.0.8 · released 2026-05-25 · Python >=3.10 · 3 runtime deps: aiohttp, async-timeout, slixmpp

Yes. aioharmony is actively maintained, has low install friction, carries a permissive license, and fills a clear niche for Python developers needing programmatic Harmony hub control. The asyncio design integrates well with modern Python automation frameworks. No known security vulnerabilities. Install it if you own a Harmony device and need to automate or integrate it into a Python application.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Logitech Harmony device on the network accessible via IP address; WEBSOCKETS protocol requires modern firmware, XMPP is for legacy hubs.
  • Low install friction; pure Python wheel with three runtime dependencies (aiohttp, async-timeout, slixmpp).
  • Actively maintained with recent commits and support for modern Python versions (3.10–3.14).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-05-25 (81 days) · last repo commit 2026-08-10 · 27 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,025 downloads/mo, #14,559 on PyPI

Verify before relying

pip install aioharmony

import asyncio
from aioharmony.harmonyapi import HarmonyAPI

async def main():
    client = HarmonyAPI(ip_address="192.168.1.203", protocol="WEBSOCKETS")
    await client.connect()
    try:
        print(f"Connected to {client.name}")
    finally:
        await client.close()

asyncio.run(main())
  • Whether XMPP support requires slixmpp to be explicitly configured or if it is automatically available
  • Specific firmware versions supported by WEBSOCKETS vs XMPP protocols
  • Whether automatic reconnect works across network interruptions or only transient disconnects
Same gist for agents: .md · .json

What it is and what it does

aioharmony is an asyncio-native Python library for remote control of Logitech Harmony hubs. It evolved from earlier synchronous harmony libraries to provide async/await support, custom event callbacks, and automatic reconnection. The library communicates with Harmony devices over WebSockets (modern firmware) or XMPP (legacy), allowing you to query device and activity configuration, start or stop activities, send device commands, and monitor hub state changes through callbacks.

The package is built on aiohttp for HTTP/WebSocket communication and includes a command-line interface for discovery and control. It handles the Harmony protocol details internally, exposing a straightforward API: connect to a hub by IP, look up activity or device IDs by name, then call methods like start_activity() or send_commands() with those IDs. Event callbacks let you react to activity changes, connection state, and configuration updates without polling.

Use it for

  • Automate home theater activities (e.g., start 'Watch TV' activity when motion is detected)
  • Send device commands programmatically (volume, channel changes) from a home automation system
  • Monitor current activity and trigger downstream actions when the hub switches activities
  • Build a custom control interface or dashboard that queries hub configuration and sends commands
  • Integrate Harmony hub control into a larger asyncio-based home automation application

Worth the install?

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

Worth it

Yes.

aioharmony is actively maintained, has low install friction, carries a permissive license, and fills a clear niche for Python developers needing programmatic Harmony hub control. The asyncio design integrates well with modern Python automation frameworks. No known security vulnerabilities. Install it if you own a Harmony device and need to automate or integrate it into a Python application.

Install

aioharmony on PyPI

Before you install

Low install friction; pure Python wheel with three runtime dependencies (aiohttp, async-timeout, slixmpp). Actively maintained with recent commits and support for modern Python versions (3.10–3.14).

Requires a Logitech Harmony device on the network accessible via IP address; WEBSOCKETS protocol requires modern firmware, XMPP is for legacy hubs.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install aioharmony

import asyncio
from aioharmony.harmonyapi import HarmonyAPI

async def main():
    client = HarmonyAPI(ip_address="192.168.1.203", protocol="WEBSOCKETS")
    await client.connect()
    try:
        print(f"Connected to {client.name}")
    finally:
        await client.close()

asyncio.run(main())

Verify before relying

  • Whether XMPP support requires slixmpp to be explicitly configured or if it is automatically available
  • Specific firmware versions supported by WEBSOCKETS vs XMPP protocols
  • Whether automatic reconnect works across network interruptions or only transient disconnects

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
aiohttpasync-timeoutslixmpp
MaintenanceActively maintained 81 days since the last release
Last repo commit
First released
Downloads77,025 / month, #14,559 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Home AutomationTopic :: Software Development :: Libraries :: Python Modules

Evidence: aioharmony-1.0.8-py3-none-any.whl

Tags

Capabilities
logitech harmony control libraryasyncio harmony hub automationharmony device remote controlhome automation harmony integrationharmony activity managementharmony hub python apilogitech harmony websockets
Topics
home-automationasyncioiot-control

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 › “logitech harmony control library”

  • aioharmonyaioharmony is an asyncio library for programmatically controlling…
  • aioslimprotoAsync Python implementation of the SLIMProto protocol for controlling…
  • pysqueezeboxAsynchronous Python library to control Logitech Media Server and its…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also aiopulse · aioslimproto · factorio-rcon-py · ha-garmin · tuya-device-sharing-sdk · gehomesdk · aioqsw · aiowebostv · fjaraskupan · aioairzone-cloud