sonoscli

Control Sonos speakers via CLI for discovery, playback, volume, and grouping.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sonos, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to control their Sonos speakers directly from the command line, simplifying tasks like discovering devices, checking status, playing music, and managing volume and groups.

Core Features & Use Cases

  • Device Discovery: Automatically find Sonos speakers on your local network.
  • Playback Control: Play, pause, stop, and control the volume of individual speakers or groups.
  • Grouping Management: Create, join, and manage speaker groups for synchronized audio.
  • Use Case: Quickly group all your living room speakers to play a Spotify playlist, or adjust the volume in the kitchen without needing the Sonos app.

Quick Start

Discover all Sonos speakers on your network by running the command sonos discover.

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?

To control Sonos speakers from the command line, use this tool to execute commands for device discovery, status checks, playback control, volume adjustments, and speaker grouping over your local network.

Can I group Sonos speakers together using a CLI?

Yes, you can group Sonos speakers using a CLI to create, join, and manage speaker groups, enabling synchronized audio playback across multiple devices on your local network without the app.

Do I need to install any prerequisites to manage Sonos devices locally?

Yes, you need the 'sonos' binary installed and local network access to manage Sonos devices, as the commands require this dependency to communicate directly with your speakers.

How do I find Sonos speakers on my local network?

You can find Sonos speakers on your local network by running the discover command, which automatically scans your network and lists all available Sonos devices ready for control.

Does the Sonos CLI support playing music from Spotify?

Yes, the Sonos CLI supports playing music from Spotify via SMAPI, allowing you to search for tracks, manage your favorites, and control your playback queue directly from the command line.

What are the limitations of controlling Sonos devices via a local network?

The primary limitation of controlling Sonos devices via a local network is that you must have active network access to the speakers, and the required 'sonos' binary must be installed to execute commands.