sonoscli

Control Sonos speakers via command-line interface for playback, volume, and grouping.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/hammadparveez/mrhammadclaw --skill sonoscli-hammadparveez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sonoscli
Source: https://github.com/hammadparveez/mrhammadclaw/tree/main/skills/sonoscli
Command: npx skills add https://github.com/hammadparveez/mrhammadclaw --skill sonoscli-hammadparveez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to manage and control Sonos speakers on your local network, simplifying tasks like playback, volume adjustment, and speaker grouping.

Core Features & Use Cases

  • Discover Speakers: Automatically find Sonos devices on your network.
  • Playback Control: Play, pause, and stop music on individual or grouped speakers.
  • Volume Adjustment: Set specific volume levels for speakers.
  • Grouping Management: Group and ungroup speakers for synchronized audio.
  • Queue Management: Manage the music queue, including clearing and playing specific items.

Quick Start

Use the sonoscli skill to discover all available Sonos speakers on the network.

Frequently Asked Questions about sonoscli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Sonos speakers from the command line?

You can control Sonos speakers from the command line by using a CLI tool to discover devices, manage playback, adjust volume, and group speakers on your local network.

Can I manage Sonos speaker grouping and queues via CLI?

Yes, you can manage Sonos speaker grouping and queues via CLI by executing commands to group or ungroup devices for synchronized audio and to clear or play specific queue items.

How do I troubleshoot Sonos SSDP discovery failures on a local network?

To troubleshoot Sonos SSDP discovery failures, you can resolve network connectivity issues and sandbox permission errors by following provided CLI troubleshooting steps to restore device detection.

Does the Sonos CLI support Spotify integration for playback control?

Yes, the Sonos CLI supports optional Spotify integration, allowing you to incorporate Spotify sources into your standard queue management and speaker playback control workflows.

What is the best way to automate home audio playback for Sonos devices?

Automating home audio playback for Sonos devices is best achieved through a CLI interface, enabling scripted discovery, status checks, volume adjustments, and automated grouping management.

Why does my Sonos CLI throw sandbox permission errors during speaker discovery?

Your Sonos CLI throws sandbox permission errors during speaker discovery because network restrictions block the SSDP protocol, requiring specific troubleshooting steps to resolve connectivity access.