aiomusiccast
Companion library for musiccast devices intended for the Home Assistant integration.
What it is and what it does
aiomusiccast is an async Python client library for controlling MusicCast devices over a network connection. It wraps the MusicCast protocol in an async interface built on aiohttp, making it suitable for integration into Home Assistant or other async Python applications that need to discover, monitor, or control MusicCast speakers and receivers.
The library targets Python 3.10 through 3.14 and is maintained as a companion to Home Assistant's MusicCast integration. It handles the low-level protocol details of communicating with MusicCast devices, allowing developers to focus on higher-level control logic rather than raw network calls.
Use it for:
- Add MusicCast device discovery and control to Home Assistant automations or custom integrations
- Build async Python applications that monitor or adjust settings on MusicCast speakers
- Integrate MusicCast devices into multi-room audio orchestration or smart home workflows
- Query device status and capabilities from MusicCast receivers in real-time monitoring dashboards
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides async Python bindings to control MusicCast devices over the network, designed as a companion library for Home Assistant integration.
Yes, if you are building Home Assistant integrations or async Python applications that need to control MusicCast devices. The low install friction, permissive MIT license, and lack of known vulnerabilities make it a straightforward choice. The aging maintenance status (no release in 277 days) is a minor concern for new features but not a blocker for stable device control use cases.
Install
aiomusiccast on PyPI
pip
pip install aiomusiccastuv
uv add aiomusiccastpoetry
poetry add aiomusiccastInstalling aiomusiccast
Before you install
Low install friction with a single async dependency (aiohttp). Maintenance status is aging—last commit was 2025-11-09 and no release in 277 days—but the repository remains active and not archived.
License in practice
Licensed under MIT with full permissive terms; no restrictions on commercial or private use, modification, or redistribution.
Quickstart
pip install aiomusiccast
import aiomusiccast
import aiohttp
import asyncio
async def main():
async with aiohttp.ClientSession() as session:
device = aiomusiccast.Device(session, "<device_ip>")
await device.update()
Requires Python 3.10 or later; a MusicCast device accessible on the local network; aiohttp must be installed as a runtime dependency.
Verify before relying
- Which MusicCast device models and API versions are supported by this library
- Scope and completeness of device control capabilities (commands, features implemented)
- Whether Home Assistant integration is actively maintained in parallel with this library
- Specific usage patterns and API surface beyond basic device communication
Package facts
| License | **The MIT License (MIT)** Copyright © 2021, Tom Schneider Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the… (full text in the JSON record) (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — aiohttp |
| Maintenance | aging — 277 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,448/month — #13,728 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aiomusiccast-0.15.0-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
pysqueezeboxAsynchronous Python library to control Logitech…
permissive · top 15,000 on PyPI
AlexaPyalexapy provides programmatic control of Amazon…
permissive · top 15,000 on PyPI
aiohomekitAn asyncio-based HomeKit client library for…
permissive · top 15,000 on PyPI
aiohomematicAn async Python library for controlling and…
permissive · top 15,000 on PyPI
pydeconzPython library that wraps the deCONZ REST API…
permissive · top 15,000 on PyPI
aioslimprotoAsync Python implementation of the SLIMProto…
permissive · top 15,000 on PyPI
afsapiAsynchronous Python client for controlling…
permissive · top 15,000 on PyPI
pysensiboProvides an asyncio-friendly Python API client…
permissive · top 15,000 on PyPI
pyatvAn asyncio Python library for controlling Apple…
permissive · top 15,000 on PyPI
idasen-haProvides a Home Assistant helper library for…
permissive · top 15,000 on PyPI