{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"},{"label":"Sound/Audio","url":"https://skillfed.io/packages/category/multimedia-sound-audio"},{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"},{"label":"Players","url":"https://skillfed.io/packages/category/multimedia-sound-audio-players"}],"enrichment":{"capability":"Async Python library for communicating with Sonos devices over WebSocket connections, enabling remote control and audio playback features like audio clips and volume management.","skillfed_tags":["home-automation","async-io","sonos"],"use_cases":["Overlay text-to-speech alerts or notifications on Sonos speakers without interrupting music playback.","Build home automation routines that trigger audio clips on Sonos devices in response to events.","Programmatically control Sonos speaker volume and playback from Python applications or services.","Create multi-room audio coordination scripts that manage playback across multiple Sonos devices.","Integrate Sonos control into IoT or smart home platforms that use async Python."],"what_it_does":"sonos-websocket is an asynchronous Python library that lets you control Sonos speakers programmatically over WebSocket connections. It wraps the Sonos WebSocket API to provide async/await-friendly methods for tasks like playing audio clips, adjusting volume, and managing playback. The library depends only on aiohttp for HTTP communication and is designed for Python 3.11+.\n\nA key feature is audio clip playback, which overlays new audio on top of currently playing music while automatically lowering the background volume and restoring it when the clip finishes\u2014useful for alerts and text-to-speech integration. The library can be used as a standalone script (passing device IP, audio URI, and volume parameters) or integrated into larger home automation or notification systems.","worth_installing":"Yes, if you need to control Sonos devices from Python and want async/await support. The library is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. Beta status and small community (6 stars) mean you may encounter edge cases or limited documentation, but the core functionality is straightforward and the dependency footprint is minimal."},"id":"sonos-websocket","links":{"html":"https://skillfed.io/packages/sonos-websocket","md":"https://skillfed.io/packages/sonos-websocket.md","pypi":"https://pypi.org/project/sonos-websocket/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-12","license_spdx":null,"license_treatment":"permissive","name":"sonos-websocket","python_support":"supports_current","summary":"An asynchronous Python library to communicate with Sonos devices over websockets."},"popularity":{"monthly_downloads":101468,"position":12932,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.0"}
